Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] metadata.xml un<herd/>-ization, v2
Date: Tue, 09 Dec 2014 18:30:54
Message-Id: 20141209193034.61b986a1@pomiot.lan
In Reply to: Re: [gentoo-dev] metadata.xml un-ization, v2 by "Michał Górny"
1 Dnia 2014-12-09, o godz. 10:15:09
2 Michał Górny <mgorny@g.o> napisał(a):
3
4 > Dnia 2014-12-09, o godz. 00:46:28
5 > Michał Górny <mgorny@g.o> napisał(a):
6 >
7 > > Hello, all.
8 > >
9 > > So considering the previous thread, the Council and QA discussions, I
10 > > have prepared a new version of the metadata.xml update. To hopefully
11 > > make everyone happy, I come with this three-step process:
12 > >
13 > > 1. Add type="" attribute to <maintainer/> tag (see attached patch),
14 > >
15 > > 2. Convert <herd/> to <maintainer type="herd"/>,
16 >
17 > If anyone cares, attaching my script doing the conversion. It tries
18 > hard to preserve the indentation used in metadata.xml. However, it does
19 > not preserve ' vs " in attribute names.
20 >
21 > The diff can be seen @
22 > http://dev.gentoo.org/~mgorny/tmp/herds.diff.xz
23
24 And a small update to the script attached, that avoids adding duplicate
25 <maintainer/> tags when herd's already in <maintainer/> as well. Linked
26 diff updated as well.
27
28 --
29 Best regards,
30 Michał Górny

Attachments

File name MIME type
herdfix.py text/x-python