From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKPBD-00037w-Eg for guix-patches@gnu.org; Thu, 30 Nov 2017 08:47:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKPB8-00018b-I6 for guix-patches@gnu.org; Thu, 30 Nov 2017 08:47:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:57205) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eKPB8-00018V-Eb for guix-patches@gnu.org; Thu, 30 Nov 2017 08:47:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eKPB8-0000On-8N for guix-patches@gnu.org; Thu, 30 Nov 2017 08:47:02 -0500 Subject: [bug#29509] [PATCH 0/6] Display progress bar in 'guix system init' Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKPAl-0002gW-Go for guix-patches@gnu.org; Thu, 30 Nov 2017 08:46:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKPAk-0000sq-Tv for guix-patches@gnu.org; Thu, 30 Nov 2017 08:46:39 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Thu, 30 Nov 2017 14:46:20 +0100 Message-Id: <20171130134620.3877-1-ludo@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 29509@debbugs.gnu.org Hello! This patch set factorizes support for progress bars in the (guix progress) module that 宋文武 implemented a while back. It then uses it in ‘guix weather’ (which had its own progress bar) and in ‘guix system init’ when copying store items to the target partition. Feedback welcome! Ludo’. Ludovic Courtès (6): progress: Factorize erase-in-line. progress: 'progress-bar' accounts for brackets. progress: Add 'progress-reporter/bar'. weather: Use (guix progress) for progress report. guix system: Simplify closure copy. guix system: 'init' displays a progress bar while copying. .dir-locals.el | 3 +- guix/progress.scm | 69 ++++++++++++++++++++++++++++-- guix/scripts/system.scm | 76 ++++++++++++++++++--------------- guix/scripts/weather.scm | 106 +++++++++++++++++++++++------------------------ 4 files changed, 163 insertions(+), 91 deletions(-) -- 2.15.0