Gentoo Archives: gentoo-dev

From: Brian Harring <ferringb@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [gentoo-core] crap use flags in the profiles
Date: Mon, 29 Aug 2005 22:36:37
Message-Id: 20050829223411.GF13987@nightcrawler
In Reply to: Re: [gentoo-dev] Re: [gentoo-core] crap use flags in the profiles by Chris Gianelloni
1 On Mon, Aug 29, 2005 at 05:43:35PM -0400, Chris Gianelloni wrote:
2 <snip>
3 Re: not shoving work onto you, complicating your job, etc, I agree,
4 and actually is what I was getting at in the badly worded section
5 below
6
7 > > > My point is pretty simple,
8 > > > why should we spend a bunch of time maintaining something that is
9 > > > designed from the start to be customized, and most likely won't even be
10 > > > used anyway?
11 > > That's the issue; the profiles in their current form are customizable
12 > > only in the ability to negate a collection of flags.
13 > > Negating the whole beast is another story due to the desktop cruft
14 > > being shoved into the arch subprofiles.
15 >
16 > Sorry, but this didn't make a bit of sense to me. Perhaps you could
17 > reword it?
18 Basically stating that if I want the minimal 2005.1 x86 profile to
19 build my own server profile off of, I can't really use the existing
20 default-linux/x86/2005.1 ;
21
22 Why? Mainly due to the fact that I would be forced to reverse a *lot*
23 of stuff, use flags mainly, to get it back down to a minimal profile.
24 That's what I mean by lack of customization; it can be done, but it's
25 not optimal, vs say inheriting a base default/x86/2005.1 that holds
26 just system defaults (pam, cflags, etc).
27
28 If I were to implement a server profile from existing, I'd probably
29 tag in -* to the use, and add the use flags I explicitly want; that's
30 not really the best way to use the profiles inheritance capabilities
31 though :)
32
33 > > Profile customization occurs, /etc/portage/profiles exists for this
34 > > reason; the 2005.1 profile (fex) is probably *rarely* ran exactly as
35 > > y'all have it specified considering we do have user level use flags,
36 > > tweaking the hell out of '05.1.
37 >
38 > You would be surprised at the number of people that use GRP and rarely,
39 > if ever, change their USE flags. I wish I had numbers, but I don't.
40 >
41 > Anyway, the default set of USE flags seems to be a pretty perfect mix
42 > for most people. It gives packages that work as expected, and is geared
43 > toward a desktop system. Without any more specific examples of what
44 > you're trying to point out, I'm just not seeing it.
45 Key thing to note, neither of us have figures :)
46 Beyond that, I'm not after castrating the defaults that exist, I'm
47 after sticking a level of indirection, a subprofile into the releng
48 profile inheritance chain so that if I *want* a minimal profile (as
49 you use), I can get it without having to resort to -* and tracking all
50 of the changes myself.
51
52 It's a time saving effort; add multiple inheritance in, and it's easy
53 to do (win/win).
54
55 > > Aside from mild disagreement on views, as was stated in previous
56 > > emails, multiple inheritance I tend to think is required to minimize
57 > > the work for y'all; what I want you guys to do (or I'll do myself) is
58 > > chunk the suckers up so people after a minimal base for running
59 > > it themselves, or building up their own subprofile can do so. Not
60 > > after jamming maintenance nightmares on you, which without multiple
61 > > inheritance, might be a bit.
62 >
63 > I know that I won't be spending *my* time making any profile other than
64 > the defaults used for building the release. Anyone is welcome to build
65 > profiles for anything else that they might want, but since the release
66 > team doesn't use it, we shouldn't be forced to waste our time on it.
67
68 Agreed, although I'd posit that when/if multiple inheritance is added,
69 y'all take advantage of it (break up the settings into base and
70 desktop) so that others can use your base work instead of reinventing
71 the wheel.
72 ~harring

Replies