all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Josselin Poiret <dev@jpoiret.xyz>,
	74882@debbugs.gnu.org, Simon Tournier <zimon.toutoune@gmail.com>,
	Mathieu Othacehe <othacehe@gnu.org>,
	Tobias Geerinckx-Rice <me@tobias.gr>,
	Felix Lechner <felix.lechner@lease-up.com>,
	Christopher Baines <guix@cbaines.net>
Subject: [bug#74882] [PATCH] scripts: substitute: Refine 'updating substitutes' message.
Date: Mon, 16 Dec 2024 17:16:57 +0900	[thread overview]
Message-ID: <87bjxcujnq.fsf@gmail.com> (raw)
In-Reply-To: <878qsgizbd.fsf@gnu.org> ("Ludovic Courtès"'s message of "Sun, 15 Dec 2024 19:19:34 +0100")

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




      reply	other threads:[~2024-12-16  8:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-15  6:53 [bug#74882] [PATCH] scripts: substitute: Refine 'updating substitutes' message Maxim Cournoyer
2024-12-15 18:19 ` Ludovic Courtès
2024-12-16  8:16   ` Maxim Cournoyer [this message]

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

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

  git send-email \
    --in-reply-to=87bjxcujnq.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=74882@debbugs.gnu.org \
    --cc=dev@jpoiret.xyz \
    --cc=felix.lechner@lease-up.com \
    --cc=guix@cbaines.net \
    --cc=ludo@gnu.org \
    --cc=me@tobias.gr \
    --cc=othacehe@gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.