unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ng0 <contact.ng0@cryptolab.net>
To: 26035@debbugs.gnu.org
Subject: bug#26035: guix pull does not handle url lists and unreachable requests
Date: Thu, 9 Mar 2017 14:51:05 +0000	[thread overview]
Message-ID: <20170309145105.snpnroqjm35omgow@abyayala> (raw)

efficient enough and sets the times out much too high
Reply-To: 
In-Reply-To:
When you configure a system to use bayfront, for example with these
lines included in cons* of (services):
            (modify-services
              %base-services
              (guix-service-type
                config =>
                (guix-configuration
                  (inherit config)
                  (substitute-urls
                    (cons* "https://bayfront.guixsd.org"
                           %default-substitute-urls))
                  (authorized-keys
                    (cons*
                      (plain-file "bayfront.guixsd.org.pub"
                        (string-append "(public-key (ecc curve
Ed25519) "
                                       "(q
#8D156F295D24B0D9A86FA5741A840FF2"

"D24F60F7B6C4134814AD55625971B394#)))"))
                    %default-authorized-guix-keys))))))))

please consider that this does not reflect the actual indent and that I
can't paste all of the config here, but those are the relevant parts,
you will experience that: "guix package", and "guix system" (or guix
buld?) query all listed subsitute urls, while "guix pull" only queries
the first one. If the first one is experiencing issues (for example
server is offline or can't handle requests for whatever reasons), the
timeout is much too high. I had to cancel guix pull processes which
tried to request from bayfront.guixsd.org for 9, 12, and 3 hours.

As bayfront wasn't the only server, a switch should occur even with the
guix pull part where substitute servers are queried before the build of
the fetched master tarball starts.

             reply	other threads:[~2017-03-09 13:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-09 14:51 ng0 [this message]
2017-03-09 15:02 ` bug#26035: guix pull does not handle url lists and unreachable requests ng0

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170309145105.snpnroqjm35omgow@abyayala \
    --to=contact.ng0@cryptolab.net \
    --cc=26035@debbugs.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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).