GNU logs - #63036, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63036: -v or --verbose CLI argument input is undocumented in the CLI
Resent-From: "jgart" <jgart@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 23 Apr 2023 15:28:02 +0000
Resent-Message-ID: <handler.63036.B.168226367113505 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 63036
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 63036 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.168226367113505
          (code B ref -1); Sun, 23 Apr 2023 15:28:02 +0000
Received: (at submit) by debbugs.gnu.org; 23 Apr 2023 15:27:51 +0000
Received: from localhost ([127.0.0.1]:46754 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pqbd0-0003Vl-LW
	for submit <at> debbugs.gnu.org; Sun, 23 Apr 2023 11:27:50 -0400
Received: from lists.gnu.org ([209.51.188.17]:50152)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jgart@HIDDEN>) id 1pqbcy-0003Vd-KM
 for submit <at> debbugs.gnu.org; Sun, 23 Apr 2023 11:27:49 -0400
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 <jgart@HIDDEN>) id 1pqbcx-0005lD-Ra
 for bug-guix@HIDDEN; Sun, 23 Apr 2023 11:27:48 -0400
Received: from mx2.dismail.de ([159.69.191.136])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jgart@HIDDEN>) id 1pqbcv-0004qj-VB
 for bug-guix@HIDDEN; Sun, 23 Apr 2023 11:27:47 -0400
Received: from mx2.dismail.de (localhost [127.0.0.1])
 by mx2.dismail.de (OpenSMTPD) with ESMTP id bf920c82;
 Sun, 23 Apr 2023 17:27:42 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=
 mime-version:date:content-type:content-transfer-encoding:from
 :message-id:subject:to; s=20190914; bh=lCD0AogwK6qdq61j0VK753OBE
 b92cqLIBQREA9wMpqQ=; b=OrPTsDdu1Z91MMBLJOORIhLtQC+edWI9tqWQ59bTy
 0qzO5rgZ2jQJO1FnfA9CjJYOO0LDvO3Q3Nk2BucUcZv4cKsd+hT5BFEdGDALMO/R
 no3asQL1Cv/PBA51fEWqdKjbT/FDpkxB9QNnIwMh1JM+gC4EFMqdvobmjb9jZLdW
 E7uLyyr0zQmckMa7Jb09sXa9Cpts/6UTP3NEMn9hNS+qEMKNMt/P1DcBgFF1J2ua
 H4hgyPrfRK1I7hnxxG4880FD15Ap7DWLqEPxOY+rwoyUytaT44eKyJn/PmCXFds4
 DeQcoaMD965gKlZZDIs4O3KSfWLK9q5pVaQVsnoM1f/uw==
Received: from smtp1.dismail.de (<unknown> [10.240.26.11])
 by mx2.dismail.de (OpenSMTPD) with ESMTP id c5062de4;
 Sun, 23 Apr 2023 17:27:38 +0200 (CEST)
Received: from smtp1.dismail.de (localhost [127.0.0.1])
 by smtp1.dismail.de (OpenSMTPD) with ESMTP id fcef4bf9;
 Sun, 23 Apr 2023 17:27:37 +0200 (CEST)
Received: by dismail.de (OpenSMTPD) with ESMTPSA id d2144d4d
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Sun, 23 Apr 2023 17:27:36 +0200 (CEST)
MIME-Version: 1.0
Date: Sun, 23 Apr 2023 15:27:36 +0000
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: RainLoop/1.17.0
From: "jgart" <jgart@HIDDEN>
Message-ID: <00781330fbd65f97724d7c93d9b87f09@HIDDEN>
Received-SPF: pass client-ip=159.69.191.136; envelope-from=jgart@HIDDEN;
 helo=mx2.dismail.de
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

User story:

jgart tries to build a currently broken Python music package:

$ guix build -v 6 music21

Hmmm, what is the allowed input range for -v/--verbosity command line fla=
g?

$ guix build --help
-v, --verbosity=3DLEVEL  use the given verbosity LEVEL

Hmmm, what is the type and/or range of inputs that are valid for LEVEL?=
=20

Darn,=20I have to go find what the underlying implementation function tak=
es as a valid verbosity level in the source code instead of just reading =
the documentation output of `guix build --help`.=20

...but=20I just want to know everything that I need to know from just usi=
ng the CLI and its help system as the user.

jgart adds TODO to document the valid levels in the CLI verbosity option =
itself

jgart thinks but what if the help message on the valid levels is too long=
 once added?

jgart goes to get ice cream




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: "jgart" <jgart@HIDDEN>
Subject: bug#63036: Acknowledgement (-v or --verbose CLI argument input is
 undocumented in the CLI)
Message-ID: <handler.63036.B.168226367113505.ack <at> debbugs.gnu.org>
References: <00781330fbd65f97724d7c93d9b87f09@HIDDEN>
X-Gnu-PR-Message: ack 63036
X-Gnu-PR-Package: guix
Reply-To: 63036 <at> debbugs.gnu.org
Date: Sun, 23 Apr 2023 15:28:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 63036 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
63036: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D63036
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#63036: -v or --verbose CLI argument input is undocumented in the CLI
Resent-From: Simon Tournier <zimon.toutoune@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 27 Apr 2023 13:21:02 +0000
Resent-Message-ID: <handler.63036.B63036.16826016071515 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63036
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: jgart <jgart@HIDDEN>, 63036 <at> debbugs.gnu.org
Received: via spool by 63036-submit <at> debbugs.gnu.org id=B63036.16826016071515
          (code B ref 63036); Thu, 27 Apr 2023 13:21:02 +0000
