mbox series

[bug#54307,0/2] Highlight headings showing what to build/download

Message ID 20220309095710.23849-1-ludo@gnu.org
Headers show
Series Highlight headings showing what to build/download | expand

Message

Ludovic Courtès March 9, 2022, 9:57 a.m. UTC
Hello Guix!

These patches color headings in the output of ‘show-what-to-build’:

  The following derivations will be built:

is now printed in bold magenta, and:

  X MB will be downloaded:

is printed in bold (this message is only visible at ‘-v2’.)

The reason it wasn’t done before is that it invalidates translations.
I think now is a good time as we prepare a release.

Julien, Maxim: WDYT?

Ludo’.

Ludovic Courtès (2):
  ui: 'show-what-to-build' highlights "The following [...] will be
    built".
  ui: 'show-what-to-build' highlights "would be downloaded" headings.

 guix/colors.scm |  4 +-
 guix/ui.scm     | 98 +++++++++++++++++++++++++++++--------------------
 2 files changed, 61 insertions(+), 41 deletions(-)


base-commit: 0d14f8a8702ec8016ac58e5778a754b3105ef418

Comments

Ludovic Courtès March 18, 2022, 3:10 p.m. UTC | #1
Hi!

Ludovic Courtès <ludo@gnu.org> skribis:

>   ui: 'show-what-to-build' highlights "The following [...] will be
>     built".
>   ui: 'show-what-to-build' highlights "would be downloaded" headings.

I went ahead and pushed these as
625fa3cfe8c57cd5624608d2478c8c6be4c69c3b.

Of course we can still discuss color and name choices :-).  The
important part for me was to put the base in place so translations can
be updated before the release.

Ludo’.