GNU bug report logs -
#65720
Guile-Git-managed checkouts grow way too much
Previous Next
Reported by: Ludovic Courtès <ludo <at> gnu.org>
Date: Sun, 3 Sep 2023 20:45:02 UTC
Severity: important
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #37 received at 65720 <at> debbugs.gnu.org (full text, mbox):
Hello!
Josselin Poiret <dev <at> jpoiret.xyz> skribis:
> Right, although I wouldn't necessarily say that the former doesn't have
> a proper API, but rather that it has a Unix-oriented API. That leads to
> performance issues on e.g. Windows but on Linux I'm not sure there's
> much of a difference.
[...]
> We could consider replacing the guile-git dependency with another
> library built directly on top of git-minimal, and have this be a
> dependency of Guix. Not ideal though, and not really scalable either:
> we can't just add every VCS as direct dependencies.
I cannot imagine a viable implementation of things like ‘commit-closure’
and ‘commit-relation’ from (guix git) done by shelling out to ‘git’.
I’m quite confident this would be slow and brittle.
It looks like there’s no option other than carrying the two
implementations.
~~~
Years ago, Andy Wingo sketched a plan for GNU hackers to implement Git
in pure Scheme. That was on April 1st though, so people mistakenly
assumed it was a joke and the project was never carried out.
I digress, but I wonder: is there not even a viable Haskell or OCaml
implementation of Git?
Thanks,
Ludo’.
This bug report was last modified 1 year and 178 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.