`make authenticate` fails to find the keyring branch

OpenSubmitted by Leo Famulari.
Details
3 participants
  • guix-vits via web
  • Leo Famulari
  • Ludovic Courtès
Owner
unassigned
Severity
normal
L
L
Leo Famulari wrote on 8 Jun 20:54 +0200
(address . bug-guix@gnu.org)
20200608185404.GA2356@jasmine.lan
I just tried pushing for the first time since installing the newpre-push hook that runs `make authenticate`.
This failed with the following error:
Git error: cannot locate remote-tracking branch 'keyring'
However, `git branch --all` includes "remotes/origin/keyring".
After I did `git checkout origin/keyring`, it worked.
Let's update the manual section Commit Access with the recommended wayto make this branch accessible to `make authenticate`. Maybe it shouldeven do it automatically?
L
L
Ludovic Courtès wrote on 9 Jun 18:16 +0200
(name . Leo Famulari)(address . leo@famulari.name)(address . 41764@debbugs.gnu.org)
87img0gqpr.fsf@gnu.org
Hi,
Leo Famulari <leo@famulari.name> skribis:
Toggle quote (11 lines)> I just tried pushing for the first time since installing the new> pre-push hook that runs `make authenticate`.>> This failed with the following error:>> Git error: cannot locate remote-tracking branch 'keyring'>> However, `git branch --all` includes "remotes/origin/keyring".>> After I did `git checkout origin/keyring`, it worked.
Right, since commit 512b9e2da26968ebafdd47f701edd8fc3936d3e8, you haveto have a local ‘keyring’ branch.
Toggle quote (4 lines)> Let's update the manual section Commit Access with the recommended way> to make this branch accessible to `make authenticate`. Maybe it should> even do it automatically?
I don’t think it can do it automatically because it cannot guess whatthe remote is called (Tobias reported an issue earlier because“origin/keyring” was hard-coded and Tobias didn’t have an “origin”remote.)
Regarding documentation, do you think it would suffice to say that oneneeds to have a local ‘keyring’ branch tracking upstream’s?
Thanks,Ludo’.
G
G
guix-vits via web wrote on 7 Aug 14:33 +0200
`make authenticate` fails to find the keyring branch
(address . 41764@debbugs.gnu.org)
7fc08cc00770.12ef49168b33d84b@guile.gnu.org
Please do :)
?