GNU bug report logs - #60564
[PATCH] scripts: refresh: Add -T option.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: jgart <jgart@HIDDEN>; Keywords: patch; dated Thu, 5 Jan 2023 01:12:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 60564 <at> debbugs.gnu.org:


Received: (at 60564) by debbugs.gnu.org; 11 Jan 2023 19:44:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 11 14:44:09 2023
Received: from localhost ([127.0.0.1]:43929 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pFh16-0003P9-Pc
	for submit <at> debbugs.gnu.org; Wed, 11 Jan 2023 14:44:09 -0500
Received: from mail-qt1-f174.google.com ([209.85.160.174]:44606)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1pFh14-0003OW-81
 for 60564 <at> debbugs.gnu.org; Wed, 11 Jan 2023 14:44:06 -0500
Received: by mail-qt1-f174.google.com with SMTP id fa5so9291509qtb.11
 for <60564 <at> debbugs.gnu.org>; Wed, 11 Jan 2023 11:44:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:user-agent:message-id:in-reply-to:date:references
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=wvDx+2DzZAu/KwIKpYVPZ573/+c7nsCje/FtFWxEVUQ=;
 b=gVWuRC/YxjuU9OLlpH/ltf1hIaTzeNdPIycX2MmhbtpNPdw5j/cU5PzbjiethvJaO6
 qM19m8ljwh8gpmcUpORdo1PY0KJfPmr//HygFzaMqS4s2AVXrn5G6koJ/wsJDnFrjZPv
 8K5kjt+W8oNjmUh73Lc7uCED3jT+aCiy4G/oN6a2pq+DPSLCG88P+KmE4gFljMnDxe0i
 LTQDM0qZjF1nW92ZjVdN19jR7cxlROkV8I06nHZWhrzNGxS8QPHKdsb21JH7/lpGRodC
 BPyphEsl2e/7XsCQaywSzc3v789CtaiIdIXixRCu7oBfFhc4IrlpMlUIV9tKx2/SsgCM
 DoOA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:user-agent:message-id:in-reply-to:date:references
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=wvDx+2DzZAu/KwIKpYVPZ573/+c7nsCje/FtFWxEVUQ=;
 b=gRo6VXv8Wgxs4vJUijQMBOvzwgDvybYJ2mUDF6xxq8ikIk4YOXew9ubgX9l0ouRGlu
 16HV7TMXoNgqORbsRz3fa2tbs38wX3Mw+J2X+8T0THdogs+e7XHg+76iBlValbl9a7+R
 50DzDSHjGBcxcaaqdN+bmEhOuYMGazQaEmZ6M1FGz/eT9z/YudKFqxekjUV7Hl9YGfYt
 tKOSV4ZniTY8Bo+Zm3jqhKLhFcMZz81bM0i3Ba45HbruZVtNVA9UU5z34XckqDyCVXTE
 lqBJXT4/hYLe36Xwzgbk6gn01sYsrI2MyquNcmeKfHh8DNcLerGEFdiBACXLQ+Wx6Phc
 fSPQ==
X-Gm-Message-State: AFqh2krFYPBzG7RLm9dKmPcI5W+XPA7RjpOuHqw6QNY1CdSOzZU8rPzs
 LEqEcAI5/IKPah2sIrprgAtdMO/zJOAYUC4F
X-Google-Smtp-Source: AMrXdXsyo8wPYP7IZlX4PyD7Uw30bUZvSV7sWPX6ePVXeTB7B55rOKpbeDSPHBPWwLE9wVnOV5UY+w==
X-Received: by 2002:ac8:1e19:0:b0:3a7:242:501 with SMTP id
 n25-20020ac81e19000000b003a702420501mr110800778qtl.46.1673466240542; 
 Wed, 11 Jan 2023 11:44:00 -0800 (PST)
Received: from hurd (dsl-159-79.b2b2c.ca. [66.158.159.79])
 by smtp.gmail.com with ESMTPSA id
 g16-20020a05620a40d000b007055fa93060sm9599284qko.79.2023.01.11.11.43.59
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 11 Jan 2023 11:44:00 -0800 (PST)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: jgart <jgart@HIDDEN>
Subject: Re: bug#60564: [PATCH] scripts: refresh: Add -T option.
References: <20230105011032.18623-1-jgart@HIDDEN>
Date: Wed, 11 Jan 2023 14:43:59 -0500
In-Reply-To: <20230105011032.18623-1-jgart@HIDDEN> (jgart@HIDDEN's
 message of "Wed, 4 Jan 2023 19:10:32 -0600")
Message-ID: <87wn5shn5s.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 60564
Cc: 60564 <at> debbugs.gnu.org
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 (-)

Hi,

jgart <jgart@HIDDEN> writes:

> * doc/guix.texi (Invoking guix refresh): Document the -T option.
> * guix/scripts/refresh.scm (%options): Add the -T flag.
> ---
>  doc/guix.texi            | 1 +
>  guix/scripts/refresh.scm | 4 ++--
>  2 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/doc/guix.texi b/doc/guix.texi
> index 96b4675a01..e3ecf1f148 100644
> --- a/doc/guix.texi
> +++ b/doc/guix.texi
> @@ -14197,6 +14197,7 @@ for compatibility with an upgraded @code{flex} package.
>  @table @code
>  
>  @item --list-transitive
> +@item --T

The above should be -T, right?

I wonder if this option is common enough to need a dedicated short
switch?  I use it sparingly myself; typically I use '-l' to know which
packages I'd impact.

The rest looks OK.

-- 
Thanks,
Maxim




Information forwarded to guix-patches@HIDDEN:
bug#60564; Package guix-patches. Full text available.

Message received at 60564 <at> debbugs.gnu.org:


Received: (at 60564) by debbugs.gnu.org; 5 Jan 2023 01:35:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 04 20:35:44 2023
Received: from localhost ([127.0.0.1]:49938 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pDFAW-0005iz-1f
	for submit <at> debbugs.gnu.org; Wed, 04 Jan 2023 20:35:44 -0500
Received: from sail-ipv4.us-core.com ([208.82.101.137]:52548)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <felix.lechner@HIDDEN>) id 1pDFAS-0005ip-Ss
 for 60564 <at> debbugs.gnu.org; Wed, 04 Jan 2023 20:35:42 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=9pjWcz5NGfkpzUq
 Gbz89pmmRfih2SZUy5nmirXF32oY=; h=date:subject:cc:to:from;
 d=lease-up.com; b=MPjBX7jGjnXfp//BXdK1g9zb4hBquJSDTM7xQvrCOkCo9xdSc9Vc
 xKjYZNjesjT2+Oe4YcTbcdDUaagoLXxUgC8PhEaCpJELWRhBJnUKEBHriKa9fSu62z3lMu
 COYpTmTkCD+krUgo6DlBPrqC2NzSrcmyjU9tXMX/9FGhzrW0w=
Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id a42fa84c
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); 
 Thu, 5 Jan 2023 01:35:38 +0000 (UTC)
