From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3069 invoked by uid 1002); 1 Jul 2003 14:12:12 -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 6181 invoked from network); 1 Jul 2003 14:12:12 -0000 Message-ID: <3F0196C4.7000002@codewordt.co.uk> Date: Tue, 01 Jul 2003 15:12:20 +0100 From: Dhruba Bandopadhyay Reply-To: gentoo-dev@gentoo.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en, en-us MIME-Version: 1.0 To: gentoo-dev@gentoo.org References: <20030701025824.64ecc18a.seemant@gentoo.org> In-Reply-To: <20030701025824.64ecc18a.seemant@gentoo.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [gentoo-dev] Interest Check: Dynamic config files for portage X-Archives-Salt: d909f823-e2c7-47ab-b68c-6200bf5b3cc5 X-Archives-Hash: 276a5ce7ce32f3a60062806c7f3c26ff Seemant Kulleen wrote: > 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've always thought that /etc/make.conf should consist of env. variables only, have no comments and be generated dynamically not from other smaller files but from a utility or tool of some sort. Currently, the size of the make.conf file is huge and doing the following gives the essential structure that I'm talking about. grep -v '#' /etc/make.conf | cat -s > ~/make.conf.basic; more ~/make.conf.basic You'll see that this is much more readable and easily editable. Comments can be placed in a different file such as /etc/make.conf.help. However, given that this method also results in more than one file it also brings about the need for a directory. I suggest /etc/portage/. There is already a dir structure for /etc/portage/package.unmask. As a result, it would make sense for all portage/gentoo related files to be placed in there. This would include make.conf, rc.conf, help files and any others. To summarise, directory structure: yes, dynamic: yes, from zillions of smaller files: no (that's backward progress). A few of my thoughts. With regards. -- Dhruba Bandopadhyay | dhruba[AT]codewordt.co.uk | ICQ: 31628525 Gentoo-sources-2.4.20-r5 | XFree-4.3.0-r3 | Nvidia-1.0.4363 | E-0.16.6-pre4 | ~x86 D8250 | Intel P4 I850E | Nvidia GeForce4 MX420 | Turtle Beach Santa Cruz -- gentoo-dev@gentoo.org mailing list