* bug#63596: guix-git-authenticate fails on fresh git clone
@ 2023-05-19 21:41 wolf
2023-05-20 15:16 ` Graham Addis
0 siblings, 1 reply; 2+ messages in thread
From: wolf @ 2023-05-19 21:41 UTC (permalink / raw)
To: 63596
[-- Attachment #1: Type: text/plain, Size: 1928 bytes --]
Hello,
as instructed on the Building from Git documentation page, I am writing
regarding a failing test (guix-git-authenticate) on a fresh git clone of guix
repository. I am unsure what the exact commit was (sorry!), but I'm pretty sure
it is not relevant in this case (assuming it was not fixed this week).
$ cat tests/guix-git-authenticate.log
+ '[' -d /home/wolf/sources/guix/.git ]
+ guile -c '(use-modules (git))
(member "refs/heads/keyring" (branch-list (repository-open ".")))'
+ intro_commit=9edb3f66fd807b096b48283debdcddccfea34bad
+ intro_signer='BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA'
+ cache_key=test-3776
+ guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad 'BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA' '--cache-key=test-3776' --stats
+'--end=9549f0283a78fe36f2d4ff2a04ef8ad6b0c02604'
guix git: error: Git error: cannot locate remote-tracking branch 'keyring'
+ v1_2_0_commit=a099685659b4bfa6b3218f84953cbb7ff9e88063
+ guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad 'BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA' '--cache-key=test-3776' --stats
+'--end=a099685659b4bfa6b3218f84953cbb7ff9e88063'
guix git: error: Git error: cannot locate remote-tracking branch 'keyring'
FAIL tests/guix-git-authenticate.sh (exit status: 1)
As you can see, it complains about branch `keyring' being missing. Indeed, once
I created it:
$ g co keyring
branch 'keyring' set up to track 'origin/keyring'.
Switched to a new branch 'keyring'
After this the test passed just fine. I did not have time to look into it more
in depth nor produce a patch, so I thought I will at least report it, as
instructed by the documentation.
Have a nice day,
W.
--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-20 19:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-19 21:41 bug#63596: guix-git-authenticate fails on fresh git clone wolf
2023-05-20 15:16 ` Graham Addis
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.