[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#53213: [PATCH] daemon: Always default to gzip for log compression.
From: |
Ludovic Courtès |
Subject: |
bug#53213: [PATCH] daemon: Always default to gzip for log compression. |
Date: |
Tue, 18 Jan 2022 18:53:05 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
> Ludovic Courtès <ludo@gnu.org> writes:
>
>> * nix/libstore/globals.cc (Settings::Settings): Have 'logCompression'
>> default to COMPRESSION_GZIP unconditionally.
>> * gnu/services/base.scm (<guix-configuration>)[log-compression]: Default
>> to 'gzip.
>> * doc/guix.texi (Invoking guix-daemon, Base Services): Adjust accordingly.
>> ---
>> doc/guix.texi | 4 ++--
>> gnu/services/base.scm | 2 +-
>> nix/libstore/globals.cc | 4 ----
>> 3 files changed, 3 insertions(+), 7 deletions(-)
>>
>> Hello!
>>
>> I think bzip2 compression of the build logs doesn’t buy us much, it
>> doesn’t play well with ‘guix publish’, and bzip2 is generally rather
>> uncommon these days—hence this patch.
>>
>> Thoughts?
>>
>> Ludo’.
>
> I haven't tried it, but the idea and code LGTM.
Pushed in 575e52ac2b090fd194086e9c1c53bbf8055acbc2, thanks!
Ludo’.