From: Ricardo Wurmus <rekado@elephly.net>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Kyle Meyer <kyle@kyleam.com>, 49252@debbugs.gnu.org
Subject: [bug#49252] [PATCH] Channels defaulting to HEAD instead of ‘master’
Date: Sun, 08 Aug 2021 15:53:48 +0200 [thread overview]
Message-ID: <87tuk0kpoz.fsf@elephly.net> (raw)
In-Reply-To: <87y2auw3jo.fsf@inria.fr>
Ludovic Courtès <ludo@gnu.org> writes:
> For the record, commit cb41c15827a2e910aa56fb5d1917ba8a085c95c7
> by Kyle
> (Cc’d) gives the ability to use the remote HEAD by default,
> which is
> exactly what we need here.
>
> Unfortunately, for the Guix repo at Savannah, I get:
>
> --8<---------------cut
> here---------------start------------->8---
> $ ./pre-inst-env guix time-machine -- describe
> guix time-machine: error: Git error: reference
> 'refs/remotes/origin/HEAD' not found
> --8<---------------cut
> here---------------end--------------->8---
>
> … but it works for <https://github.com/guix-mirror/guix>.
For what it’s worth I found the same kind of problem when
importing an R package from Github:
./pre-inst-env guix import cran -a git
https://github.com/ImmuneDynamics/Spectre
Here’s the error backtrace:
--8<---------------cut here---------------start------------->8---
Backtrace:
In ice-9/boot-9.scm:
724:2 19 (call-with-prompt _ _ #<procedure
default-prompt-handler (k proc)>)
In ice-9/eval.scm:
619:8 18 (_ #(#(#<directory (guile-user) 7f95f8626c80>)))
In guix/ui.scm:
2185:7 17 (run-guix . _)
2148:10 16 (run-guix-command _ . _)
In guix/scripts/import.scm:
120:11 15 (guix-import . _)
In guix/scripts/import/cran.scm:
110:25 14 (guix-import-cran . _)
In guix/memoization.scm:
98:0 13 (mproc "https://github.com/ImmuneDynamics/Spectre"
#:repo git)
In unknown file:
12 (_ #<procedure 7f95f4ce5e60 at
guix/memoization.scm:179:32 ()> #<procedure list _>
(this is nothing))
In guix/import/cran.scm:
594:24 11 (_ "https://github.com/ImmuneDynamics/Spectre" #:repo
_ #:version _)
279:25 10 (fetch-description _
"https://github.com/ImmuneDynamics/Spectre")
In guix/memoization.scm:
98:0 9 (mproc "https://github.com/ImmuneDynamics/Spectre"
#:method git)
In unknown file:
8 (_ #<procedure 7f95f4ce5e00 at
guix/memoization.scm:179:32 ()> #<procedure list _>
(this is nothing))
In ice-9/boot-9.scm:
1752:10 7 (with-exception-handler _ _ #:unwind? _
#:unwind-for-type _)
In guix/store.scm:
658:37 6 (thunk)
In guix/git.scm:
481:8 5 (latest-repository-commit #<store-connection 256.99
7f95f4c18320> "https://github.com/ImmuneDynamics/Spectre"
#:recursive? _ #:log-port _ #:cache-directory _ #:ref _)
247:4 4 (update-cached-checkout _ #:ref _ #:recursive? _
#:check-out? _ #:starting-commit _ #:log-port _
#:cache-directory _)
214:18 3 (resolve _)
In git/reference.scm:
60:8 2 (_ _ _)
In git/bindings.scm:
77:2 1 (raise-git-error _)
In ice-9/boot-9.scm:
1685:16 0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Git error: reference 'refs/remotes/origin/HEAD' not found
--8<---------------cut here---------------end--------------->8---
> Presumably we have a server-side setup issue at Savannah?
I think it might be a repository setting rather than a server
setting as other Github repositories work, yet this one repo on
Github does not.
--
Ricardo
next prev parent reply other threads:[~2021-08-08 13:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-28 12:56 [bug#49252] [PATCH] Channels defaulting to HEAD instead of ‘master’ Ludovic Courtès
2021-07-09 0:38 ` Kyle Meyer
2021-08-04 15:04 ` Ludovic Courtès
2021-08-08 23:28 ` Kyle Meyer
2021-08-09 9:12 ` Ludovic Courtès
2021-08-10 2:10 ` Kyle Meyer
2021-08-10 8:04 ` Ludovic Courtès
2021-08-11 0:34 ` Kyle Meyer
2021-08-08 13:53 ` Ricardo Wurmus [this message]
2021-08-08 23:08 ` Kyle Meyer
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tuk0kpoz.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=49252@debbugs.gnu.org \
--cc=kyle@kyleam.com \
--cc=ludo@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 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.