From: Felix Lechner <felix.lechner@HIDDEN>
To: 60564 <at> debbugs.gnu.org
Subject: Probably a lost battle
Date: Wed, 04 Jan 2023 17:35:27 -0800
Message-ID: <87358ppxuo.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 60564
Cc: jgart@HIDDEN
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 (-)

Hi,

Would the meaning of that option be more accessible to people without a
mathematics background, if it were called

  --list-prerequisites   ?

Kind regards,
Felix Lechner




Information forwarded to guix-patches@HIDDEN:
bug#60564; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Jan 2023 01:11:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 04 20:11:11 2023
Received: from localhost ([127.0.0.1]:49932 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pDEmk-00058B-Pb
	for submit <at> debbugs.gnu.org; Wed, 04 Jan 2023 20:11:11 -0500
Received: from lists.gnu.org ([209.51.188.17]:48508)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jgart@HIDDEN>) id 1pDEmj-000584-7L
 for submit <at> debbugs.gnu.org; Wed, 04 Jan 2023 20:11:09 -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 <jgart@HIDDEN>) id 1pDEmi-0007pP-Oj
 for guix-patches@HIDDEN; Wed, 04 Jan 2023 20:11:09 -0500
Received: from mx1.dismail.de ([78.46.223.134])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jgart@HIDDEN>) id 1pDEme-00033o-9G
 for guix-patches@HIDDEN; Wed, 04 Jan 2023 20:11:08 -0500
