--- Begin Message ---
Subject: |
[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
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#29995] [PATCH 0/5] Publish build logs, compress as gzip |
Date: |
Sun, 07 Jan 2018 23:58:49 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hi!
Ludovic Courtès <address@hidden> skribis:
> 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.
I went ahead and pushed these.
I reordered commits and added --log-compression=gzip as a recommendation
in “Invoking guix publish”.
Ludo’.
--- End Message ---