Status of gconf -> dconf

David Lutterkort lutter at redhat.com
Thu Feb 26 05:25:15 UTC 2009


On Tue, 2009-02-24 at 16:46 +0100, Kevin Kofler wrote:
> Simo Sorce wrote:
> > The only files that are well structured enough to not be an impediment
> > are XML files
> 
> Why? What's wrong with plain INI-style files like the ones used by KConfig?
> They are also structured.

The problem is that there isn't a standard INI-style format, and
therefore no standard INI-parser that works for all of them.

When you get down to the nitty gritty, all those INI-style formats have
subtle differences (Does 'Rem' start a comment ? Are spaces legal
between key, '=' and value ? Are indented lines continuations of the
previous line like in yum or is the indentation just ignored as in
samba.conf ? Can entries just be 'key' like in mysql.conf or do you have
to have 'key =' at a minimum etc.)

For a human, those differences are somewhat annoying, for a program that
reads and writes INI-style files, it's a serious issue. (That's part of
what Augeas is addressin)

David





More information about the devel mailing list