unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#29995] [PATCH 0/5] Publish build logs, compress as gzip
@ 2018-01-05 17:00 Ludovic Courtès
  2018-01-05 17:02 ` [bug#29995] [PATCH 1/5] publish: Use 'x-raw-file' internal response header Ludovic Courtès
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Ludovic Courtès @ 2018-01-05 17:00 UTC (permalink / raw)
  To: 29995

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

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

end of thread, other threads:[~2018-01-07 23:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-05 17:00 [bug#29995] [PATCH 0/5] Publish build logs, compress as gzip Ludovic Courtès
2018-01-05 17:02 ` [bug#29995] [PATCH 1/5] publish: Use 'x-raw-file' internal response header Ludovic Courtès
2018-01-05 17:02   ` [bug#29995] [PATCH 2/5] publish: Publish build logs Ludovic Courtès
2018-01-05 17:02   ` [bug#29995] [PATCH 3/5] daemon: Add gzip log compression Ludovic Courtès
2018-01-05 17:02   ` [bug#29995] [PATCH 4/5] daemon: Make libbz2 an optional dependency Ludovic Courtès
2018-01-05 17:02   ` [bug#29995] [PATCH 5/5] doc: Mark zlib as mandatory, libbz2 as optional Ludovic Courtès
2018-01-05 17:04 ` [bug#29995] [PATCH 0/5] Publish build logs, compress as gzip Ludovic Courtès
2018-01-05 20:59   ` Tobias Geerinckx-Rice
2018-01-06 11:45     ` Ludovic Courtès
2018-01-07 22:58 ` bug#29995: " Ludovic Courtès
2018-01-07 23:01 ` [bug#29995] " Ludovic Courtès

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).