Gentoo Archives: gentoo-dev

From: Rigo Ketelings <rigo@××××.nl>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Interest Check: Dynamic config files for portage
Date: Tue, 01 Jul 2003 10:36:00
Message-Id: 1057055758.32008.146.camel@tree.rogi.biz
In Reply to: [gentoo-dev] Interest Check: Dynamic config files for portage by Seemant Kulleen
1 Op di 01-07-2003, om 11:58 schreef Seemant Kulleen:
2 > Hi All,
3 >
4 > Before I go and invalidate a bug, I thought I might take the idea around here to see if it has any merit in terms of usefulness/interest.
5 >
6
7 Like the idea, not the name ;)....Is there anything against make.d ?
8
9 > The idea stems from the fact that etc-updating a make.conf file can be a bit of a stressful event. And as portage's set of features grows, so too will the size of the make.conf file. I get the impression that the make.conf file is a little hard to parse, with the huge comment blocks etc etc. So my proposal is this: a make.conf.d directory which contains files for each section of the make.conf: use, flags, fetch, packagevars. That way, USE flags can be explained and specified in use, compiler flags in the flags file, fetch will contain the fetchcommands, mirrors (both distfiles and rsync), and packagevars can contain things like ALSA_CARDS for those of us on 2.4 kernels, and VIDEO_CARDS for those of us who have xfree/xfree-drm/whatever-future-windowing-system-we-add, and so on. This way, the actual make.conf file (which tends to be about 10 lines of uncommented items in the usual case) can be dynamically generated from the information in those files.
10 >
11 > Anyway, it's not an urgent issue by any means, but a thought.
12 >
13 > Ciao,
14
15 Rogi
16
17
18 --
19 gentoo-dev@g.o mailing list