From: "Ludovic Courtès" <ludo@gnu.org>
To: guix-patches@gnu.org
Cc: "Attila Lendvai" <attila@lendvai.name>,
57978@debbugs.gnu.org, "Ludovic Courtès" <ludo@gnu.org>,
zimoun <zimon.toutoune@gmail.com>
Subject: bug#57978: [PATCH 0/2] Retry nar downloads upon failure
Date: Fri, 23 Sep 2022 08:16:16 +0200 [thread overview]
Message-ID: <20220923061616.5453-1-ludo@gnu.org> (raw)
In-Reply-To: <875yhfivub.fsf@gnu.org>
Hello!
This is a long overdue fix for <https://issues.guix.gnu.org/57978>:
when a nar cannot be downloaded from its “preferred” location,
‘guix substitute --substitute’ will now retry once for each substitute
URL instead of failing right away.
This should address the most common issues such as transient
networking failures.
Comments?
Thanks,
Ludo’.
Ludovic Courtès (2):
substitute: Split nar download.
substitute: Retry downloading when a nar is unavailable.
guix/scripts/substitute.scm | 157 +++++++++++++++++++++++++++---------
tests/substitute.scm | 113 ++++++++++++++++++++++++++
2 files changed, 231 insertions(+), 39 deletions(-)
base-commit: a09655b20850d065333ec333e6e184b604f606a8
--
2.37.3
next prev parent reply other threads:[~2022-09-23 6:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-21 13:11 bug#57978: the fallback machanism for substitute servers doesn't work? Attila Lendvai
2022-09-21 20:43 ` zimoun
2022-09-22 9:47 ` Ludovic Courtès
2022-09-23 6:16 ` Ludovic Courtès [this message]
2022-09-28 21:24 ` bug#57978: bug#58017: [PATCH 0/2] Retry nar downloads upon failure Ludovic Courtès
2022-09-23 6:19 ` bug#57978: [PATCH 1/2] substitute: Split nar download Ludovic Courtès
2022-09-23 6:19 ` bug#57978: [PATCH 2/2] substitute: Retry downloading when a nar is unavailable Ludovic Courtès
2022-09-23 8:17 ` [bug#58017] " zimoun
2022-09-24 16:20 ` Ludovic Courtès
2022-09-24 1:57 ` bug#57978: [bug#58017] " Maxime Devos
2022-09-24 16:22 ` Ludovic Courtès
2022-09-24 17:18 ` bug#57978: " Maxime Devos
2022-09-23 7:56 ` bug#57978: [PATCH 1/2] substitute: Split nar download zimoun
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=20220923061616.5453-1-ludo@gnu.org \
--to=ludo@gnu.org \
--cc=57978@debbugs.gnu.org \
--cc=attila@lendvai.name \
--cc=guix-patches@gnu.org \
--cc=zimon.toutoune@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.