From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +UwvOHAfAmSH8QAAbAwnHQ (envelope-from ) for ; Fri, 03 Mar 2023 17:25:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8KvvN3AfAmQ9bgEA9RJhRA (envelope-from ) for ; Fri, 03 Mar 2023 17:25:20 +0100 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 A00EE385F6 for ; Fri, 3 Mar 2023 17:25:20 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=d+0r+MuK; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677860720; h=from:from:sender:sender:reply-to: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=leUyER2jwvxE0l2dGwemtm3Kf1YeSp6jangTxXsgmxE=; b=aL67hNucJdFDBlVNZ4Ko5t0Db+W+ycjvvmraH5PsvHSQLf/EjTayVsRXVRUhfCpgPob9Q9 rpGGgDzexKmAwoByGUNWB3m8Zx9UURI8pQlg1YjTgsE3Rnipv2yBAEI0VKgYqJtJXQDcgW nOxFESfoVw1K6LP+GEURyDbhYMm5BpH88CiMV/ABQoiE8tL8JQP5PIWXFuWgACjF8NxV6A PmtE8iwHxANofqEzjis2r84Bzf3oC4Lih6SjSwgRfS8nL5QRlOqEUYi+TStE31PnIN/py/ N0JvpZ56U4pQQnY8PhMwc/LfwOuR4meTZMNJYXKoc4a7p7+5CZRogJ+5R+e7cA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=d+0r+MuK; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677860720; a=rsa-sha256; cv=none; b=X98Tz66h/ZlDeAy3hURJZbaxsm7PBYyMH6uKWjWh38Nbml78zZJsQDsTI14NXSACr1cBgl EL4RAB/vy4kHJZ9OTyvL4tBlICpeyeIb1LUPinZS9B3U772+Cudzr+NOrcVObNhatP3U6J ZLe3609cjo1K2YrFn1g7FiOQI6DQvqxGd5YSAFv2xNyEUuNxBSyEPxU8R/U0Q/Sq34QJdy 8RXFo1v6dTJxHxh/+EVpWEbDsVJN/wXRl3Eq5q7KLSht/N86mkTXjD7h4poE3HzeHj0yTr scBzFvYtUPOZtHFkvs2sgmpBUMBKBBUPHD3nbL0AxNDPbKWCPELSm6A3cVA4xQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pY8DQ-0004rh-Ub; Fri, 03 Mar 2023 11:25:04 -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 1pY8DP-0004rC-DT for guix-patches@gnu.org; Fri, 03 Mar 2023 11:25:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pY8DP-0002Y4-1P for guix-patches@gnu.org; Fri, 03 Mar 2023 11:25:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pY8DO-0004zd-Gi for guix-patches@gnu.org; Fri, 03 Mar 2023 11:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60564] [PATCH] scripts: refresh: Add -T option. References: <20230105011032.18623-1-jgart@dismail.de> In-Reply-To: <20230105011032.18623-1-jgart@dismail.de> Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 03 Mar 2023 16:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60564 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60564@debbugs.gnu.org Cc: Josselin Poiret , jgart , Maxim Cournoyer Received: via spool by 60564-submit@debbugs.gnu.org id=B60564.167786068819163 (code B ref 60564); Fri, 03 Mar 2023 16:25:02 +0000 Received: (at 60564) by debbugs.gnu.org; 3 Mar 2023 16:24:48 +0000 Received: from localhost ([127.0.0.1]:33786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pY8DA-0004yw-9J for submit@debbugs.gnu.org; Fri, 03 Mar 2023 11:24:48 -0500 Received: from mx1.dismail.de ([78.46.223.134]:47677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pY8D8-0004yh-7N for 60564@debbugs.gnu.org; Fri, 03 Mar 2023 11:24:47 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 622ab1fa; Fri, 3 Mar 2023 17:24:38 +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=eKz4qnQi8ZsczcWdQKCcUcpez11V9OrTkvsyUC9vZzs=; b= d+0r+MuK6TsNuBzdk+rCDxJMiukbDJZRURHV/K6jPu20uJN2YFE6hKzQ8l0dGonw nPtpKaLGMIBJ5u4rMka6vZ+C9aEfWo6ktOQFKTT9doyKXmZe6JTWvwvzavEfuFV0 7xYWV8CXPDwUnJsSMR9Trr5Qz9AWHoHTfd15oAWwY/Dm6nZCTfU0hts6lX+dG7Ps BW0/lqh4TMuQqIZLU9rD66kJW2CWn+W62/k9MhvJludzI+P+HO0Gvt6FlKcRo67Z 2kLHNv+Y2L1rH5iQqA3pTRXiJvG2CFbpmP15NkHVX55QABppotL/J8QLSif2wUCu qPNcW/E35gybvjR9gEKkYg== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id e5b12f30; Fri, 3 Mar 2023 17:24:38 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 137534bd; Fri, 3 Mar 2023 17:24:38 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 26ce84b7 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 3 Mar 2023 17:24:37 +0100 (CET) Date: Fri, 3 Mar 2023 17:21:36 +0100 Message-Id: <20230303162135.2864-1-jgart@dismail.de> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 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: , Reply-to: jgart X-Migadu-Spam-Score: -0.30 X-Spam-Score: -0.30 X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: A00EE385F6 X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: NjTh9faq2D1P * doc/guix.texi (Invoking guix refresh): Document the -T option. * guix/scripts/refresh.scm (%options): Add the -T flag. --- Hi Josselin and Maxim > I wonder if this option is common enough to need a dedicated short > switch? I would probably use the option more if it had a short option ;() I think that it is useful. What would be the negative of adding the short option for it? all best, jgart 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 6ff525d0ff..25bbd75f04 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -14327,6 +14327,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.39.1