Gentoo Archives: gentoo-portage-dev

From: Brian Harring <ferringb@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Re: Bugzilla Bug 112779: New and Improved Way to Handle /etc/portage
Date: Sun, 20 Nov 2005 01:13:26
Message-Id: 20051120011236.GJ4535@nightcrawler
In Reply to: Re: [gentoo-portage-dev] Re: Bugzilla Bug 112779: New and Improved Way to Handle /etc/portage by capitalista
1 On Sat, Nov 19, 2005 at 06:58:56PM -0500, capitalista wrote:
2 > On 11/19/05, Zac Medico <zmedico@×××××.com> wrote:
3 > > That would clutter /etc/portage. The includes subdirectory
4 > > separates the includes from things like /etc/portage/{profiles,modules}.
5 (*cough* modules shouldn't be in there imo)
6 >
7 > Well, I just posed that question because of ferringb's complaints
8 > about configurations in two different directories. I could care less
9 > really.
10
11 Just because I complain, doesn't mean I'm right (Dig through this ml
12 for instances where I've demonstrated my bullheaded nature) ;)
13
14 Just found it unclean that it was defacto configuration in two
15 locations, rather then enabled by user/system configuration.
16
17 If people want to make a mess out of their configuration, that's their
18 business, I don't like mandating it via portage though. :)
19
20 > > A "source" command would provide most of the same abilities as the
21 > >directory path based approach. It wouldn't allow files to be
22 > grouped in the same way but I'm not sure how useful that ability would be.
23 >
24 > The file grouping would be excellent in the sense that you could tar
25 > up a directory and make it available for others people to use, and all
26 > you would need to do is extract it to /etc/portage/includes.
27
28 My concern was in implementing it as a directory.
29
30 I haven't complained about implementing a secondary var to insert
31 pseudo profiles (although I'll state up front, I think it has the
32 potential to be unclean) ;)
33
34 > > I think that I would be happy with a "source" command. For example,
35 > > you could have a package.unmask.kde file somewhere and then source
36 > > that file inside /etc/portage/package.unmask.
37 >
38 > I'd be happier if, pending you indeed went the source route, you'd
39 > source directories and not files. You could have another file that
40 > would contain info on the other directories, or maybe put in a
41 > variable in make.conf like PORTDIR_OVERLAY, creating
42 > /etc/portage/includes style functionality anywhere. Still, a source
43 > command just seems like more of a hassle than it needs to be for the
44 > end user.
45
46 source should be file only; I'm not commenting on adding a sourcedir
47 command, since I haven't really thought it through (just throwing out
48 the possibility so others can tell me I'm being stupid).
49
50 ~harring