all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "\( via Guix-patches" via <guix-patches@gnu.org>
To: 58824@debbugs.gnu.org
Cc: Vagrant Cascadian <vagrant@debian.org>, "\(" <paren@disroot.org>
Subject: [bug#58824] [PATCH 0/1] scripts: refresh: Support --list-dependent=packages.
Date: Thu, 27 Oct 2022 22:27:06 +0100	[thread overview]
Message-ID: <20221027212706.21680-1-paren@disroot.org> (raw)

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





             reply	other threads:[~2022-10-27 21:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-27 21:27 ( via Guix-patches via [this message]
2022-10-27 21:28 ` [bug#58824] [PATCH 1/1] scripts: refresh: Support --list-dependent=packages ( via Guix-patches via
2022-11-25  9:21   ` zimoun
2022-11-25 16:25     ` ( via Guix-patches via
2022-11-25 18:01       ` zimoun
2022-10-28 15:30 ` [bug#58824] [PATCH v2] " ( via Guix-patches via

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=20221027212706.21680-1-paren@disroot.org \
    --to=guix-patches@gnu.org \
    --cc=58824@debbugs.gnu.org \
    --cc=paren@disroot.org \
    --cc=vagrant@debian.org \
    /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.