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
In Reply to: Re: [gentoo-dev] metdata.dtd should require by Peter Volkov
On Tuesday 15 December 2009 10:19:00 Peter Volkov wrote:
> we will force all metadata.xml files have strict order of tags: first > <herd/> then other tags. Currently there are about 200 ebuilds with > different order . > > Hans's suggestion works > but it is not nice and prohibits another order: herd, other tags, herd. > > Personally I'd kept dtd simple and forced ordering.
+1 ... i dont see any need/reason to have fields scattered
> So actually two questions here: > > 1. How should we fix dtd? > 2. Are there any problems if we fix dtd first and let maintainers fix > metadata.xml on bumps (iow, what will became broken if metadata.xml > became not valid)?
write a script to fix the tree and then update the dtd -mike


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