Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o, Matt Turner <mattst88@g.o>, "Michał Górny" <mgorny@g.o>
Subject: Re: [gentoo-portage-dev] [PATCH] Change BINPKG_COMPRESS default from bzip2 to xz
Date: Sun, 10 May 2020 01:55:56
Message-Id: b7e130fd-1791-ddf7-e065-e79e6e881a0e@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] Change BINPKG_COMPRESS default from bzip2 to xz by Zac Medico
1 On 4/26/20 2:12 PM, Zac Medico wrote:
2 > On 4/26/20 1:09 PM, Matt Turner wrote:
3 >> On Sun, Apr 26, 2020 at 12:29 PM Michał Górny <mgorny@g.o> wrote:
4 >>>
5 >>> On Sun, 2020-04-26 at 09:55 -0700, Matt Turner wrote:
6 >>>> Bug: https://bugs.gentoo.org/715108
7 >>>> Signed-off-by: Matt Turner <mattst88@g.o>
8 >>>> ---
9 >>>> Strawman patch. Bikeshed away.
10 >>>>
11 >>>
12 >>> xz is generally slow and doesn't do parallel good. If we want to change
13 >>> this, we should go for something cool like zstd that scales better.
14 >>
15 >> That works for me.
16 >>
17 >
18 > Let's make the default conditional on zstd USE flag as suggested in bug
19 > 719456. It will be similar to how the ebuild enables FEATURES=xattr for
20 > USE=xattr.
21
22 In https://github.com/gentoo/gentoo/pull/15520 the issue was raised that
23 it's probably not a good idea to change this default via the zstd USE
24 flags, since changing the format of binary packages is kind of a big
25 deal (it affects consumers of any binary packages that you build).
26
27 I think it might be a good idea to make this new default apply only to
28 new installations, like we did when changing default locations for bug
29 378603.
30
31 If we're changing the default, then all architectures need keywords, so
32 I've opened https://bugs.gentoo.org/721960.
33 --
34 Thanks,
35 Zac