From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id B+CFLLx1V2AzagAA0tVLHw (envelope-from ) for ; Sun, 21 Mar 2021 16:35:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kE75J7x1V2BuJQAAbx9fmQ (envelope-from ) for ; Sun, 21 Mar 2021 16:35:08 +0000 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 5FD1A2935A for ; Sun, 21 Mar 2021 17:35:08 +0100 (CET) Received: from localhost ([::1]:47898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lO12h-0005Bh-Jh for larch@yhetil.org; Sun, 21 Mar 2021 12:35:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49198) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lO12c-0005Ba-CN for guix-patches@gnu.org; Sun, 21 Mar 2021 12:35:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43788) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lO12c-00029o-4m for guix-patches@gnu.org; Sun, 21 Mar 2021 12:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lO12c-0007n9-0s for guix-patches@gnu.org; Sun, 21 Mar 2021 12:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47295] [PATCH 0/2] Display 1 line instead of 3 for each substitute download Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 Mar 2021 16:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47295 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47295@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161634445629895 (code B ref -1); Sun, 21 Mar 2021 16:35:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Mar 2021 16:34:16 +0000 Received: from localhost ([127.0.0.1]:55334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lO11s-0007m5-CP for submit@debbugs.gnu.org; Sun, 21 Mar 2021 12:34:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:49440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lO11n-0007lv-NC for submit@debbugs.gnu.org; Sun, 21 Mar 2021 12:34:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49078) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lO11n-00059H-Dp for guix-patches@gnu.org; Sun, 21 Mar 2021 12:34:11 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41855) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lO11m-0001hU-DL; Sun, 21 Mar 2021 12:34:10 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=38566 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lO11h-00028P-4L; Sun, 21 Mar 2021 12:34:08 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Sun, 21 Mar 2021 17:33:57 +0100 Message-Id: <20210321163357.5786-1-ludo@gnu.org> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616344508; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=CocJskSrW5a150IBJ/0xRz5UcFXyRQjA94DY6rJZCQ8=; b=bOTmZZBTOvGMZYVQummmEZ4LtUUtFLF2KFKUdLCH/HVF1uwLhiPbw26E0sy65mzsEgHFEB KICr3nsJh94gCHkgKHuZJRb1uTVu3g7gVuQOVzC85QWFHVTvkyT+fUZpe3D2mAxWwHmcwj H3x2yvzJsDg4If2xx3SaFc9bF/NMS4mcbspdOzMhjjcqmMSHHixwFWODasfvShREaqLH6D aEep2B2Eq7HCPCGK2BgWyq9Gpk7whaP5eUKZr4MT53RQXVcW4z4lqEJIh96zP0S5kuWmNI 6QMOSxGmnzPCn6kOglBWF1+O/zi+77Aft7IrEl/yLywI8MZ7qgU1NzX1vfFXug== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616344508; a=rsa-sha256; cv=none; b=cMeLLME7Ka75CoH3wT+EElcTtMgYvMFGIAVeGl4SFo/eGj4xIcjg058J9Z2X0sn8jVkPs+ bKcj2YLGQszEj/MPUI/iqZQwnGLQvNSMh0yttOnYvob27LpP0wNWAdfNB3Mj2jqcPnn25r jhNNocWMvslk0DOtgbu+boN2i1pqaPh4VYzBCtey6O4oj9/67cybFNEC35Y0+gxswvDMTY PkxEZ9WNSUO+5mQ31mZUG31pzDel2P6GnBcSuyw6nNRnN3MeYja9jY4JrhFh5XHELAtOdp LnPwEvIigxRgEN36o9fSJzNaGy5xGL7bDn5RmSNhtK7O98VwjC7dsAOrwBIx4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.92 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 5FD1A2935A X-Spam-Score: -1.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: boUEzuqMqD// Hi! This change brings the number of lines printed for each substitute from 3 lines to 1, when using ‘-v1’: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix build -v1 vim-full poezio elixir ocaml --no-grafts 84.9 MB will be downloaded elixir-1.11.4 3.7MiB 6.8MiB/s 00:01 [##################] 100.0% ocaml-4.11.1 147.1MiB 19.7MiB/s 00:07 [##################] 100.0% poezio-0.13.1 967KiB 7.0MiB/s 00:00 [##################] 100.0% vim-full-8.2.2632 9.9MiB/s 00:01 | 12.7MiB transferred --8<---------------cut here---------------end--------------->8--- ‘-v2’ gives the equivalent of the current ‘-v1’, and ‘-v3’ gives the equivalent of the current ‘-v2’ (full build output). This change has been suggested multiple times in the past. I guess I was gently preventing it on the grounds that I like to see which substitute server I’m fetching from and whether it’s gzip/lzip/zstd. But let’s face it: not everyone is interested in those details, even I don’t care at time. ;-) It took me a while to realize, but I keep learning! Thoughts? Ludo’. Ludovic Courtès (2): substitute: Emit a single newline upon completion. status: Don't display download URLs for '--verbosity=1'. doc/guix.texi | 7 ++++--- guix/scripts/substitute.scm | 7 +++++-- guix/status.scm | 23 +++++++++++++++++++---- 3 files changed, 28 insertions(+), 9 deletions(-) -- 2.31.0