unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: 41930-done@debbugs.gnu.org
Subject: bug#41930: ‘guix pull’ shows raw build log output
Date: Thu, 01 Apr 2021 15:21:05 +0200	[thread overview]
Message-ID: <87ft0a87jy.fsf@gnu.org> (raw)
In-Reply-To: <87im58g0pj.fsf@gnu.org> ("Ludovic Courtès"'s message of "Tue, 30 Mar 2021 16:44:56 +0200")

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

> The attached patch fixes that in an unimaginative but efficient fashion:
>
>   1. the parent process (which runs ‘build-self.scm’) accepts connections on
>      a named socket;
>
>   2. the ‘compute-guix-derivation’ process connects to that socket and
>      sends it its raw build output (what we see in the snippet above);
>
>   3. the parent process reads that and sends it to its own
>      (current-build-output-port); that port processes those “@” build
>      traces according to the current ‘--verbosity’—see (guix status).
>
> With this in place, builds or downloads triggered during the evaluation
> of ‘compute-guix-derivation’ are reported in a consistent way from a UI
> viewpoint.
>
> There was one remaining glitch: the spinner that
> ‘compute-guix-derivation’ prints would show up in the middle of the
> prettified build output.  The second patch addresses that.

Pushed as a81a19930b2cbe1327e1e82d6210f80846ce2898.

Ludo’.




      reply	other threads:[~2021-04-01 13:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-18 14:02 bug#41930: ‘guix pull’ shows raw build log output Ludovic Courtès
2021-03-30 14:44 ` Ludovic Courtès
2021-04-01 13:21   ` Ludovic Courtès [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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87ft0a87jy.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=41930-done@debbugs.gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).