From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21681 invoked by uid 1002); 1 Jul 2003 09:59:11 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 25757 invoked from network); 1 Jul 2003 09:59:11 -0000 Date: Tue, 1 Jul 2003 02:58:24 -0700 From: Seemant Kulleen To: gentoo-dev@gentoo.org Message-Id: <20030701025824.64ecc18a.seemant@gentoo.org> X-Mailer: Sylpheed version 0.9.0claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="=.az+8D?+9cOVfwO" Subject: [gentoo-dev] Interest Check: Dynamic config files for portage X-Archives-Salt: bcaa6e39-41a7-4095-8c96-ff2a675b58d3 X-Archives-Hash: e2b942156de42809d7dc96ac4abb0a9d --=.az+8D?+9cOVfwO Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi All, 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. 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. Anyway, it's not an urgent issue by any means, but a thought. Ciao, -- Seemant Kulleen Developer and Project Co-ordinator, Gentoo Linux http://www.gentoo.org/~seemant Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x3458780E Key fingerprint = 23A9 7CB5 9BBB 4F8D 549B 6593 EDA2 65D8 3458 780E --=.az+8D?+9cOVfwO Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/AVtA7aJl2DRYeA4RAocjAKDKgZ/9CgIsA9IvKmZ1VPzyp9nCywCePRnX na1aI2KDdzIwq6MRAMUI9JE= =7ctW -----END PGP SIGNATURE----- --=.az+8D?+9cOVfwO--