Gentoo Archives: gentoo-dev

From: Alex Alexander <wired@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] metdata.dtd should require <herd/>
Date: Tue, 15 Dec 2009 18:35:14
Message-Id: 20091215171532.GA21885@cloud.lan
In Reply to: Re: [gentoo-dev] metdata.dtd should require by Peter Volkov
1 On Tue, Dec 15, 2009 at 06:19:00PM +0300, Peter Volkov wrote:
2 > So what we will do with this? It'll be great to fix dtd to follow our
3 > requirements, but there is a problem:
4 >
5 > if we change dtd like this:
6 >
7 > <!ELEMENT pkgmetadata ( herd+, (maintainer|longdescription|use|upstream)* )>
8 >
9 > we will force all metadata.xml files have strict order of tags: first
10 > <herd/> then other tags. Currently there are about 200 ebuilds with
11 > different order http://bugs.gentoo.org/show_bug.cgi?id=279206#c4 .
12
13 Forced ordering looks fine to me... we could announce the change, let
14 devs fix their metadata during a short period of time (say, 2 weeks),
15 then force-fix the ones left (200 is a small number) and apply the dtd fix.
16
17 --
18 Alex Alexander :: wired
19 Gentoo Developer
20 www.linuxized.com