[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: Re: [gentoo-dev] [rfc] layman-global.txt, repositories.xml,
From: Fabian Groffen <grobian () gentoo ! org>
Date: 2009-09-30 15:48:24
Message-ID: 20090930154824.GA25000 () gentoo ! org
[Download RAW message or body]
On 30-09-2009 17:36:47 +0200, Sebastian Pipping wrote:
> Tiziano Müller wrote:
> > Am Montag, den 28.09.2009, 20:23 +0200 schrieb Sebastian Pipping:
> >> repositories.xml
> >> =====================================================================
> >> <repo
> >> name="sping"
> >> quality="experimental"
> >> status="unofficial">
> >> <description>Gentoo overlay of Sebastian Pipping</description>
> >> <homepage>http://git.goodpoint.de/?p=overlay-sping.git</homepage>
> >> <owner type="person">
> >> <email>sebastian@pipping.org</email>
> >> <name>Sebastian Pipping</name>
> >> </owner>
> >> <source type="git">git://git.goodpoint.de/overlay-sping.git</source>
> >> <feed>http://git.goodpoint.de/?p=overlay-sping.git.git;a=atom</feed>
> >> </repo>
> >> =====================================================================
> >
> > What is the reason that "name" is an attribute? While quality, status
> > and type have a distinct set of allowed values, name doesn't and I'd
> > therefore set it as an element instead.
>
> I don't see value in that change and I like name as it is.
Point remains that it looks in-consistant, for repo, name is an
attribute, while for owner it is a sub-element. Why having attributes
in the first place anyway?
It's XML, so it may be extremely annoying to parse/use.
--
Fabian Groffen
Gentoo on a different level
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic