unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: iyzsong@envs.net
Cc: 62577@debbugs.gnu.org, 宋文武 <iyzsong@member.fsf.org>
Subject: [bug#62577] [PATCH] refresh: Support select packages SUBSET by module name.
Date: Sat, 08 Apr 2023 23:27:48 +0200	[thread overview]
Message-ID: <87sfda9i97.fsf@gnu.org> (raw)
In-Reply-To: <20230401035930.3877-1-iyzsong@envs.net> (iyzsong@envs.net's message of "Sat, 1 Apr 2023 11:59:30 +0800")

Hi,

iyzsong@envs.net skribis:

> From: 宋文武 <iyzsong@member.fsf.org>
>
> * guix/scripts/refresh.scm (%options): Support '--select module:NAME'.
> (show-help): Adjust accordingly.
> (options->update-specs): Honor the module passed by '--select'.

That looks very useful!

Could you also update ‘doc/guix.texi’?

> +                    ((? (cut string-prefix? "module:" <>))
> +                     (alist-cons 'select
> +                                 (cons 'module
> +                                       (string->symbol
> +                                        (string-drop
> +                                         arg (string-length "module:"))))
> +                                 result))

Perhaps this should support both full module names:

  module:(past packages autotools)

and:

  module:guile

where the latter is short for “module:(gnu packages guile)”.

WDYT?

Otherwise LGTM.

Could you send an updated version?

Thanks,
Ludo’.




  reply	other threads:[~2023-04-08 21:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-01  3:59 [bug#62577] [PATCH] refresh: Support select packages SUBSET by module name iyzsong--- via Guix-patches via
2023-04-08 21:27 ` Ludovic Courtès [this message]
2023-04-09  4:46   ` 宋文武 via Guix-patches via
2023-04-09  4:43 ` [bug#62577] [PATCH v2] " iyzsong--- via Guix-patches via
2023-04-20 10:18   ` Ludovic Courtès
2023-04-23  7:36     ` bug#62577: [PATCH] " 宋文武 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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sfda9i97.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=62577@debbugs.gnu.org \
    --cc=iyzsong@envs.net \
    --cc=iyzsong@member.fsf.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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).