From patchwork Thu Oct 27 21:27:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\\(" X-Patchwork-Id: 1057 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 054C227BBEA; Thu, 27 Oct 2022 22:28:52 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 97A5A27BBE9 for ; Thu, 27 Oct 2022 22:28:48 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooAQ6-0005zZ-NS; Thu, 27 Oct 2022 17:28:10 -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 ) id 1ooAPz-0005xi-2H for guix-patches@gnu.org; Thu, 27 Oct 2022 17:28:08 -0400 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 1ooAPy-0005MJ-PS for guix-patches@gnu.org; Thu, 27 Oct 2022 17:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ooAPy-0003Se-9X for guix-patches@gnu.org; Thu, 27 Oct 2022 17:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58824] [PATCH 0/1] scripts: refresh: Support --list-dependent=packages. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 27 Oct 2022 21:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58824 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58824@debbugs.gnu.org Cc: Vagrant Cascadian , "\(" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166690605513267 (code B ref -1); Thu, 27 Oct 2022 21:28:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Oct 2022 21:27:35 +0000 Received: from localhost ([127.0.0.1]:59492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooAPX-0003Rv-Ap for submit@debbugs.gnu.org; Thu, 27 Oct 2022 17:27:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:54610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooAPV-0003Ro-Ol for submit@debbugs.gnu.org; Thu, 27 Oct 2022 17:27:34 -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 ) id 1ooAPU-0005gT-HN for guix-patches@gnu.org; Thu, 27 Oct 2022 17:27:33 -0400 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooAPH-0005HK-EN for guix-patches@gnu.org; Thu, 27 Oct 2022 17:27:32 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 34BDD4E841; Thu, 27 Oct 2022 23:27:16 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lVGLinmwcwSi; Thu, 27 Oct 2022 23:27:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1666906035; bh=NtQTLP2AnTFk20q2cBsqE03zjCAxqGAEBuMETKFtutw=; h=From:To:Cc:Subject:Date; b=f/yk4mBYTj8NiIaeIOMtLVbxcRI3vj8vepOLQgfySeeijP5HhdrG0+zuUs1LiQlRU tiLcBfH9OSSJD1Mq2g291lsBF9ahWiTaP3s8PNBGbsCVFBvIKhiDx5fnVxBKDVskcP xrvH9f6DkHlSkD2D48MhYQ+boOljnbzew/zLe5hCn3Gg2kJtSynmXH4fh3iUII8VZr ikNJlRKZ+YBfus5Ay36uJn6QSnn+19o7Wqp3jVhizYG/1bdahO3O7Kwk2KHKWieY+R wSJIsEhGQJ4qCYj7Tz0YLo2zabzudUod5hSSKXE+ntW3JLOX4U/VcUJpzakteZUbKy vGqzXy3z+pf7w== Date: Thu, 27 Oct 2022 22:27:06 +0100 Message-Id: <20221027212706.21680-1-paren@disroot.org> Mime-Version: 1.0 Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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: , Sender: "Guix-patches" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" X-Patchwork-Original-From: "\( via Guix-patches" via From: "\\(" Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Heya Guix, This patch adds support for passing the string "packages" to ``guix refresh'''s ``--list-dependent'' argument, which displays only the packages, with no "XXX packages will be rebuilt:" header. This allows us to perform substitutions like this: guix build $(guix refresh --list-dependent=packages gtk) to, for example, build all the dependents of ``gtk''. ( (1): scripts: refresh: Support --list-dependent=packages. guix/scripts/refresh.scm | 61 ++++++++++++++++++++++++---------------- 1 file changed, 37 insertions(+), 24 deletions(-) base-commit: f928abac369f699f425ddee925d0d0c2dc0a635d