From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 19 02:43:02 2022 Received: (at 57910) by debbugs.gnu.org; 19 Sep 2022 06:43:02 +0000 Received: from localhost ([127.0.0.1]:51995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaAUf-0003MD-QS for submit@debbugs.gnu.org; Mon, 19 Sep 2022 02:43:02 -0400 Received: from w4.tutanota.de ([81.3.6.165]:37672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaA0o-0002VE-PE; Mon, 19 Sep 2022 02:12:11 -0400 Received: from w3.tutanota.de (unknown [192.168.1.164]) by w4.tutanota.de (Postfix) with ESMTP id B348D1060160; Mon, 19 Sep 2022 06:12:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1663567924; s=s1; d=tutanota.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=9zo824kNpzINoIAAPEftA6YTR9dqugerbj/5AtJO6sQ=; b=22IrqNZVtDS0AV75M3OkFZo0x2L29AqAvVECXdAfFPNTibmlpmoOQQ898d4sFmTO 434j0v0b8dpj7+OzKYbIeXANJLXykaGhfOoSe9e/D30rFJEOv+f9WlAkPlq+qgEHjFu qVqo/Q+LiJ6/xywUW1zZL3+stWE4iaUEgPAa6pmG4ySgQR+pcttvWKhjMM/RiNvushi sjCjpdmY1jc5oB2dSSWyI5c+lxoTJN9P0To8XKooYiPsY+5BfUQ9WSF4s7V5uo5oJs+ FjeANz5cmpcpa3DnEnRWpsaPGXN5oWVNRRPp0EDKL8pTxYrtRrfRGAFxOFBjHRFZzt0 iWiqMH5GQg== Date: Mon, 19 Sep 2022 08:12:04 +0200 (CEST) From: Emma Turner To: Maxime Devos Message-ID: In-Reply-To: <975274c2-e4da-e310-8a88-731e7c429828@telenet.be> References: <966568a4-17f7-c0f0-25a4-6f6e2928b0e7@telenet.be> <975274c2-e4da-e310-8a88-731e7c429828@telenet.be> Subject: Re: [bug#57909] Add link to 'pre-inst-env' from 'installing from git' docs MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_134779_810090373.1663567924724" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 57910 X-Mailman-Approved-At: Mon, 19 Sep 2022 02:42:46 -0400 Cc: 57910@debbugs.gnu.org, 57909@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 (-) ------=_Part_134779_810090373.1663567924724 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Maxime, Thanks for your replies.=C2=A0 I hadn't thought about the issue with make a= uthenticate, but makes complete sense!=C2=A0 Thanks for explaining. I've attached an updated patch, which I think does what you asked for (repl= acing make authenticate with guix git authenticate. Many thanks, Emma Sep 18, 2022, 19:53 by maximedevos@telenet.be: > > > On 18-09-2022 19:26, Maxime Devos wrote: > >> [...] >> >> As such, I propose that: >> >> =C2=A0 * you adjust the patch to note that authenticating the checkout = is >> =C2=A0=C2=A0=C2=A0 impossible if you don't already have Guix installed = (instead of >> =C2=A0=C2=A0=C2=A0 recommending the insecure "make authenticate") >> >> =C2=A0 * I write a patch removing "make authenticate" and adjusting old= uses >> =C2=A0=C2=A0=C2=A0 of "make authenticate" to "guix git authenticate ...= ". >> > > > I have attached a patch for the latter. > > Greetings, > Maxime. > ------=_Part_134779_810090373.1663567924724 Content-Type: text/x-patch; charset=us-ascii; name=0001-doc-contrib-recommend-guix-git-authenticate.patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-doc-contrib-recommend-guix-git-authenticate.patch From f30716273f949d5883b7ced5c65ed5d48697479e Mon Sep 17 00:00:00 2001 From: Emma Turner Date: Mon, 19 Sep 2022 06:59:25 +0100 Subject: [PATCH] doc: contrib: recommend guix git authenticate * doc/contributing.texi (Building from git): recommend use of guix git authenticate on every git pull --- doc/contributing.texi | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/doc/contributing.texi b/doc/contributing.texi index 17a54f94cc..4fbef71fe7 100644 --- a/doc/contributing.texi +++ b/doc/contributing.texi @@ -152,29 +152,12 @@ If anything fails, take a look at installation instructions (@pxref{Installation}) or send a message to the @email{guix-devel@@gnu.org, mailing list}. -From there on, you can authenticate all the commits included in your -checkout by running: - -@example -make authenticate -@end example - -The first run takes a couple of minutes, but subsequent runs are faster. - -Or, when your configuration for your local Git repository doesn't match -the default one, you can provide the reference for the @code{keyring} -branch through the variable @code{GUIX_GIT_KEYRING}. The following -example assumes that you have a Git remote called @samp{myremote} -pointing to the official repository: - -@example -make authenticate GUIX_GIT_KEYRING=myremote/keyring -@end example - @quotation Note -You are advised to run @command{make authenticate} after every -@command{git pull} invocation. This ensures you keep receiving valid -changes to the repository. +As with the initial clone, you are advised to run @command{guix git authenticate} +after every @command{git pull} invocation. This ensures you keep receiving valid +changes to the repository (@pxref{Invoking guix git authenticate}). + +You will not be able to do this unless you already have Guix installed. @end quotation After updating the repository, @command{make} might fail with an error base-commit: f7565101e49102da6f87ad92e4644ae7996515ab -- 2.36.1 ------=_Part_134779_810090373.1663567924724--