Gentoo Archives: gentoo-dev

From: Paul Varner <fuzzyray@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: gcc-config 2.0 development
Date: Tue, 09 Aug 2005 22:42:01
Message-Id: 1123627023.29425.2.camel@txslpc1d36.wkst.vzwnet.com
In Reply to: Re: [gentoo-dev] Re: gcc-config 2.0 development by Daniel Ostrow
1 On Tue, 2005-08-09 at 18:14 -0400, Daniel Ostrow wrote:
2 > On Tue, 2005-08-09 at 15:12 -0700, Jeremy Huddleston wrote:
3 > > On Tue, 2005-08-09 at 22:19 +0100, Ciaran McCreesh wrote:
4 > > > | but I think having the xml configuration files allows a much more
5 > > > | robust configuration.
6 > > >
7 > > > How so? Using XML doesn't magically make your data files any different.
8 > > > It simply makes them much harder to parse.
9 > >
10 > > That's a matter of opinion. I see it as a way to abstract away the
11 > > configuration and utilize an existing library to handle the parsing. If
12 > > we do want to eliminate outside dependencies (which I think is an
13 > > extremely valid point and concern), then we could internally implement a
14 > > different configuration format that is easier to parse. I'd probably go
15 > > for something similar to the samba/gdm config files if we were to go
16 > > down this road:
17 >
18 > <snip>
19 >
20 > I've always been a fan of samba style config files..unlike xml they tend
21 > to be both easy to parse and are human readable. I'd far rather see this
22 > over XML. It's especially attractive as this is also the way that
23 > portage is moving (at the moment) as well.
24
25 <AOL>
26 me too
27 </AOL>
28
29 I highly prefer the samba style config file over an XML file. It is easy
30 to read, parse, and edit by both human and machine.
31
32 Regards,
33 Paul
34 --
35 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Re: gcc-config 2.0 development Mike Frysinger <vapier@g.o>