Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] metdata.dtd should require <herd/>
Date: Tue, 15 Dec 2009 18:37:18
Message-Id: 200912151227.25617.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] metdata.dtd should require by Peter Volkov
1 On Tuesday 15 December 2009 10:19:00 Peter Volkov wrote:
2 > we will force all metadata.xml files have strict order of tags: first
3 > <herd/> then other tags. Currently there are about 200 ebuilds with
4 > different order http://bugs.gentoo.org/show_bug.cgi?id=279206#c4 .
5 >
6 > Hans's suggestion http://bugs.gentoo.org/show_bug.cgi?id=279206#c7 works
7 > but it is not nice and prohibits another order: herd, other tags, herd.
8 >
9 > Personally I'd kept dtd simple and forced ordering.
10
11 +1 ... i dont see any need/reason to have fields scattered
12
13 > So actually two questions here:
14 >
15 > 1. How should we fix dtd?
16 > 2. Are there any problems if we fix dtd first and let maintainers fix
17 > metadata.xml on bumps (iow, what will became broken if metadata.xml
18 > became not valid)?
19
20 write a script to fix the tree and then update the dtd
21 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature