Gentoo Archives: gentoo-dev

From: Michael Orlitzky <mjo@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] profiles/default/linux: Add USE="bzip2 lzma zstd" to defaults
Date: Mon, 12 Jul 2021 17:25:38
Message-Id: 8bebd893f1af6c0e28631011e61af625ff6266f0.camel@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH] profiles/default/linux: Add USE="bzip2 lzma zstd" to defaults by Ben Kohler
1 On Mon, 2021-07-12 at 10:46 -0500, Ben Kohler wrote:
2 >
3 > Nobody is "disabling choice" here, a change in defaults doesn't remove
4 > your ability to choose something else.
5
6 I think what you're suggesting is that default-on is not any worse for
7 choice than default-off, since both can be changed?
8
9 Consider the one legitimate example given: sys-apps/kmod. How can we
10 disable lzma for everything except packages that have +lzma defaulted?
11 (Ignoring the open pull request, that is usually done for a good
12 reason.) In other words, how do people undo this patch, without
13 potentially breaking their systems?
14
15 I hesitate to speak for anyone else, but all I personally want is to be
16 reasonably sure what my configurations are going to do without having
17 to list every individual package and USE flag explicitly. I don't think
18 it's written in stone anywhere, but the repo relies on the fact that
19 USE flags are disabled by default. As a result, it's much easier for
20 users to add things to USE than it is to remove them.
21
22 If we assume that most IUSE default-ons exist for a good reason
23 (roughly true), then you can imagine two groups of people.
24
25 Person 1: wants everything enabled by default.
26 Person 2: wants only important things (determined by chosen profile and
27 IUSE defaults) enabled by default.
28
29 Before the patch,
30
31 Person 1: adds USE="bzip2 lzma zstd" to make.conf. Requires no ongoing
32 maintenance.
33 Person 2: does nothing.
34
35 After the patch,
36
37 Person 1: does nothing.
38 Person 2: lists a hundred different packages in all of his package.use
39 files, after checking each of them to see which ones have important
40 IUSE defaults. Requires ongoing maintenance as new packages are added.
41
42 We've kept things the same level of difficulty for one group of people,
43 but made them much harder for another. In no situation can anyone who
44 wants everything enabled have a harder time than 'adds USE="bzip2 lzma
45 zstd" to make.conf', but everyone else suffers to some degree. That's
46 discouraging choice overall.

Replies