From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 +EinDYwofWN/6gAAbAwnHQ (envelope-from ) for ; Tue, 22 Nov 2022 20:52:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qIWmDYwofWMzLAAA9RJhRA (envelope-from ) for ; Tue, 22 Nov 2022 20:52:44 +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 EAF7821845 for ; Tue, 22 Nov 2022 20:52:43 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxZJm-0005Rb-VV; Tue, 22 Nov 2022 14:52:31 -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 1oxZJl-0005RR-8s for help-guix@gnu.org; Tue, 22 Nov 2022 14:52:29 -0500 Received: from cascadia.aikidev.net ([173.255.214.101]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxZJj-0000fM-42 for help-guix@gnu.org; Tue, 22 Nov 2022 14:52:29 -0500 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 31CB61AB53; Tue, 22 Nov 2022 11:52:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1669146740; bh=0O6hihR0LC/S8ghhlOMeq2nE3l6AH2ggopWgo0OpVT0=; h=From:To:Subject:In-Reply-To:References:Date:From; b=mN/+ob+9xl0qFSuFlHsZGJyVj3Wa3ANVq/Y5Uersbez5yKIumo7wQVuvZtbXD3b6d CrI9UslFRiADtsJNhzDl30PLnSlUUrkcQHjtJ59CbDrn8NWUxyOK1/RYrgP7v3/Alo rdr3rGG/hLIWYwzLwwzM+5CySMIC6ENmy6DK7LdTlWkTr3epcnG7aV6raIDYjWEzsh RDAv+aOxLdXQrsHhljdeNJ4Kt2++VbCEdbUHfnyj2l3005ztrbT6ipUVrsDa6nS1t1 Y3iwlaMnPOO5rb5HoPZ7bWf613Yc3LieZ9ZKUbAGh4LNcB5AiWI0M/h1Qn18GzjYqr k4dH68Z75EHkQ== From: Vagrant Cascadian To: zimoun , jgart , Guix Help Subject: Re: build all dependents? In-Reply-To: <86v8n7c8y9.fsf@gmail.com> References: <20221121190635.GB23435@dismail.de> <86v8n7c8y9.fsf@gmail.com> Date: Tue, 22 Nov 2022 11:52:15 -0800 Message-ID: <87ilj69380.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=173.255.214.101; envelope-from=vagrant@debian.org; helo=cascadia.aikidev.net 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, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-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=1669146764; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=SyR+h+Eeyzv78nGJH6/U6DQFL2RiTTpuY+C4VWbgk/8=; b=m5a4Myk7Zj3HhWvTv3KvNlltKkPyfytv4U06kfwBwkH+cXICSipBkfewQ0YxPC5VspjIu3 1yI0sMQ/38svuujxQ/UCRSowVeUawe4vGPIDnLNEuRbY6SpesD58QAG9x3qGodp3nqR6Jy 305EJ9zNUX3KlPnC08g7tQsYMj3TDomhsDHvDe0qmPLI76AaPEN8u+rYAostr2ogw+I1XJ BvpfSZy2q8w4dfw62Bhz8jMDTV0LdxvyN/sIA2zt4lSdQxy5z3XyQWtqrx8mOOA5VP1XKD TDiDZTrZPOy409lOTAkr4bOMRiZGuTdz51dwhNjNRDB1rAr2Nx8tXfs1JGldoQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669146764; a=rsa-sha256; cv=none; b=fuqY/KVrFWfcWSrkM+WGbtFigxy2bbbht81NWrtgbKj5C35xqUEs8tYJevBvxYQp/tGYnK y0yX5hKtaNRjYaj+gvsgSdPKBRcWtbDPzG9t63jVAxVzQxAL8c7/kBtzJx8fl3UYgzBxKI NXvrp0B/PnoW+A+OCDTZIITIiXYiYzrgYuMTb0eLjRGjWOqQrCPJlJQwj2M+6YKcZNYdzj +vIXLfr2MzOQtftpqQvhXCa2GIoiJQAHLaL95QGVIc0JQ9EF83vQU7Fq7tCrscGr/BnIW9 M0PvZ08XevW/ebQ8UKU/TbyV87g1VTJC6pl08TBDWzIZLTDtaQLaiBLEHF43NQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debian.org header.s=1.vagrant.user header.b="mN/+ob+9"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -6.90 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debian.org header.s=1.vagrant.user header.b="mN/+ob+9"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EAF7821845 X-Spam-Score: -6.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: B1eYfOF+ggAW --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2022-11-22, zimoun wrote: > On Mon, 21 Nov 2022 at 19:06, jgart wrote: > >> is there a command to build all dependents of a package? > > [...] > >> $ guix refresh python-identify -l >> Building the following 14 packages would ensure 28 dependent packages >> are rebuilt: python-multivelo@0.1.2 repo2docker@2021.08.0 >> python-matplotlib-documentation@3.5.2 >> python-numpy-documentation@1.21.6 jami-docs@0.0.0-0.b00574b mdpo@0.3.6 >> python-flask-combo-jsonapi@1.1.0 onionshare@2.5 python-jupytext@1.14.1 >> python-minikanren@1.0.1 python-miio@0.5.11 python-interrogate@1.5.0 >> pre-commit@2.20.0 babi@1.5.3=20 > > $ guix build $(guix refresh python-identify -l | cut -f2 -d':') This sometimes requires some manual fiddling, in my experience, e.g.: $ guix refresh --list-dependent guile-ssh Building the following 9 packages would ensure 10 dependent packages are rebuilt: cuirass@1.0.0-11.922cc66 emacs-guix@0.5.2-3.a694fdb guile-imanifest@0.0.0-0.ccd5a21 gwl@0.3.0 guix-jupyter@0.2.1 guix-build-coordinator@0-24.6fb5eaf guix-data-service@0.0.1-27.df2a0a7 hpcguix-web@0.0.1-5.9de6356 guix-daemon@1.3.0rc2-1.566982b $ guix build guix-daemon@1.3.0rc2-1.566982b guix build: error: guix-daemon: package not found for version 1.3.0rc2-1.= 566982b As the "guix-daemon" package is sometimes called "guix" instead. Not sure how many other cases like this there are. Given that it may in some cases require manually fiddling of package names, "guix refresh --build-dependent PACKAGE" would be nice. I vaguely recall discussing on irc not long ago the desire for "guix refresh --list-dependent --machine-readable" (e.g. drop the "Building the following X packages would ensure 10 dependent packages are rebuilt:") or something similar. Would save having to pipe to cut, awk, sed, perl, etc. ... I could also see, at least for completeness, "guix refresh =2D-list-all-dependent" e.g. not hide the recursive dependencies, but show the whole list of packages to be rebuilt... I thought there was a bug about these sorts of things, but I haven't found it... live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCY30obwAKCRDcUY/If5cW qndoAQCNIHmQdCBXNiw5XN/BRcDJAu2vtLa17BGwWkttanTFLwEAzSqxzezk41Ln XEdWxfsM3U1HcjaotlbB4qZJWmJUbAw= =5YVB -----END PGP SIGNATURE----- --=-=-=--