From: Eric Bavier <ericbavier@centurylink.net>
To: Efraim Flashner <efraim@flashner.co.il>
Cc: 33805@debbugs.gnu.org
Subject: [bug#33805] [PATCH]: refresh: Allow searching recursively
Date: Wed, 19 Dec 2018 16:54:32 -0600 [thread overview]
Message-ID: <20181219165321.2c33004c@centurylink.net> (raw)
In-Reply-To: <20181219201313.GC2581@macbook41>
[-- Attachment #1: Type: text/plain, Size: 1800 bytes --]
On Wed, 19 Dec 2018 22:13:13 +0200
Efraim Flashner <efraim@flashner.co.il> wrote:
> From 8e73b5e0b7ecbac3f4c407cee407b918060b7d1b Mon Sep 17 00:00:00 2001
> From: Efraim Flashner <efraim@flashner.co.il>
> Date: Wed, 19 Dec 2018 22:08:18 +0200
> Subject: [PATCH] scripts: refresh: Allow searching recursively.
>
> * 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(+)
>
> 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 method 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!
>
> +@table @code
> +
> +@item --recursive
> +Consider the packages specified, and all the packages upon which they depend.
<...>
> +@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=transitive' 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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2018-12-19 22:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-19 20:13 [bug#33805] [PATCH]: refresh: Allow searching recursively Efraim Flashner
2018-12-19 22:54 ` Eric Bavier [this message]
2018-12-23 10:06 ` Efraim Flashner
2018-12-24 10:35 ` bug#33805: " Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181219165321.2c33004c@centurylink.net \
--to=ericbavier@centurylink.net \
--cc=33805@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.