guix-patches
[Top][All Lists]
Advanced

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

[bug#29995] [PATCH 0/5] Publish build logs, compress as gzip


From: Ludovic Courtès
Subject: [bug#29995] [PATCH 0/5] Publish build logs, compress as gzip
Date: Fri, 5 Jan 2018 18:00:34 +0100

Hello Guix!

This patch series implements build log publication in ‘guix publish’.
Build logs are published as-is—i.e., compressed if they are already
compressed, uncompressed otherwise.

Until now we were unable to view build logs from berlin.guixsd.org, so
this bridges a gap between Hydra and publish/Cuirass.

Additionally, these patches add support for gzip compression of build
logs, which is probably more appropriate for ‘guix publish’ (it can
return a text/plain with gzip Content-Encoding, which plays nicely with
browsers and all.)  The last patches make libbz2 an optional dependency.

Comments welcome!

Ludo’.

Ludovic Courtès (5):
  publish: Use 'x-raw-file' internal response header.
  publish: Publish build logs.
  daemon: Add gzip log compression.
  daemon: Make libbz2 an optional dependency.
  doc: Mark zlib as mandatory, libbz2 as optional.

 README                        |   3 +-
 config-daemon.ac              |  18 +++++--
 doc/guix.texi                 |  29 ++++++++---
 guix/scripts/publish.scm      | 117 +++++++++++++++++++++++++++---------------
 guix/store.scm                |   6 ++-
 nix/libstore/build.cc         |  60 ++++++++++++++++++++--
 nix/libstore/globals.cc       |   8 ++-
 nix/libstore/globals.hh       |  11 +++-
 nix/local.mk                  |  12 +++--
 nix/nix-daemon/guix-daemon.cc |  27 ++++++++--
 tests/guix-daemon.sh          |  38 +++++++++++++-
 tests/publish.scm             |  28 ++++++++++
 12 files changed, 285 insertions(+), 72 deletions(-)

-- 
2.15.1






reply via email to

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