GNU bug report logs - #50810
Some issues in the Submitting-Patches doc page.

Previous Next

Package: guix;

Reported by: Brendan Tildesley <mail <at> brendan.scot>

Date: Sun, 26 Sep 2021 07:42:02 UTC

Severity: normal

To reply to this bug, email your comments to 50810 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#50810; Package guix. (Sun, 26 Sep 2021 07:42:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Brendan Tildesley <mail <at> brendan.scot>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 26 Sep 2021 07:42:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Brendan Tildesley <mail <at> brendan.scot>
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Subject: Some issues in the Submitting-Patches doc page.
Date: Sun, 26 Sep 2021 09:41:27 +0200 (CEST)
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.




This bug report was last modified 2 years and 206 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.