all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* hiding “guix system” messages
@ 2018-08-21 19:02 Ricardo Wurmus
  2018-08-22  6:44 ` Hartmut Goebel
  2018-08-22 14:23 ` Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2018-08-21 19:02 UTC (permalink / raw)
  To: guix-devel

Hi Guix,

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.

What do you think?

--
Ricardo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: hiding “guix system” messages
  2018-08-21 19:02 hiding “guix system” messages Ricardo Wurmus
@ 2018-08-22  6:44 ` Hartmut Goebel
  2018-08-22 14:23 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Hartmut Goebel @ 2018-08-22  6:44 UTC (permalink / raw)
  To: guix-devel

Am 21.08.2018 um 21:02 schrieb Ricardo Wurmus:
> What do you think?

+1

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: hiding “guix system” messages
  2018-08-21 19:02 hiding “guix system” messages Ricardo Wurmus
  2018-08-22  6:44 ` Hartmut Goebel
@ 2018-08-22 14:23 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2018-08-22 14:23 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

Hello!

Ricardo Wurmus <rekado@elephly.net> 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’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-08-22 14:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-21 19:02 hiding “guix system” messages Ricardo Wurmus
2018-08-22  6:44 ` Hartmut Goebel
2018-08-22 14:23 ` Ludovic Courtès

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.