From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZkk5-0005H7-Qx for guix-patches@gnu.org; Wed, 19 Dec 2018 17:55:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZkk2-0000k2-Jl for guix-patches@gnu.org; Wed, 19 Dec 2018 17:55:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:51018) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gZkk2-0000jy-ER for guix-patches@gnu.org; Wed, 19 Dec 2018 17:55:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gZkk2-0006e5-C9 for guix-patches@gnu.org; Wed, 19 Dec 2018 17:55:02 -0500 Subject: [bug#33805] [PATCH]: refresh: Allow searching recursively Resent-Message-ID: Date: Wed, 19 Dec 2018 16:54:32 -0600 From: Eric Bavier Message-ID: <20181219165321.2c33004c@centurylink.net> In-Reply-To: <20181219201313.GC2581@macbook41> References: <20181219201313.GC2581@macbook41> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/H4w4PNaS3P5Cz4RxCm.kvCY"; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Efraim Flashner Cc: 33805@debbugs.gnu.org --Sig_/H4w4PNaS3P5Cz4RxCm.kvCY Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 19 Dec 2018 22:13:13 +0200 Efraim Flashner wrote: > From 8e73b5e0b7ecbac3f4c407cee407b918060b7d1b Mon Sep 17 00:00:00 2001 > From: Efraim Flashner > Date: Wed, 19 Dec 2018 22:08:18 +0200 > Subject: [PATCH] scripts: refresh: Allow searching recursively. >=20 > * guix/scripts/refresh.scm (refresh-recursive, list-recursive): New > procedures. > (show-help): Document it. > (guix-refresh): Add flags and checks for new options. > * doc/guix.texi (Invoking guix refresh): Document new options. > --- > doc/guix.texi | 32 +++++++++++++++++++++ > guix/scripts/refresh.scm | 62 ++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 94 insertions(+) >=20 > diff --git a/doc/guix.texi b/doc/guix.texi > index 20b5013fd..2888d1efb 100644 > --- a/doc/guix.texi > +++ b/doc/guix.texi > @@ -7370,6 +7370,22 @@ are many packages, though, for which it lacks a me= thod to determine > whether a new upstream release is available. However, the mechanism is > extensible, so feel free to get in touch with us to add a new method! > =20 > +@table @code > + > +@item --recursive > +Consider the packages specified, and all the packages upon which they de= pend. <...> > +@item --list-recursive > +List all the packages which one or more packages depend upon. I think it would be nice to have some more symmetry between the names of these options and existing options. Initially I was confused about what business 'guix refresh' would have in being "recursive". 'guix build --sources=3Dtransitive' seems like it behaves similarly, in that it visits package inputs. 'guix refresh --list-dependents' is the reverse of this '--list-recursive', but the names do not immediately suggest this to me. `~Eric --Sig_/H4w4PNaS3P5Cz4RxCm.kvCY Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEoMXjUi7471xkzbfw/XPKxxnTJWYFAlwazCgACgkQ/XPKxxnT JWbXlQ/+P9ZalNNODWfk9rs5mFISy9gJRRid/ndZEy/BZQM4XZ/IN7c0svVStubZ oIxKKDcjwOcIMMtItFpnA2+udFZbVTB+2c6RGRMQwZgqxV5TDf77L67tRktcLNPB uVTUmylxXKsczvTFZBjUG/fQ4L3CoIRdv3ekBYzqm+0u2eefWGPuSefcm2Nn7nI0 QX3Twc7PBUMGE+jJuI9Ulr8sRUJdvMknPHxQ/e+Bu2D0F+w4PRBX0cLjFmmueN4L ceMw0IirquM1zTidLmDdyxe8lE2wxBlxdiEohCZ5dycn9LC5BO2o2BrDnnZTRPWj 3zjd/oWDQ1LDKUgROBn29KQ/27/W5yyiU58GStIUPEauWjfC+eLKD3v7VHqTx298 4pdN17gHBeAIzjZybnD9N43R9DhAIWvQvoNuZkJqEqXBq55cmM2aYdEqW/HwdiUR xLWO0M/WcaAhXq3Qcel6UWsazl6DyhxSzH67Qds5SCsiNiyZ/27DOEtHrGyF6Jt+ yjeIxxy9M4tINH/jUwpZTP/pRxWtt13Fy6qeAAReCbuQojQXxPJMHzvZC/F8UJ+8 Z6MRoT/1BOSomVW19bfn/BLgUa3Ul6nfFKdY05rJIqqnc8YC04OHnrvj2CJJnzxG Fn3Q68YtdZaR5iQEMeR2DABKL41XUKtX+4bvqGutepf/nOFutHY= =uO1Y -----END PGP SIGNATURE----- --Sig_/H4w4PNaS3P5Cz4RxCm.kvCY--