From: zimoun <zimon.toutoune@gmail.com>
To: Hartmut Goebel <h.goebel@crazy-compilers.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: error: "cannot download for method git-fetch"
Date: Wed, 24 Feb 2021 14:15:23 +0100 [thread overview]
Message-ID: <CAJ3okZ3v5NxhUXXMFVdJo93aY=w7a2VNdLYOSyqaqWxuQ8QBxQ@mail.gmail.com> (raw)
In-Reply-To: <2402943e-65b9-864d-84df-56ba9388843b@crazy-compilers.com>
Hi Hartmut,
On Sun, 21 Feb 2021 at 13:34, Hartmut Goebel
<h.goebel@crazy-compilers.com> wrote:
> $ ./pre-inst-env guix refresh -u vis> gnu/packages/text-editors.scm:81:2: error: cannot download for this
> method: #<procedure git-fetch (ref hash-algo hash #:optional name #:key
> system guile git)>
>
> Updating some other package, which is using http-fetch, works. So this
> seams to be related to git.
>
> Looks like something missing. Any hints?
Maybe I misread, but it is not possible to refresh packages with
’git-fetch’ as source because of:
--8<---------------cut here---------------start------------->8---
(define %method-updates
;; Mapping of origin methods to source update procedures.
`((,url-fetch . ,package-update/url-fetch)))
--8<---------------cut here---------------end--------------->8---
and
--8<---------------cut here---------------start------------->8---
(match (assq method %method-updates)
(#f
(raise (make-compound-condition
(formatted-message (G_ "cannot download for \
this method: ~s")
method)
--8<---------------cut here---------------end--------------->8---
in ’package-update’ from (guix upstream).
Well, it should be possible and as you said: «looks like something is
missing.» :-)
Hope that helps,
simon
next prev parent reply other threads:[~2021-02-24 13:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-21 12:27 error: "cannot download for method git-fetch" Hartmut Goebel
2021-02-21 14:10 ` Joshua Branson
2021-02-21 16:54 ` Wiktor Żelazny
2021-02-21 19:06 ` Leo Famulari
2021-02-22 19:44 ` raingloom
2021-02-24 13:15 ` zimoun [this message]
2021-03-01 14:16 ` Hartmut Goebel
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='CAJ3okZ3v5NxhUXXMFVdJo93aY=w7a2VNdLYOSyqaqWxuQ8QBxQ@mail.gmail.com' \
--to=zimon.toutoune@gmail.com \
--cc=h.goebel@crazy-compilers.com \
--cc=help-guix@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.