Gentoo Archives: gentoo-dev

From: Brian Harring <ferringb@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: per-package default USE flags
Date: Sun, 15 Oct 2006 20:08:48
Message-Id: 20061015200509.GB2544@seldon
In Reply to: Re: [gentoo-dev] RFC: per-package default USE flags by Ciaran McCreesh
1 On Sun, Oct 15, 2006 at 08:37:48PM +0100, Ciaran McCreesh wrote:
2 > On Sun, 15 Oct 2006 12:27:20 -0700 Brian Harring <ferringb@×××××.com>
3 > wrote:
4 > | Ebuilds already have a boatload of duplication;
5 >
6 > They have no duplication related to whether a USE flag is enabled.
7
8 ...Because until up until now, THEY DIDN'T SPECIFY IF A USE FLAG WAS
9 ENABLED.
10
11 It's a stupid statement, not providing any further backing for your
12 position; please dear god spare us all the waste of time reading
13 your emails if that's how you're going to push for what you want...
14
15
16 > | bit of a red herring
17 > | however complaining about a single char in IUSE to indicate a flag
18 > | defaults to on (seriously, you're bitching about 5 chars of wasted
19 > | space for a single flag forced on, switch to a better arguement).
20 >
21 > It's not a question of space. It's a question of maintainability.
22
23 Your proposal is using profiles. Ok, so for any overlay that is going
24 to use default IUSE, they now have to bundle their own profile (and
25 maintain said profile).
26
27 Further, since portage (the official manager) supports *one*, and only
28 *one* profile, the user has to specify their own high level profile
29 pulling in their desired profile, and intermixing all base profiles
30 from their overlays. This is regardless of whether that default use
31 flag is applicable to *all* repos, like it or not, it's forced on via
32 your proposal.
33
34 Goes without saying, they have to maintain that themselves, further,
35 due to the forced intermixing of disparate profiles, gentoo devs now
36 get the fun of having to dig through nonstandard profile combinations
37 (errant bashrcs can do *lots* of fun things).
38
39 Further fodder against this daft arguement is just pointing out the
40 (thus ignored) "and what happens when the user goes to copy an ebuild
41 into another repo?".
42
43 Or... extend IUSE to support a prefixed '+' in front of a use flag.
44 Simple enough, nothing complex, no forced hoops to jump through to
45 make it work.
46
47 Either I'm hitting the pipe pretty damn hard, or default IUSE is the
48 simplest solution here, with nill maintainance cost.
49
50 What are we all missing here?
51
52 Nearest I can figure, you're pressing hard for the view that all USE
53 flags must come from profiles (by extension user configuration);
54 provide some reasoning behind that implicit assumption please, rather
55 then stating it as fact.
56
57 ~harring

Replies

Subject Author
Re: [gentoo-dev] RFC: per-package default USE flags Ciaran McCreesh <ciaranm@×××××××.org>