Subject: Re: bug#62577: [PATCH] refresh: Support select packages SUBSET by module name.

From: Ludovic Courtès <[email-masked]>
Date: Sat, 08 Apr 2023 23:27:48 +0200

Hi,

[email-masked] skribis:

> From: 宋文武 <[email-masked]>
>
> * 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’.