[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Disabling authentication checks for tests in local Guix checkouts
From: |
Ludovic Courtès |
Subject: |
Re: Disabling authentication checks for tests in local Guix checkouts |
Date: |
Mon, 17 Jun 2024 15:05:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi Ada,
Ada Stevenson <adanskana@gmail.com> skribis:
> I'm currently trying to help test the changes to GRUB submitted in
> issue #71348[1]. Unfortunately, `make check`, whilst building the
> local Guix channel, authenticates every commit. That means commits not
> signed by people in `guix-authorizations` will stop the channel from
> building and prevents running any of the tests.
Bummer. :-(
> I have tried to fix the issue by writing a patch:
This patch looks like the right thing to do.
I’m not sure how to integrate it though: in the general case, we
probably want to keep authentication enabled by default, but how to
allow users to easily disable it when using a personal checkout?
> Initially this seems like it works, as it starts to index all of the
> commits in the local checkout, which didn't occur beforehand, instead
> immediately giving a `Git error: cannot locate remote-tracking branch
> 'origin/keyring'` (I've run `git fetch -a`, and my Savannah remote is
> called `origin`).
Guix caches clones under ~/.cache/guix/checkout. It may be that there’s
a clone of your local repo there, but that the clone itself lack a copy
of the ‘keyring’ branch? (You can run ‘git fetch -a’ in there.)
Thanks for testing!
Ludo’.