GNU bug report logs - #74878
[PATCH 0/2] Improve Guix Subsitute script usage.

Previous Next

Package: guix-patches;

Reported by: Richard Sent <richard <at> freakingpenguin.com>

Date: Sun, 15 Dec 2024 00:26:01 UTC

Severity: normal

Tags: patch

Full log


Message #11 received at 74878 <at> debbugs.gnu.org (full text, mbox):

From: Richard Sent <richard <at> freakingpenguin.com>
To: 74878 <at> debbugs.gnu.org
Cc: Richard Sent <richard <at> freakingpenguin.com>
Subject: [PATCH 1/2] scripts: substitute: Report the number of substitutes
 being updated.
Date: Sat, 14 Dec 2024 19:26:46 -0500
* guix/scripts/substitute.scm (process-query)[make-progress-reporter]: Report
the total number of substitutes.

Change-Id: I00c6fe7383a6093ce0567c0f391e613d36a563bc
---
 guix/scripts/substitute.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/guix/scripts/substitute.scm b/guix/scripts/substitute.scm
index 8db730a9c0..08ec172675 100755
--- a/guix/scripts/substitute.scm
+++ b/guix/scripts/substitute.scm
@@ -328,8 +328,8 @@ (define* (process-query port command
       (erase-current-line (current-error-port)) ;erase current line
       (force-output (current-error-port))
       (format (current-error-port)
-              (G_ "updating substitutes from '~a'... ~5,1f%")
-              url (* 100. (/ done total)))
+              (G_ "updating ~d substitute~:p from '~a'... ~5,1f%")
+              total url (* 100. (/ done total)))
       (set! done (+ 1 done)))
 
     (progress-reporter
-- 
2.46.0





This bug report was last modified 174 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.