unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Brendan Tildesley <mail@brendan.scot>
To: 50810@debbugs.gnu.org
Subject: bug#50810: Some issues in the Submitting-Patches doc page.
Date: Sun, 26 Sep 2021 09:41:27 +0200 (CEST)	[thread overview]
Message-ID: <1382588916.96543.1632642088007@office.mailbox.org> (raw)

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.




                 reply	other threads:[~2021-09-26  7:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1382588916.96543.1632642088007@office.mailbox.org \
    --to=mail@brendan.scot \
    --cc=50810@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).