[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#74882] [PATCH] scripts: substitute: Refine 'updating substitutes' m
From: |
Maxim Cournoyer |
Subject: |
[bug#74882] [PATCH] scripts: substitute: Refine 'updating substitutes' message. |
Date: |
Mon, 16 Dec 2024 17:16:57 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hello!
Ludovic Courtès <ludo@gnu.org> writes:
> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>
>> * guix/scripts/substitute.scm (process-query): Attempt to precise the 'update
>> substitutes' message.
>
> [...]
>
>> - (G_ "updating substitutes from '~a'... ~5,1f%")
>> + (G_ "looking for suitable substitutes on '~a'... ~5,1f%")
>
> Part of the challenge here is having something that fits on one line,
> which is still 80 characters for many (heck, GNOME Console or whatever
> it’s called these days, the incarnation of modernity, defaults to 80
> columns!).
In the original case we have 80 - 37 => 43 characters available for the
server URL.
The above diff would reduce that to 33 characters available for the
server URL; that' sill enough for our current default substitute URLs
(https://ci.guix.gnu.org/ is 24 characters, while
https://bordeaux.guix.gnu.org/ is 30 characters) although doesn't leave
much headroom.
We could perhaps shorten to just "looking for substitutes on" (drop the
'suitable ' part) ? That'd be already an improvement when it comes to
more accurately reports what is actually happening.
--
Thanks,
Maxim