[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60358] [PATCH] gnu: Add gnulib.
From: |
Vivien Kraus |
Subject: |
[bug#60358] [PATCH] gnu: Add gnulib. |
Date: |
Wed, 28 Dec 2022 02:57:40 +0100 |
User-agent: |
Evolution 3.46.0 |
Hello!
Le mardi 27 décembre 2022 à 19:44 +0100, Simon Josefsson a écrit :
> Hi. Many packages needs a specific checkout of gnulib to work
> reliably,
> via --gnulib-refdir= (rather than --gnulib-srcdir=), would you
> consider
> installing the entire gnulib git archive instead of just the latest
> checkout?
I did not know about gnulib-refdir. Providing the entire gnulib archive
is tempting, but there might be downsides. The contents of the .git
directory depends on how trees and objects have been packed by git. As
far as I understand, it is possible that pushing a commit in gnulib
results in commit objects from previous commits to be re-packed. Thus,
if I clone gnulib from the initial commit to a specific commit, the
result might depend on other, unrelated commits. So, the content of
.git is not reproducible.
Maybe I could get around that by deleting all the refs, doing an
aggressive garbage collection and then re-packing, but I’m not sure I
would get a reproducible result.
Now, I don’t know much about gnulib-refdir. How does gnulib-refdir
work? Do you have an example of a package that uses this feature? Can I
convince the package to use a checkout instead of the gnulib
repository, if I swear I have the exact checkout it wants, maybe by
tweaking bootstrap.conf or something?
Vivien
- [bug#60358] [PATCH] gnu: Add gnulib., Vivien Kraus, 2022/12/27
- [bug#60358] [PATCH] gnu: Add gnulib., Liliana Marie Prikler, 2022/12/27
- [bug#60358] [PATCH v2 2/2] gnu: guile-gnutls: Update to 3.7.11., Vivien Kraus, 2022/12/27
- [bug#60358] [PATCH v2 2/2] gnu: guile-gnutls: Update to 3.7.11., Vivien Kraus, 2022/12/27
- [bug#60358] [PATCH v2 2/2] gnu: guile-gnutls: Update to 3.7.11., Simon Josefsson, 2022/12/29
- [bug#60358] [PATCH v3 1/2] gnu: Add gnulib., Vivien Kraus, 2022/12/29
- [bug#60358] [PATCH v3 1/2] gnu: Add gnulib., Liliana Marie Prikler, 2022/12/29
- [bug#60358] [PATCH v3 1/2] gnu: Add gnulib., Vivien Kraus, 2022/12/30
- [bug#60358] [PATCH v3 1/2] gnu: Add gnulib., Liliana Marie Prikler, 2022/12/30