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 wH8oKRD4WmNikwAAbAwnHQ (envelope-from ) for ; Thu, 27 Oct 2022 23:28:48 +0200 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 SOEbKRD4WmMbcQEAauVa8A (envelope-from ) for ; Thu, 27 Oct 2022 23:28:48 +0200 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 3293521B4D for ; Thu, 27 Oct 2022 23:28:48 +0200 (CEST) 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 Content-Transfer-Encoding: 8bit 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" From: "\( via Guix-patches" via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666906128; 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=yIy+y38AlZqj7XlICvHiwECvQUTzlwYZ7WppImtKat0=; b=t0tetVpW+rJEhySYFMUKGSCe1K8slDHRjAeXLfQ5LOeSBu8+PDPiu6Lu0l/8FALh5xM8zh HjPfotXbGfqjleSrOnQmcPjCuDVvTPflathIEMMuiIIsNE4incZUVuSxUDKWLyAB4rcIuw TOmlF3YMnN7zQLKmtgRJFXwDqL9MRAv1m2MgAMjWA0gKZg3CkZIemA0rBuAC7ZE+wLSpD9 BCuOOJG/Ml4z/Sv0RuFL9HHR07C9OaWVj9sKC1pku0XgXixxLjNf8k5XfX9bwYOj7LZwsK dnQNSo7APFkevvUzSZWtviBl4c5LcaSQ3Q9qpjRPdMORp8PYSgVhXF1t4vbsdg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666906128; a=rsa-sha256; cv=none; b=msLpVDm26Pad2gl59V1ZoHPCYfth/qqIT98p48lVZ6iXvwmW5gjASWGsMNGPAor9NkhCfM yPvbirXEzxcf4lQnY9HLPH9jytaV+AAg+59MAtdn6c01/3FJ5VU9Zq9Twbg34+DDWVoNrt X91IupUHMY1J0pdDvqriYUofWG9CKQX1Su0kcd5Sz7TIaLCQ1BAU943PFQNabQ5G41c9+7 D8p90Tq+AtwKENJIHLD50NS/UmAieNxkIPZhO3/7ZtrrhEZsbPKhOdC13u1NHwrqhl5LIM FXU6Ek8aUKRPK6c9qCjklwpgf16Pu3Di3kUjtjo7BhCDXFOTtYyNJhmVkuGPRg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b="f/yk4mBY"; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -1.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b="f/yk4mBY"; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 3293521B4D X-Spam-Score: -1.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7CHww+1jNd4i 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 -- 2.38.0