Hello, Here’s a ready-to-merge patch series. Once applied, nars (aka. “substitutes”) are downloaded and extracted when a VCS checkout fails. This will address cases such as the recent Guile-Git repository renaming for people who have disabled substitutes.
I’m Cc’ing 宋文武 because this also moves the progress-report code to a new (guix progress) module. Feedback welcome! Ludo’. Ludovic Courtès (4): download: Remove old-Guile leftovers. download: Make 'http-fetch' public. Add (guix progress). download: Download a nar when a VCS checkout fails. Makefile.am | 2 + guix/build/download-nar.scm | 125 ++++++++++++++++++++++++ guix/build/download.scm | 216 +++++------------------------------------ guix/cvs-download.scm | 38 ++++++-- guix/git-download.scm | 37 +++++-- guix/hg-download.scm | 36 +++++-- guix/progress.scm | 228 ++++++++++++++++++++++++++++++++++++++++++++ guix/scripts/download.scm | 4 +- guix/scripts/substitute.scm | 5 +- guix/utils.scm | 28 +----- 10 files changed, 470 insertions(+), 249 deletions(-) create mode 100644 guix/build/download-nar.scm create mode 100644 guix/progress.scm -- 2.14.2