GNU bug report logs -
#70800
[PATCH] scripts: style: Add 'order' option to alphabetically order file.
Previous Next
Reported by: Herman Rimm <herman <at> rimm.ee>
Date: Mon, 6 May 2024 10:52:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 70800 <at> debbugs.gnu.org (full text, mbox):
Hi Herman,
Herman Rimm <herman <at> rimm.ee> skribis:
> * guix/scripts/style.scm (show-help): Describe option.
> (order-packages): Add procedure.
> (format-whole-file): Add 'order?' argument.
> (%options): Add 'alphabetical-sort' option.
> (guix-style): Alphabetically order packages in files.
> * doc/guix.texi (Invoking guix style): Document option.
>
> Change-Id: I4aa7c0bd0b6d42529ae7d304587ffb10bf5f4006
> ---
> Hi,
>
> I should have mentioned it back then, but in May and again today I tried
> to not use a reverse. If you can do a sort without it, please amend the
> patch. This revision takes the other feedback into account.
This looks great to me, thanks! I realize I forgot to ask you to add
tests to ‘tests/guix-style.sh’—my bad.
Would you be willing and able to submit an updated version with tests?
If not (which I’d understand), I can allocate time to do it.
Thanks,
Ludo’.
This bug report was last modified 315 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.