Gentoo Archives: gentoo-project

From: Robert Buchholz <rbu@g.o>
To: gentoo-project@l.g.o
Cc: "Marijn Schouten (hkBst)" <hkBst@g.o>, "�" <lists@××××××.eu>
Subject: Re: [gentoo-project] Automation: Making package.mask better
Date: Sun, 22 Jul 2007 22:34:20
Message-Id: 200707230033.42356.rbu@gentoo.org
In Reply to: Re: [gentoo-project] Automation: Making package.mask better by "Marijn Schouten (hkBst)"
1 On Sunday, 22. July 2007 14:18, Marijn Schouten (hkBst) wrote:
2 > � wrote:
3 > > -----BEGIN PGP SIGNED MESSAGE-----
4 > > Hash: SHA1
5 > >
6 > > Hmm ... automation:
7 > >
8 > > Without saying something on whether it would be useful or not, I
9 > > think that we should change the format to sth which can be
10 > > processed easily by programs (XML for instance).
11 >
12 > Yes, we could use s-expressions. They are as powerful as XML, but not
13 > so insanely verbose.
14 >
15 > > To ensure human readibility, one could keep
16 > > the text file and have the xml one addtionally.
17 >
18 > I don't think anybody wants to duplicate work like that. Anyway,
19 > s-expressions are easy to read for humans as well as computers.
20
21 Why does the (text based) format of the file need to change at all?
22 Can't the metadata just be optional comments that are interpreted if
23 present. This would keep upwards compatibility for older pm versions as
24 well as easy local (un-)maskings for users, as already mentioned by
25 James Cloos.
26
27 -R.
28 --
29 gentoo-project@g.o mailing list