From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 27 20:57:51 2022 Received: (at 60358) by debbugs.gnu.org; 28 Dec 2022 01:57:51 +0000 Received: from localhost ([127.0.0.1]:56842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pALhX-0006fB-C0 for submit@debbugs.gnu.org; Tue, 27 Dec 2022 20:57:51 -0500 Received: from planete-kraus.eu ([89.234.140.182]:38142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pALhU-0006f1-RZ for 60358@debbugs.gnu.org; Tue, 27 Dec 2022 20:57:50 -0500 Received: from planete-kraus.eu (localhost.lan [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 7cc66535; Wed, 28 Dec 2022 01:57:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:subject:from:to:cc:date:in-reply-to:references :content-type:content-transfer-encoding:mime-version; s=dkim; bh=K7FrK6k7Tjth8fjOhcE8C1Dn7GE=; b=w7R5Ql6nQCdInwEqFRWsOAMqc1vp 219+JPWOEhS8P6x47PuKYq/GBRuFYHDw7oJyEvLkTpeyUDhD+Qf5j82yki+5miQ/ 9HuxSEIRtZNGaceucaUN+Rf4naix2xB8Zk8G71nkrQVhkFi7SKnCikecC964k+IP tMvO+rfrgHbl93c= Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 1f57f818 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Wed, 28 Dec 2022 01:57:42 +0000 (UTC) Message-ID: Subject: Re: [bug#60358] [PATCH] gnu: Add gnulib. From: Vivien Kraus To: Simon Josefsson , Vivien Kraus via Guix-patches via Date: Wed, 28 Dec 2022 02:57:40 +0100 In-Reply-To: <87h6xgzny7.fsf@josefsson.org> References: <87h6xgzny7.fsf@josefsson.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.0 MIME-Version: 1.0 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 60358 Cc: 60358@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello! Le mardi 27 d=C3=A9cembre 2022 =C3=A0 19:44 +0100, Simon Josefsson a =C3=A9= crit=C2=A0: > Hi.=C2=A0 Many packages needs a specific checkout of gnulib to work > reliably, > via --gnulib-refdir=3D (rather than --gnulib-srcdir=3D), would you > consider > installing the entire gnulib git archive instead of just the latest > checkout?=C2=A0=20 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=E2=80=99m not sure= I would get a reproducible result. Now, I don=E2=80=99t 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