From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kLTABK0iXmcJ7AAAe85BDQ:P1 (envelope-from ) for ; Sun, 15 Dec 2024 00:28:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id kLTABK0iXmcJ7AAAe85BDQ (envelope-from ) for ; Sun, 15 Dec 2024 01:28:29 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=uVsQAppG; dkim=fail ("headers rsa verify failed") header.d=freakingpenguin.com header.s=x header.b=KO9TwjOB; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734222508; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=trLIytZyzeRRY8kofF2FPhW2GGFVVqkwZIreFFBfTCI=; b=shIgRR0VbQVUrs3X1D2PEjVW2FNEwyjLhYQ80lDk1S4cj6ZDJhNvCdRGNfFHU4iiMPouk1 /FVh0oF+sETfuIrSLZvPB97FdRMOc9XGWkokj0+DGms7PgsolzH97HYzrbm+lwGZLAxt7Y fWPEMjME3Qnhp/e3rK5Sju60KmT9RVTclq9HRjJ6stupxUehSJE1q1SwcT1mkoaCpzKGFW 31PCUVdsvUQOFAkOmlZ/HfBJYTEUIJSrhMnKheveCKMU/8WEgdsA7NmCtFXszukFtFJLGU pV/0Isua2lIG6yK3e0cWV+fum6ylXjycgO4Dejazv+Y+1sfnylW94j/NNCwU2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=uVsQAppG; dkim=fail ("headers rsa verify failed") header.d=freakingpenguin.com header.s=x header.b=KO9TwjOB; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734222508; a=rsa-sha256; cv=none; b=mY7erbWQEM5p3sXsUfyuASIiN0xBCcc5Qr0hAFHMHyd8OPVojOmgIulPudcgrgyStw+ffv IVRip69JlYfnP/E6+ejO9voMxT01SYEVHm9qIak25pG0osACZKaDQWluLFfUgM+Rw5Yu+3 VLe1fGynED4sIpHJNoNY9eZhWmpACLiWx5jqSpuETl+lE+Ii8Qg+xbQ68zGWbl+0litOUl pezpxW6Kx280BZ8ndA8BgYQL/EB/rB9oqUTC0g/drBoWnj4psvcV55H3zPmhM7i8EiS+IK pHK0wYzI2qJj4lslqnoLvi+mxLvim3GLv4Fb12bwc9M8CS9P3IJojKL0wTGW3Q== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9105154266 for ; Sun, 15 Dec 2024 01:28:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMcUR-0002Gn-MO; Sat, 14 Dec 2024 19:28:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tMcUO-0002GF-PI for guix-patches@gnu.org; Sat, 14 Dec 2024 19:28:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tMcUN-0004t8-OT; Sat, 14 Dec 2024 19:28:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=trLIytZyzeRRY8kofF2FPhW2GGFVVqkwZIreFFBfTCI=; b=uVsQAppGiN5OD+k2kRUUQF0TPVgFruLGOp835wC4p/Z9PLFa0cT54rpFo8rv5Q2bXv+7H3K4qnbg8uPOk+8zBg0ebyJnjxztXi6JBACkLrLcXBiuOVslkl/4AUBbz66/RSflugF+8DktSQYhAQEA8r5fn/sRe0NXueW9OjCJL1U1HjBAE0gy2RnmaCT/vrmcoBDX0CwfFp1h8tgYGAfqFDszTM8CSukcraBplj15K9R0Hf7E0gZaPE8shlwjpqA0l1CN+aMdIo+cORRSymwZCvODm8UhO/CjX94DIOVhdsXsmqI/IPb0Ym1OHSY9EIcxj8cIT03IgfGr1vF3QWLOUw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tMcUN-0001D4-2Y; Sat, 14 Dec 2024 19:28:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74878] [PATCH 1/2] scripts: substitute: Report the number of substitutes being updated. Resent-From: Richard Sent Original-Sender: "Debbugs-submit" Resent-CC: guix@cbaines.net, dev@jpoiret.xyz, ludo@gnu.org, othacehe@gnu.org, zimon.toutoune@gmail.com, me@tobias.gr, guix-patches@gnu.org Resent-Date: Sun, 15 Dec 2024 00:28:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74878 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74878@debbugs.gnu.org Cc: Richard Sent , Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-Xcc: Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by 74878-submit@debbugs.gnu.org id=B74878.17342224574594 (code B ref 74878); Sun, 15 Dec 2024 00:28:03 +0000 Received: (at 74878) by debbugs.gnu.org; 15 Dec 2024 00:27:37 +0000 Received: from localhost ([127.0.0.1]:48852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMcTw-0001Bw-L6 for submit@debbugs.gnu.org; Sat, 14 Dec 2024 19:27:36 -0500 Received: from mail-108-mta241.mxroute.com ([136.175.108.241]:34111) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMcTr-0001Bc-9Y for 74878@debbugs.gnu.org; Sat, 14 Dec 2024 19:27:32 -0500 Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta241.mxroute.com (ZoneMTA) with ESMTPSA id 193c7b6896e0003e01.001 for <74878@debbugs.gnu.org> (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Sun, 15 Dec 2024 00:27:29 +0000 X-Zone-Loop: 36b8ea912e7a39a46be1700b3efaa1e9cd73eb99bee3 X-Originating-IP: [136.175.111.3] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freakingpenguin.com; s=x; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=trLIytZyzeRRY8kofF2FPhW2GGFVVqkwZIreFFBfTCI=; b=KO9TwjOBymFjr54/ZaB+oH/te+ 7cvN+NizysX8TvIg2ROI2sx3l4orjf3sYD64WXFgz8KE8Smx+xm1xD/uH+d1Rn8gGfa/PP6EOwX9G NfF7+KrSl2SiWuMjsOn5kmV4SxuncHf1pmUDNdkw15GgcuDnG0pcYnaNz2YsnWaX1jVEGGrFyJTRR Mt8baGkvi5IZHzjos1+SqfY1uMv9bn1td8fLnWS75yzyKMuJZ99viXm9khjOZl0oNyh+sOpxxjL+u 0Vvxxk3Uel1uZYMXmeuJYwp0jw0Rcv5uKTvhU93OFIQMA6IRBY4hKnZEKdLWz/53QgfHeG5dWRTtM FcLgm3TQ==; From: Richard Sent Date: Sat, 14 Dec 2024 19:26:46 -0500 Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Authenticated-Id: richard@freakingpenguin.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 9105154266 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -2.85 X-Spam-Score: -2.85 X-TUID: /GKQSH2pWGTK * 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