GNU bug report logs - #32837
[PATCH 0/5] Improvements to the UI with colors

Previous Next

Package: guix-patches;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Tue, 25 Sep 2018 15:13:02 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: ludo <at> gnu.org (Ludovic Courtès)
To: 32837 <at> debbugs.gnu.org
Cc: Ricardo Wurmus <rekado <at> elephly.net>
Subject: [bug#32837] [PATCH 0/5] Improvements to the UI with colors
Date: Thu, 27 Sep 2018 11:59:10 +0200
Hello,

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

> Internally everything is handled by the (guix status) module.
> This module keeps track of the on-going and completed builds and
> downloads (substitutes and fixed-output derivations.)  To do that
> the build side is modified to print additional machine-readable
> “build traces” (with the new #:print-extended-build-traces? option
> of ‘set-build-options’.)
>
> Old clients talking to the new daemon won’t see the difference
> because build-side code will produce the same output as before.
> New clients talking to an old daemon won’t be able to display
> progress bars and URLs for downloads because the build side
> won’t produce those “extended build traces”; IOW, it should be
> as on current ‘master’.

On IRC, Ricardo noted that the new ‘guix package’ would be very silent
when talking to an old daemon, because it wouldn’t show what gets
substituted.

As per Ricardo’s suggestion, I’ve pushed a fixup commit to ‘wip-ui’ that
(1) bumps the daemon protocol version, and (2) checks whether the
daemon supports “extended build traces.”  If it does not support
extended build traces, then “substituting…” messages are displayed, as
is the case with ‘guix package’ on master.

Let me know what you think!  I’d be happy to go ahead with this variant
soon.  :-)

Ludo’.




This bug report was last modified 6 years and 233 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.