guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hiding “guix system” messages


From: Ludovic Courtès
Subject: Re: hiding “guix system” messages
Date: Wed, 22 Aug 2018 16:23:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hello!

Ricardo Wurmus <address@hidden> skribis:

> when installing / building / reconfiguring a system, Guix spawns a few
> tools that produce output that might be confusing or misleading.  One
> example is the output of the GRUB installation, which says things like
> “Installation finished. No error reported.” or that it’s installing
> something for a 386 system.
>
> I think we should hide (redirect to a log file) or at least prefix
> messages that are produced by tools that Guix spawns.  We could then
> deliberately print messages that indicate the “phases” of installing the
> system, such as “Installing GRUB…”, “Creating user accounts…”, etc.

Prefixing sounds like a good idea; hiding might end up hiding too much,
so I’m more wary about that.

If we do prefixing, probably we just need a variant of ‘invoke’ that
runs the program in a pipe, reads its output, and prints the prefixed
lines.

Thoughts?

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]