[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Heads-up: “pre-push” Git hook updated
From: |
Ludovic Courtès |
Subject: |
Re: Heads-up: “pre-push” Git hook updated |
Date: |
Thu, 04 Jun 2020 13:50:36 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi,
Christopher Baines <mail@cbaines.net> skribis:
> So, I think make authenticate dislikes the naming I use for Git remotes,
> in particular I don't have an origin remote.
>
> → make authenticate
> Compiling Scheme modules...
> Authenticating Git checkout...
> Authenticating d68de95 to 776409c (0 commits)...
> Backtrace:
> In ice-9/boot-9.scm:
> 1736:10 10 (with-exception-handler _ _ #:unwind? _ # _)
> In unknown file:
> 9 (apply-smob/0 #<thunk 7f4b2fed8940>)
> In ice-9/boot-9.scm:
> 718:2 8 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
> In ice-9/eval.scm:
> 619:8 7 (_ #(#(#<directory (guile-user) 7f4b2fafaf00>)))
> 293:34 6 (_ #(#(#(#(#(#(#(#(#(#(#<…> …) …) …) …) …) …) …) …) …) …))
> In guix/progress.scm:
> 71:36 5 (call-with-progress-reporter _ _)
> In ice-9/eval.scm:
> 619:8 4 (_ #(#(#(#<directory (guile-user) 7f4b2fafaf00>) # …) #))
> 626:19 3 (_ #(#(#(#<directory (guile-user) 7f4b2fafaf00>) # …) #))
> 293:34 2 (_ #(#(#<directory (guile-user) 7f4b2fafaf00>) #<git…> …))
> In git/branch.scm:
> 101:8 1 (_ _ _ _)
> In git/bindings.scm:
> 77:2 0 (raise-git-error _)
>
> git/bindings.scm:77:2: In procedure raise-git-error:
> Git error: cannot locate remote-tracking branch 'origin/keyring'
>
> make: *** [Makefile:5965: authenticate] Error 1
>
>
> I tried renaming my savannah remote to origin, and then it seemed to
> work. Any ideas?
Yeah, that’s a problem Tobias reported as well.
In <https://issues.guix.gnu.org/41653> I change it to just use the local
‘keyring’ branch. That also requires you to set things up
appropriately, but I think that’s hard to avoid no?
Ludo’.
- Re: Heads-up: “pre-push” Git hook updated,
Ludovic Courtès <=