Received: from mx1.dismail.de (localhost [127.0.0.1])
 by mx1.dismail.de (OpenSMTPD) with ESMTP id 3e96b1ee
 for <guix-patches@HIDDEN>; Thu, 5 Jan 2023 02:10:58 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc
 :subject:date:message-id:mime-version:content-transfer-encoding;
 s=20190914; bh=ykMvSlSkofuS2mnEdvBtdT83pvdpanWQRum445nKwm4=; b=
 NivufBV3FzKAG3gfgEsLAD6ALh0g8DysFeJH59Z2bRPhLw6pVXd377vDQep88oXL
 AGUwmetTEtK42PR9OCXiiuKUyERZS31qM6eIo2t/hGiWzhq3AhpNDXuxaqAzYwV2
 stMAeBDjvCeu7c5jItuw6iri7dSY2Q6CCNxIlZBf50dDRMqOFJ11Ja5JlXe9WmCQ
 87TRU01+kRrkTnQ0QOmDBE2fDVFJEnIFzAeiK0KibSfMMalpDCs2k3IUjDQbT4vW
 i+Wa85o+LJEaoQ8mdOAYRZa97GebLeJPq0ZCvZRFwfiJA7yRdAaMPyyA5t8gw9PD
 07udElnAG/rnH6F5LE2/GQ==
Received: from smtp1.dismail.de (<unknown> [10.240.26.11])
 by mx1.dismail.de (OpenSMTPD) with ESMTP id 53ce1f2d
 for <guix-patches@HIDDEN>; Thu, 5 Jan 2023 02:10:58 +0100 (CET)
Received: from smtp1.dismail.de (localhost [127.0.0.1])
 by smtp1.dismail.de (OpenSMTPD) with ESMTP id 7e821556
 for <guix-patches@HIDDEN>; Thu, 5 Jan 2023 02:10:58 +0100 (CET)
Received: by dismail.de (OpenSMTPD) with ESMTPSA id 05bc7e1d
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Thu, 5 Jan 2023 02:10:53 +0100 (CET)
From: jgart <jgart@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] scripts: refresh: Add -T option.
Date: Wed,  4 Jan 2023 19:10:32 -0600
Message-Id: <20230105011032.18623-1-jgart@HIDDEN>
X-Mailer: git-send-email 2.38.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@HIDDEN;
 helo=mx1.dismail.de
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
Cc: jgart <jgart@HIDDEN>
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 (--)

* doc/guix.texi (Invoking guix refresh): Document the -T option.
* guix/scripts/refresh.scm (%options): Add the -T flag.
---
 doc/guix.texi            | 1 +
 guix/scripts/refresh.scm | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 96b4675a01..e3ecf1f148 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -14197,6 +14197,7 @@ for compatibility with an upgraded @code{flex} package.
 @table @code
 
 @item --list-transitive
+@item --T
 List all the packages which one or more packages depend upon.
 
 @example
diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm
index 6498d73c2b..6b633840e0 100644
--- a/guix/scripts/refresh.scm
+++ b/guix/scripts/refresh.scm
@@ -101,7 +101,7 @@ (define %options
         (option '(#\r "recursive") #f #f
                 (lambda (opt name arg result)
                   (alist-cons 'recursive? #t result)))
-        (option '("list-transitive") #f #f
+        (option '(#\T "list-transitive") #f #f
                 (lambda (opt name arg result)
                   (alist-cons 'list-transitive? #t result)))
 
@@ -159,7 +159,7 @@ (define (show-help)
   (display (G_ "
   -r, --recursive        check the PACKAGE and its inputs for upgrades"))
   (display (G_ "
-      --list-transitive  list all the packages that PACKAGE depends on"))
+  -T, --list-transitive  list all the packages that PACKAGE depends on"))
   (newline)
   (display (G_ "
       --keyring=FILE     use FILE as the keyring of upstream OpenPGP keys"))
-- 
2.38.1





Acknowledgement sent to jgart <jgart@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#60564; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 11 Jan 2023 19:45:02 UTC

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