From unknown Tue Jun 17 22:23:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#72161: doc: 'Sending a Patch Series' inconsistent with 'Building from Git' Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 17 Jul 2024 18:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72161 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 72161@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17212423313982 (code B ref -1); Wed, 17 Jul 2024 18:53:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Jul 2024 18:52:11 +0000 Received: from localhost ([127.0.0.1]:36204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sU9l4-000129-UZ for submit@debbugs.gnu.org; Wed, 17 Jul 2024 14:52:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:39056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sU9l2-000120-FA for submit@debbugs.gnu.org; Wed, 17 Jul 2024 14:52:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sU9ky-00089H-RT for bug-guix@gnu.org; Wed, 17 Jul 2024 14:52:04 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sU9kw-00061J-LZ for bug-guix@gnu.org; Wed, 17 Jul 2024 14:52:04 -0400 Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-3679bc8fa9cso7225f8f.0 for ; Wed, 17 Jul 2024 11:52:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721242321; x=1721847121; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=ZPjRNVXse7U8QxWqc51iL8KAi6EPyG8L89JW+pA3xzk=; b=LOjTwSbPqobZf79uTCHEVHfB5rLd+5jgcoqOGQ8oKK7Ir/9J9Vo5bHX956DA1fBehT r1GylnXtOdNdj3qwK9AFtof6vaZUcNwvKn6YqgPkDmMFGR8N0HoR6wfgnWr5dP7+uzX5 ABcjXsQtCcURm/Dzpl9piRzzyVM8d872s1hBsjHvtxIGw3ybLMXXLzbPPBs8WTiztte+ IpsUejFk5zRAc7mQI6G0C55ih6+fVoePWe5E9h/k2YQ3mXAoYZiDmWwfU7jDKoS8Bet6 Fg6UUkNvuojsWPljjDrevh6CI0wpYEGNhjj6/7M8Qo0wXP+krzOZ2JHWooS1247D8B7o C08Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721242321; x=1721847121; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZPjRNVXse7U8QxWqc51iL8KAi6EPyG8L89JW+pA3xzk=; b=Rnny0JDbxhc23F84xGOLDyUhcCgANBf9Doe2UEAYRGoE8FYyaOTSiCtOlSV3q8zaNc 2JADI1NEYhzSlGD0YvUtli1DOVMxPuqBBe87A42jR5K5MoPoGXdWipkg1ptFdDK0BW3V SACtvo4S7fB8VU5jxadPg2JO8vBWE+ewHZSazwKMidP+WFzbwPNB2eIsYdAqXNAmhm0p Ph85IGehdUCC2mrk53k8rB+x2k56KVfmxIgUBmHWNgTjngUYQHq35MpELPAVlccSRdf3 NkrJ+CodfFLLubE7q9/9gke64a02vLVEEBu9wOyUULt2a4ism65FnsrtH/dTGPAtuI9O JtOg== X-Gm-Message-State: AOJu0YwgnvV7YmR5wOlhQcvBIyhZL7+uoXkPQca1lVrTM/WIaL+//kss RY/LH6uxvPzuAZBC/4eEBxTxCSWjPoPqv2j8VtiEBABfVi1O/gOgVis7qg== X-Google-Smtp-Source: AGHT+IHPkWnqY+aIcydbdlcxgtWsyMUht0GHAybuyhB37/YzmulZYWuoWRkPmCQO93yEMpE3ItCwSw== X-Received: by 2002:a05:600c:1c86:b0:424:ac9f:5c61 with SMTP id 5b1f17b1804b1-427c2d0c8eemr11614235e9.3.1721242321183; Wed, 17 Jul 2024 11:52:01 -0700 (PDT) Received: from lili (roam-nat-fw-prg-194-254-61-47.net.univ-paris-diderot.fr. [194.254.61.47]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-427c7797d74sm8316135e9.4.2024.07.17.11.52.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jul 2024 11:52:00 -0700 (PDT) From: Simon Tournier Date: Wed, 17 Jul 2024 20:19:31 +0200 Message-ID: <87plrbev9o.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x430.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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: -2.3 (--) Hi, As reported in [1], because of a change in =E2=80=99guix git authenticate= =E2=80=99 then =E2=80=99git send-email=E2=80=99 needs more configuration than expected. >From =E2=80=99(guix) Sending a Patch Series=E2=80=99 [2], it reads: Assuming you have already configured Git according to =E2=80=99Configur= ing Git=E2=80=99, you can simply use: $ git send-email --annotate -1 Where =E2=80=99(guix) Configuring Git=E2=80=99 [3] reads: Other important Git configuration will automatically be configured when building the project (*note =E2=80=99Building from Git=E2=80=99). and =E2=80=99(guix) Building from Git=E2=80=99 [4] suggests the sequence of= commands: git clone https://git.savannah.gnu.org/git/guix.git git fetch origin keyring:keyring (1) guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad \ "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA" guix shell -D guix -CPW ./bootstrap ./configure (2) make make check But the issue is that step (1) modifies the file =E2=80=99.git/config=E2=80= =99 and then Makefile rule: --8<---------------cut here---------------start------------->8--- .git/config: etc/git/gitconfig $(AM_V_at)if command -v git >/dev/null && test -d .git; then \ git config --fixed-value --replace-all include.path \ ../etc/git/gitconfig ../etc/git/gitconfig; \ fi --8<---------------cut here---------------end--------------->8--- does not apply because the file =E2=80=99.git/config=E2=80=99 is newer than= the file =E2=80=99etc/git/gitconfig=E2=80=99. Therefore, the recommended Git config= uration is never locally installed. And the section =E2=80=99Sending a Patch Series= =E2=80=99 does not work out of the box. Well, from my point of view, the easiest seems to run =E2=80=99touch etc/git/gitconfig=E2=80=99 when running =E2=80=99./bootstrap=E2=80=99. WDY= T? Cheers, simon 1: Re: Did something with format-patch or send-email break? Tomas Volf <~@wolfsden.cz> Sun, 09 Jun 2024 12:51:44 +0200 id:ZmWJQLwXrPFtGlvu@ws https://lists.gnu.org/archive/html/guix-devel/2024-06 https://yhetil.org/guix/ZmWJQLwXrPFtGlvu@ws 2: https://guix.gnu.org/manual/devel/en/guix.html#Sending-a-Patch-Series 3: https://guix.gnu.org/manual/devel/en/guix.html#Configuring-Git 4: https://guix.gnu.org/manual/devel/en/guix.html#Building-from-Git