sön 2024-12-29 klockan 21:18 +1100 skrev fosslinux:
Could live-bootstrap start to use git cloning? Maybe we can win
this
particular example, but I suspect the question will come back
again.
Without going into our technical structure - yes and no. However, we
are actively moving away from dynamically generated
tarballs (to making them ourselves from Git clones), not just for
gnulib, but for everything where we consume a Git
snapshot. We can get past this issue ourselves. However, at this
point gnulib effectively has a dependency on git to use
-- depends on how you feel about that how problematic that is.
I'm not really sure I understand everything here -- but my idea is to
publish a gnulib snapshot on ftp.gnu.org eventually with a 'git
bundle'. It will contain all previous git commits of the gnulib
repository. No need for thousands and thousands of different gnulib
'git archive' tarballs. Your workflow could be:
wget https://ftp.gnu.org/gnu/gnulib/gnulib-20250115.bundle
git clone gnulib-20250115.bundle gnulib
cd gnulib
git checkout 2d1c0b2f38c81d1c8eca2f06b39264f5029b97fe
or whatever. It can be used as a --gnulib-refdir or --gnulib-srcdir
depending on your build flow.
My plan is to include this bundle into the Debian gnulib package too,
so eventually this is just:
apt-get install gnulib
git clone /usr/share/gnulib/gnulib.bundle gnulib
cd gnulib
git checkout ...
Is this relevant to what you are doing?