From unknown Tue Jun 17 01:35:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50810: Some issues in the Submitting-Patches doc page. Resent-From: Brendan Tildesley Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 26 Sep 2021 07:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50810 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 50810@debbugs.gnu.org X-Debbugs-Original-To: "bug-guix@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.16326421092282 (code B ref -1); Sun, 26 Sep 2021 07:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Sep 2021 07:41:49 +0000 Received: from localhost ([127.0.0.1]:35680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUOnF-0000ak-4S for submit@debbugs.gnu.org; Sun, 26 Sep 2021 03:41:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:54938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUOnA-0000aT-5y for submit@debbugs.gnu.org; Sun, 26 Sep 2021 03:41:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUOn9-0000GM-Pw for bug-guix@gnu.org; Sun, 26 Sep 2021 03:41:43 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]:40336) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1mUOn7-0007f7-CG for bug-guix@gnu.org; Sun, 26 Sep 2021 03:41:43 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:105:465:1:4:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4HHHlM32N4zQkBS for ; Sun, 26 Sep 2021 09:41:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot; s=MBO0001; t=1632642093; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RLfK9jpB6+STF9PQbJbKu3cjbdp5yiU05P56S/P5Xcs=; b=Atng5cQjRdgCU2bWGs3YKNKeXUjDOPfkdMVrJ6joaYjmIdzhgH8xvZkGQy4h2SPbZqw/dM adX+AeiDH27HydlS8JFQEQWCXHrWgv+NE2C2lHhaiMFuw0SLYQhn9v64rtFA7uVN97finb wuCV3xKIGEN0XIdSlSLWNSdZmc9ccIUNN4qPU2fh18PEjjQoOiyqv6oTejn6F0MYBiofie rBcp2E3drFHR24e1VMF4YtvEgIaYdbWIkV8BkbHS3vtlyn194QFapKMTHTF4wsC6r3E4F/ thvhIqDsd/pOtSh43Hgwf5XxszSo8ZysbklLF4vTCqK+vesn9qF+X1atK2g+hA== Date: Sun, 26 Sep 2021 09:41:27 +0200 (CEST) From: Brendan Tildesley Message-ID: <1382588916.96543.1632642088007@office.mailbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-Rspamd-Queue-Id: 13639387 Received-SPF: pass client-ip=80.241.56.152; envelope-from=mail@brendan.scot; helo=mout-p-102.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.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.6 (--) In https://guix.gnu.org/manual/en/html_node/Submitting-Patches.html 1. It is advised to run: guix build --rounds=2 my-package However, I do not think this does anything unless --check is used. Even with --rounds=99, nothing occurs. Also, without --no-grafts, it will simply reapply the grafts, which is kinda pointless. So the command should probably be: guix build --no-grafts --check --rounds=2 my-package 2. There is also the command: guix pull --url=/path/to/your/checkout --profile=/tmp/guix.master This won't work due to authentication: guix pull: error: Git error: cannot locate remote-tracking branch 'origin/keyring' One needs --disable-authentication, however if the user has channels enabled, this will also disable authentication for that, which could possibly create an attack vector against Guix devs?? Plus it will build a Guix different to the default anyway, so one might need to run: echo '%default-channels' > /tmp/default-channels guix pull --channels=/tmp/default-channels --disable-authentication \ --url=/path/to/your/checkout --profile=/tmp/guix.master 3. I noticed a bug where if --url=. is used, the error: guix pull: error: invalid name: `.-b10bd94' occurs. Instead, ./ has to be used or the full path.