From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=DMARC_MISSING, FSL_HELO_NON_FQDN_1,HELO_NO_DOMAIN,MAILING_LIST_MULTI,RDNS_DYNAMIC autolearn=unavailable autolearn_force=no version=4.0.0 Received: from fry (as1-4-5-1.han.s.bonet.se [194.236.131.211]) by chiba.3jane.net (Postfix) with ESMTP id B278219659 for ; Thu, 6 Dec 2001 00:02:30 -0600 (CST) Received: from fry (fry [127.0.0.1]) by fry (Postfix) with ESMTP id 37D34F0A44 for ; Thu, 6 Dec 2001 07:01:15 +0100 (CET) Subject: Re: [gentoo-dev] USE database? From: Mikael Hallendal To: gentoo-dev@gentoo.org In-Reply-To: <20011203104835.E30257@chiba.3jane.net> References: <3C0AD02D.8030106@shaw.ca> <20011203104835.E30257@chiba.3jane.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution/0.99.0 (Preview Release) Date: 06 Dec 2001 07:01:14 +0100 Message-Id: <1007618475.6862.3.camel@fry> Mime-Version: 1.0 Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Developer discussion list List-Unsubscribe: , List-Archive: X-Archives-Salt: 8f6db60d-d175-456d-b765-4475098d9e7f X-Archives-Hash: c0adb0b0baa7ca12323e268444247b2c m=E5n 2001-12-03 klockan 17.48 skrev Daniel Robbins: > On Sun, Dec 02, 2001 at 05:06:53PM -0800, Zach Forrest wrote: > > It may, then, also make sense to give a little more structure to the=20 > > optimization settings. For example: > >=20 > > optimization_var=3D{ > > "host":"i686", > > "chost":"i686-pc-linux-gnu", > > "cflags":"-mcpu=3Di686 -march=3Di686 -O3 -pipe", > > "cxxflags":"-mcpu=3Di686 -march=3Di686 -O3 -pipe"} >=20 > It would make my life easier if we would use python-based configuration > files. Right now, they're parsed. But being able to define dictionaries > is really appealing to me right now :) The problem with this is that it's harder to edit in a regular browser, not much hard but still, somewhat harder. Also, it's quite nice to be able to override with regular environment variables. I guess this can be done no matter.. About using GConf, imho it's actually not a totally bad idea. It is thought of as being for the entire system (will never happend though). Currently it has some weird deps (like gnome-libs->gtk+->X11) which is no good. It does not store it's configuration in a binary database, it's in xml-files in /etc/gconf. Anyway, I'm more in favor of something that's easily editable in a normal text editor. Regards, Mikael Hallendal --=20 Mikael Hallendal http://micke.hallendal.net/ Stockholm, Sweden Cell: +46 (0)709 718 918