Alternative format for the configuration file
Otavio Salvador
otavio@debian.org
Tue, 27 Jul 2004 10:50:47 -0300
--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="
--=-=-=
|| On Tue, 27 Jul 2004 09:21:51 -0400 (EDT)
|| "Nathaniel L. Budin" <natb@brandeis.edu> wrote:
nlb> On Tue, 27 Jul 2004, Otavio Salvador wrote:
fe> and some very easy to fetch variable values with a dictionary
fe> approach, like Cnf["APT::Get::Arch-Only"] to get the value from
fe> apt-get.conf.
>>
>> The way to read the file is a lot easier since APT already does it and
>> we can use this format without a parser but this, for a not so
>> experiensed user, looks more complicated and long. This is what I
>> think.
nlb> I'm not sure it'll be as easy as you think. The most difficult part, IMO,
nlb> of the current parser, was the variable configuration keys; for example,
nlb> "filter_sarge" in a merge backend. We'll still need to have those
nlb> supported, which I doubt the parser for this format already supports.
nlb> (Not that I've checked, but I don't imagine it would.)
I forgot it.
>> The configuration file looks very clear and flexible to me but I
>> doesn't know how much this format will improve the flexibility. This
>> is what we should think.
nlb> I also don't think this new format buys us very much in terms of
nlb> flexibility. True, the structure is hierarchical instead of flat, but I
nlb> don't think a hierarchical format is necessary for a simple, one-task tool
nlb> like debpartial-mirror.
nlb> As for compatibility with other apps - even if we switched to this format,
nlb> I doubt you'd be able to use the same config files between APT and
nlb> debpartial-mirror anyway, so I'm not sure where the perceived
nlb> compatibility gain is coming from.
I agree.
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio@debian.org UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------
"Microsoft gives you Windows ... Linux gives
you the whole house."
--=-=-=--
--==-=-=
Content-Type: application/pgp-signature
-----BEGIN PGP MESSAGE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQFBBl23LqiZQEml+FURAhKvAKCIqfNCVZyEugvxIMvXHdRb3zusVwCfftBt
iI9p8nv0vDhQhpbktK/urf8=
=+cTb
-----END PGP MESSAGE-----
--==-=-=--