[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: a replacement for .discinfo?



So, upon reflection.. forget about the tree.xml altogether. Here's a
different idea - a slightly improved version of discinfo that uses
key-value pairs, and *also* contains all the info I wanted to put in
tree.xml:

[wwoods metroid os]$ cat .distinfo
family: Fedora
variant: Desktop
version: 6.90
arch: i386
timestamp: 1170104239.562016
composeid: 20070129.1
disc: 2/3
packagedir: Fedora

Don't know if it would apply in this case, but a very easy format that
that is a bit more flexible is the old "win.ini" format, where you
have section headers, followed by key value pairs (samba uses this
config format), such that if you wanted to namespace things a bit you
could.  That said, name spacing can be achieved in the variable name
itself.

Cheers...james


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]