all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Multiple substitute servers question
Date: Tue, 02 May 2017 23:14:08 +0200	[thread overview]
Message-ID: <87tw530xnj.fsf@gnu.org> (raw)
In-Reply-To: <87bmrbp84b.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 02 May 2017 08:54:12 -0700")

Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:

> ludo@gnu.org (Ludovic Courtès) writes:
>
>> Hello!
>>
>> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>>
>>> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>>
>> [...]
>>
>>> The substitute URI should be "https://mirror.hydra.gnu.org". When using
>>> such URI it works without an error.
>>>
>>> My original question still holds though (why is an unresolvable
>>> substitute-url able to bring the guix command down when at least one
>>> working alternative substitute server exists? -- it should just warn
>>> about it and push through).
>>
>> That’s what it does, except for URL syntax errors.
>>
>>
>>   --substitute-urls="http://example.org/does-not-work https://mirror.hydra.gnu.org"
>>
>> then the first one is ignored.
>>
>> Does that make sense?
>
> What do you mean by "URL syntax errors"? Like, wrong protocol prefix or
> non-ascii characters?

I mean any string for which ‘string->uri’ returns #f, such as
“foo.example.org”.

> I'll keep this thread around for the next time a 'guix package' command
> fails in an unexpected way. It seems to come everytime bayfront is in a
> broken/semi-broken state (my regular url-substitutes list is made up of
> 1st bayfront, 2nd mirror.hydra.gnu.org).

I do the same, but what I see is just that sometimes bayfront doesn’t
show up in the substitute messages, that’s all.

Thanks,
Ludo’.

  reply	other threads:[~2017-05-02 21:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-24  0:52 Multiple substitute servers question Maxim Cournoyer
2017-04-24  1:04 ` Maxim Cournoyer
2017-05-02 10:34   ` Ludovic Courtès
2017-05-02 15:54     ` Maxim Cournoyer
2017-05-02 21:14       ` Ludovic Courtès [this message]
2017-05-07  7:24       ` Maxim Cournoyer
2017-05-08 14:10         ` Ludovic Courtès
2017-05-08 15:44           ` Maxim Cournoyer

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=87tw530xnj.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    /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.