Received: (at 63036) by debbugs.gnu.org; 27 Apr 2023 13:20:07 +0000
Received: from localhost ([127.0.0.1]:57775 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ps1Xb-0000OG-5p
	for submit <at> debbugs.gnu.org; Thu, 27 Apr 2023 09:20:07 -0400
Received: from mail-wm1-f54.google.com ([209.85.128.54]:39326)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1ps1XZ-0000NX-CZ
 for 63036 <at> debbugs.gnu.org; Thu, 27 Apr 2023 09:20:05 -0400
Received: by mail-wm1-f54.google.com with SMTP id
 5b1f17b1804b1-3f17b5552e9so20135595e9.1
 for <63036 <at> debbugs.gnu.org>; Thu, 27 Apr 2023 06:20:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1682601600; x=1685193600;
 h=mime-version:message-id:date:references:in-reply-to:subject:to:from
 :from:to:cc:subject:date:message-id:reply-to;
 bh=zFnrwNzbjXTDPP24pF6tw5ZTlnCAkxiDUaHXlv6yY+o=;
 b=iSDjazIBjqWJo26kgUtJPxnIV0k5REyxj3VR1oj0TKWa2LBWx5sJPiB7ap/OBHDwqH
 QmYUyf3++s3oAvc2hIgkbnBV87M/NgBCDnxjoulgs1B8ObluhN8Y7L6NPbWKYubWTQH4
 q48x1hwZlWuFixB02KvTS1GO1RtU5wm0ES5blz/nGxDDoTcx62qS4FKn9rpBBxVQ7C/l
 e6mjSLUB8ofKGbRNl7YLdI6lgbjO9a6dm5qqv1a0ckDCTSDsPMh8nbLOSe6vksOanW2i
 VSx/X7qwAU3eOSq65E4KWcykjnto1D9nR2JTzoYeQjbwYHQhhHjHUu07tY49k/JD2SlT
 ebug==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1682601600; x=1685193600;
 h=mime-version:message-id:date:references:in-reply-to:subject:to:from
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=zFnrwNzbjXTDPP24pF6tw5ZTlnCAkxiDUaHXlv6yY+o=;
 b=V2B8Z1Bb2J7JaFOiZaU89urTDLMyXusE2uZt2RL120CkxVlyU6wc11a8pj53o6617P
 jO1ifGr/pHKMTTOkGwcWEM+ol6zn/MfoL8HE5T5LlzOJvDjGDULWzpzosX2ZFgteX1b+
 ZTIWfQpHukIF+ApTGSXy1AvnJOHSTn01hJa9wTYCqc/bNeaOfprvHLV33kJi7QfBcRXK
 uNdA3TLpDOeXNyXUVqAo1ZdFz3+n+xBy7WeL/mOiKmupnoMG0nZ/6HzcgJdjknLK3xFs
 xa2ETT+elPCclzdfrBAroWh8MXhrb5fTbkASb4usfbr4/0UMHeW9zYdCdFWqAUivMtEM
 Dyng==
X-Gm-Message-State: AC+VfDzcC9hUuGrP2bTtANdWpAn+rYiqt09WbMWEZnZqgsBPfoo1rKBo
 GAWB4nDvVWKnieK4+ZygI2pIvVz/b9I=
X-Google-Smtp-Source: ACHHUZ7FTblpA+SviRtwwSPKP0wpM0G0MmRndyGzsk5IwRx2INdU6wNGzAZH5MEdQPlpAj5wWzzcOA==
X-Received: by 2002:a05:600c:4f47:b0:3f1:7138:91ee with SMTP id
 m7-20020a05600c4f4700b003f1713891eemr1631345wmq.2.1682601599568; 
 Thu, 27 Apr 2023 06:19:59 -0700 (PDT)
Received: from lili (roam-nat-fw-prg-194-254-61-41.net.univ-paris-diderot.fr.
 [194.254.61.41]) by smtp.gmail.com with ESMTPSA id
 x24-20020a1c7c18000000b003f183127434sm21292549wmc.30.2023.04.27.06.19.59
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 27 Apr 2023 06:19:59 -0700 (PDT)
From: Simon Tournier <zimon.toutoune@HIDDEN>
In-Reply-To: <00781330fbd65f97724d7c93d9b87f09@HIDDEN>
References: <00781330fbd65f97724d7c93d9b87f09@HIDDEN>
Date: Tue, 25 Apr 2023 14:36:24 +0200
Message-ID: <86cz3sb0l3.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain

Hi,

On Sun, 23 Apr 2023 at 15:27, "jgart" via Bug reports for GNU Guix <bug-guix@HIDDEN> wrote:

> Hmmm, what is the type and/or range of inputs that are valid for
> LEVEL?

What about this patch?


--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline; filename=p.patch
Content-Description: p.patch

diff --git a/guix/scripts/build.scm b/guix/scripts/build.scm
index 72a24f91ac..35cb888c3b 100644
--- a/guix/scripts/build.scm
+++ b/guix/scripts/build.scm
@@ -452,8 +452,10 @@ (define (show-help)
   -r, --root=FILE        make FILE a symlink to the result, and register it
                          as a garbage collector root"))
   (display (G_ "
-  -v, --verbosity=LEVEL  use the given verbosity LEVEL"))
-  (display (G_ "
+  -v, --verbosity=LEVEL  use the given verbosity LEVEL, range 0-3
+                         0 = no output, 1 = quiet, 2 = 1 + download URLs,
+                         3 = all on standard error"))
+    (display (G_ "
   -q, --quiet            do not show the build log"))
   (display (G_ "
       --log-file         return the log file names for the given derivations"))

--=-=-=
Content-Type: text/plain



Cheers,
simon

--=-=-=--





Last modified: Thu, 27 Apr 2023 13:30:02 UTC

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