Gentoo Archives: gentoo-dev

From: "Tiziano Müller" <dev-zero@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [rfc] layman-global.txt, repositories.xml, layman, overlays.gentoo.org
Date: Thu, 01 Oct 2009 07:27:24
Message-Id: 1254382035.29918.65.camel@localhost
In Reply to: Re: [gentoo-dev] [rfc] layman-global.txt, repositories.xml, layman, overlays.gentoo.org by Sebastian Pipping
1 Am Mittwoch, den 30.09.2009, 17:57 +0200 schrieb Sebastian Pipping:
2 > Fabian Groffen wrote:
3 > > Point remains that it looks in-consistant, for repo, name is an
4 > > attribute, while for owner it is a sub-element. Why having attributes
5 > > in the first place anyway?
6 >
7 > It's closer to the original layman-global.txt which also makes the
8 > converter scripts simpler (and faster) than the element approach. I
9 > think it's just right.
10 Then you're doing something wrong in your converter script because that
11 would be a simple change.
12 A simple rule of thumb is: use attributes for values with predefined
13 contents, use elements otherwise. So, make "name" an element please.
14
15 --
16 Tiziano Müller
17 Gentoo Linux Developer
18 Areas of responsibility:
19 Samba, PostgreSQL, CPP, Python, sysadmin, GLEP Editor
20 E-Mail : dev-zero@g.o
21 GnuPG FP : F327 283A E769 2E36 18D5 4DE2 1B05 6A63 AE9C 1E30

Attachments

File name MIME type
signature.asc application/pgp-signature
smime.p7s application/x-pkcs7-signature

Replies

Subject Author
Re: [gentoo-dev] [rfc] layman-global.txt, repositories.xml, layman, overlays.gentoo.org Sebastian Pipping <webmaster@××××××××.org>