1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-11 23:50:33 +02:00
Files
guix/tests
Ludovic Courtès 29a6866886 daemon: Add gzip log compression.
* nix/nix-daemon/guix-daemon.cc (GUIX_OPT_LOG_COMPRESSION): New macro.
(options): Mark "disable-log-compression" as hidden and add
"log-compression".
(parse_opt): Handle GUIX_OPT_LOG_COMPRESSION.
* nix/libstore/build.cc (DerivationGoal): Add 'gzLogFile'.
(openLogFile): Initialize it when 'logCompression' is COMPRESSION_GZIP.
(closeLogFile, handleChildOutput): Honor 'gzLogFile'.
* nix/libstore/globals.hh (Settings)[compressLog]: Remove.
[logCompression]: New field.
(CompressionType): New enum.
* nix/libstore/globals.cc (Settings::Settings): Initialize it.
(update): Remove '_get' call for 'compressLog'.
* nix/local.mk (guix_daemon_LDADD, guix_register_LDADD): Add -lz.
* guix/store.scm (log-file): Handle '.gz' log files.
* tests/guix-daemon.sh: Add test with '--log-compression=gzip'.
* doc/guix.texi (Invoking guix-daemon): Adjust accordingly.
* config-daemon.ac: Check for libz and zlib.h.
2018-01-07 23:47:22 +01:00
..
2017-01-26 13:49:56 +01:00
2015-11-26 22:35:01 +01:00
2015-10-19 10:10:47 +02:00
2017-11-11 15:33:04 +01:00
2016-09-01 13:40:49 +03:00
2017-03-18 00:39:49 +01:00
2017-09-28 13:10:10 +02:00
2017-12-01 18:47:34 +01:00
2017-06-18 00:14:07 +02:00
2017-11-25 18:12:33 +01:00
2017-06-15 17:03:19 +02:00
2017-10-06 14:16:23 +02:00
2017-11-17 10:47:49 +01:00