From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aPwJI/QjtmPMWgEAbAwnHQ (envelope-from ) for ; Thu, 05 Jan 2023 02:12:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id ULDDIvQjtmPocQEAauVa8A (envelope-from ) for ; Thu, 05 Jan 2023 02:12: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 E0B3CE678 for ; Thu, 5 Jan 2023 02:12:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pDEni-0007tN-AN; Wed, 04 Jan 2023 20:12:10 -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 1pDEnc-0007t4-Pv for guix-patches@gnu.org; Wed, 04 Jan 2023 20:12:04 -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 1pDEna-0003GF-Fr for guix-patches@gnu.org; Wed, 04 Jan 2023 20:12:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pDEna-00059R-2D for guix-patches@gnu.org; Wed, 04 Jan 2023 20:12:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60564] [PATCH] scripts: refresh: Add -T option. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 05 Jan 2023 01:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60564 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60564@debbugs.gnu.org Cc: jgart X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167288107119732 (code B ref -1); Thu, 05 Jan 2023 01:12:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Jan 2023 01:11:11 +0000 Received: from localhost ([127.0.0.1]:49932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDEmk-00058B-Pb for submit@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 ) id 1pDEmj-000584-7L for submit@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 ) id 1pDEmi-0007pP-Oj for guix-patches@gnu.org; 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 ) id 1pDEme-00033o-9G for guix-patches@gnu.org; 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 ; 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 ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 53ce1f2d for ; 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 ; 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) Date: Wed, 4 Jan 2023 19:10:32 -0600 Message-Id: <20230105011032.18623-1-jgart@dismail.de> 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@dismail.de; 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-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-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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672881140; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Mv/038NS9BfVLJKtSRYrWW5ODJ3Ay4Lprdm8VEE3QeA=; b=Pzag4Kr8CRQJH73TJvcaZ1NG9eq/e7umruxb/WxhTvozrbAXRfm2SCnbobHNzp2MQ2V5p6 5HIsVYn2REGWX2BfCem33lufTq45Aho6ieCyI3YO8TZmM3WiRl2iqsCOL8BR+7tyDYhfoy ULHmy08g724M1bISi81bn8B/yd+touivu8kY1fae238m9DZM9MdM+EFgEeBB483BFsO5nF MK1W33o/H66NP8k7ibBANDj50ZZ0RWgF7gUt8io9twQvllyLZGbYD/sMFngC9kxAqm6AVX w2LVDRS1GtQfcBqsRknNFv2tWb2k6z8WjzooKFm+n/OdPVgytbEM3CimzLO4tw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=NivufBV3; 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=1672881140; a=rsa-sha256; cv=none; b=L2zTJXN3tvCScrie7eEv1oJAJhgyV1y3CSiEg6exdQ3iVe7Ikww1zS64N6jsDbwmtZMDFL RPVw5Dn3y+5CdxAnj7yLoYTTxXKSepGGRXXqqQ7bRAU/B+8HNItug3nFkf3DFwQf/X+9Og rHZfcrBPUAP+hi4Zf+IUZ091FfePey+DGJLX71fPa0E/9ez65NXILTKug4VD+pu7zmhBxh ukf1mr5yBB3o561ZhzawebH2PgwDjQzRp6l4zCd73RnVo1JNzoVsRsteD7rG8wpZxLMKTr D7f81iAVFEGf0std17MwjxhW4wXHYu5jI+mCAc+Zg3dYL62fbnCDD5C/QPc+Eg== X-Spam-Score: -3.36 X-Migadu-Queue-Id: E0B3CE678 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=NivufBV3; 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 X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -3.36 X-TUID: pO8h3I6mEJ7W * 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