Gentoo Archives: gentoo-dev

From: Sam James <sam@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Rationalizing USE flags by narrowing the scope of them.
Date: Tue, 04 Jan 2022 03:39:14
Message-Id: 992B5594-F30E-4116-B40B-7668D73F6030@gentoo.org
In Reply to: Re: [gentoo-dev] Rationalizing USE flags by narrowing the scope of them. by Alec Warner
1 > On 3 Jan 2022, at 17:16, Alec Warner <antarus@g.o> wrote:
2 >> [snip]
3 >
4 > I'm trying to understand your principles here. Like on what basis do
5 > you remove or add flags (in general).
6 >
7 > I want to remove:
8 > - bash-completion
9
10 FWIW, I've managed to remove basically all instances of {bash,zsh}-completion
11 and made upstream PRs (all of one of which have been merged!) for fixing
12 `./configure` behaviour accordingly.
13
14 This is in align with our small files policy: https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0301 <https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0301>.
15
16 > - acl
17 > - ldap
18
19 ACL is kind of similar to what Ionen said for PAM, i.e. sometimes
20 people may want to turn it off and it makes sense to expose
21 this option for those who do, but we don't need to try support it.
22
23 I think some of this kind of comes back to "how do we better
24 make clear what is/isn't okay (supported)to customise?"
25
26 LDAP is a fun one because IIRC we had it enabled by default
27 for too long and it didn't really break anything when we turned
28 It off.
29
30 Overall, I think we kind of come back to this idea of
31 trying to just set better IUSE defaults rather than
32 in profiles, so that it's per-package where possible.
33
34 > - policykit
35
36 This is a reasonable flag to keep given the heavy polkit
37 dependency of spidermonkey (for now) and it's somewhat
38 heavy-handed as a concept anyway.
39
40 > - readline
41
42 readline is a tricky one because of its relation with libedit too.
43
44 > - sound
45 >
46 > (Part of this is just to have a meta discussion so we settle on some
47 > driving principles on why we keep one flag over the other.)
48 >
49 > I can easily craft a narrative for getting rid of ipv6, for example,
50 > but I cannot really craft a good narrative for getting rid of pam, or
51 > policykit, or ldap as flags. So why do we keep some and remove others?
52 >
53 >
54
55 It's very hard to quantify :(
56
57
58 Best,
59 sam

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies