[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hard dependency on Git? (was bug#65866: [PATCH 0/8] Add built-in bui
From: |
Ludovic Courtès |
Subject: |
Re: hard dependency on Git? (was bug#65866: [PATCH 0/8] Add built-in builder for Git checkouts) |
Date: |
Thu, 14 Sep 2023 18:51:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hi!
Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
> So given there's no technical reasons not to use libgit2, I'd use that
> and keep the closure size down.
For the record, that’s a 6% increase:
--8<---------------cut here---------------start------------->8---
$ guix size guix | tail -1
total: 633.0 MiB
$ guix size guix git-minimal | tail -1
total: 675.7 MiB
--8<---------------cut here---------------end--------------->8---
(Of course it all adds up; I’m not saying we can dismiss it.)
In the context of <https://issues.guix.gnu.org/65866> plus the lack of
GC in libgit2 discussed in <https://issues.guix.gnu.org/65720>, my
inclination is to include that hard dependency on Git.
That’s not a happy choice for me, but it has the advantage of solving
two immediate problems.
I would revisit it as soon as libgit2 supports shallow clones (which is
coming, as you write) and GC (or a workaround to that effect). SHA256
may also soon be a requirement: we’ll need to be able to clone repos
that use it.
How does that sound?
Ludo’.
- comparing commit-relation using Scheme+libgit2 vs shellout plumbing Git, (continued)
Re: hard dependency on Git? (was bug#65866: [PATCH 0/8] Add built-in builder for Git checkouts), Simon Tournier, 2023/09/11
Re: hard dependency on Git? (was bug#65866: [PATCH 0/8] Add built-in builder for Git checkouts), Maxim Cournoyer, 2023/09/11
Re: hard dependency on Git? (was bug#65866: [PATCH 0/8] Add built-in builder for Git checkouts),
Ludovic Courtès <=
- Re: hard dependency on Git? (was bug#65866: [PATCH 0/8] Add built-in builder for Git checkouts), Simon Tournier, 2023/09/14
- Re: hard dependency on Git? (was bug#65866: [PATCH 0/8] Add built-in builder for Git checkouts), Maxim Cournoyer, 2023/09/16
- Re: hard dependency on Git? (was bug#65866: [PATCH 0/8] Add built-in builder for Git checkouts), Ludovic Courtès, 2023/09/18
- Re: hard dependency on Git? (was bug#65866: [PATCH 0/8] Add built-in builder for Git checkouts), Simon Tournier, 2023/09/18
- Re: bug#65866: [PATCH 0/8] Add built-in builder for Git checkouts, Ludovic Courtès, 2023/09/19
- Re: bug#65866: [PATCH 0/8] Add built-in builder for Git checkouts, Simon Tournier, 2023/09/19
Re: hard dependency on Git? (was bug#65866: [PATCH 0/8] Add built-in builder for Git checkouts), Vagrant Cascadian, 2023/09/11