On 2023-09-12 08:56:15 -0400, Maxim Cournoyer wrote: > Hi, > > Josselin Poiret writes: > > > Hi, > > > > Maxim Cournoyer writes: > > > >> That's no longer true, as of libgit2 v1.7.0 [0]. I already have it > >> packaged in a branch, but I need to iron out dependent breakages. > >> > >> [0] https://github.com/libgit2/libgit2/releases/tag/v1.7.0 > >> > >> So given there's no technical reasons not to use libgit2, I'd use that > >> and keep the closure size down. > > > > There's still the `git gc` problem though. > > It's klunky, but a workaround is to locally clone the checkout anew using > libgit2, as suggested here [0]. While the comment does suggest a workaround, I would recommend to read the comment right below it before using it. I am not sure if Guix would be affected by those mentioned concurrency issues, but sounds like something that needs to be understood in detail. > We could also try to contribute to libgit2 toward adding proper support for a > 'gc' action. > > [0] https://github.com/libgit2/libgit2/issues/3247#issuecomment-486585944 > > -- > Thanks, > Maxim > -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors.