1 |
On 30-09-2009 17:36:47 +0200, Sebastian Pipping wrote: |
2 |
> Tiziano Müller wrote: |
3 |
> > Am Montag, den 28.09.2009, 20:23 +0200 schrieb Sebastian Pipping: |
4 |
> >> repositories.xml |
5 |
> >> ===================================================================== |
6 |
> >> <repo |
7 |
> >> name="sping" |
8 |
> >> quality="experimental" |
9 |
> >> status="unofficial"> |
10 |
> >> <description>Gentoo overlay of Sebastian Pipping</description> |
11 |
> >> <homepage>http://git.goodpoint.de/?p=overlay-sping.git</homepage> |
12 |
> >> <owner type="person"> |
13 |
> >> <email>sebastian@×××××××.org</email> |
14 |
> >> <name>Sebastian Pipping</name> |
15 |
> >> </owner> |
16 |
> >> <source type="git">git://git.goodpoint.de/overlay-sping.git</source> |
17 |
> >> <feed>http://git.goodpoint.de/?p=overlay-sping.git.git;a=atom</feed> |
18 |
> >> </repo> |
19 |
> >> ===================================================================== |
20 |
> > |
21 |
> > What is the reason that "name" is an attribute? While quality, status |
22 |
> > and type have a distinct set of allowed values, name doesn't and I'd |
23 |
> > therefore set it as an element instead. |
24 |
> |
25 |
> I don't see value in that change and I like name as it is. |
26 |
|
27 |
Point remains that it looks in-consistant, for repo, name is an |
28 |
attribute, while for owner it is a sub-element. Why having attributes |
29 |
in the first place anyway? |
30 |
It's XML, so it may be extremely annoying to parse/use. |
31 |
|
32 |
|
33 |
-- |
34 |
Fabian Groffen |
35 |
Gentoo on a different level |