From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#28709: [PATCH 0/4] Content-addressed mirrors for VCS checkouts Date: Tue, 17 Oct 2017 10:48:03 +0200 Message-ID: <20171017084807.15901-1-ludo@gnu.org> References: <8760bu60sv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4NYh-0001hJ-5B for bug-guix@gnu.org; Tue, 17 Oct 2017 04:49:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4NYc-0003NA-QY for bug-guix@gnu.org; Tue, 17 Oct 2017 04:49:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36151) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e4NYc-0003N2-N0 for bug-guix@gnu.org; Tue, 17 Oct 2017 04:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e4NYc-0001LF-GT for bug-guix@gnu.org; Tue, 17 Oct 2017 04:49:02 -0400 In-Reply-To: <8760bu60sv.fsf@gnu.org> Sender: "Debbugs-submit" Resent-Message-ID: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 28709@debbugs.gnu.org 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