Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: "Justin <jlec>" <jlec@g.o>
Cc: gentoo-dev@l.g.o, qa@g.o
Subject: Re: [gentoo-dev] XML Schema files for metadata.xml, projects.xml and repositories.xml, for review and testing
Date: Sun, 06 Mar 2016 18:19:08
Message-Id: 20160306191845.5c0a592d.mgorny@gentoo.org
In Reply to: Re: [gentoo-dev] XML Schema files for metadata.xml, projects.xml and repositories.xml, for review and testing by "Justin "
1 On Sun, 6 Mar 2016 18:12:03 +0000
2 "Justin <jlec>" <jlec@g.o> wrote:
3
4 > On 06/03/16 12:24, Davide Pesavento wrote:
5 > > On Sun, Mar 6, 2016 at 12:04 PM, Michał Górny <mgorny@g.o> wrote:
6 > >> On Sun, 6 Mar 2016 12:01:19 +0100
7 > >> Michał Górny <mgorny@g.o> wrote:
8 > >>
9 > >>> Please test and review. I'm going to reply to this mail with the list
10 > >>> of current metadata.xml validation failures (it's quite long).
11 > >>
12 > >> And here's the list:
13 > >>
14 > > ...
15 > >> /var/db/repos/gentoo/dev-qt/qtmultimedia/metadata.xml:12: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'media-libs/gstreamer:1.0' is not accepted by the pattern '[A-Za-z0-9_][A-Za-z0-9+_.-]*/[A-Za-z0-9_][A-Za-z0-9+_-]*'.
16 > >> /var/db/repos/gentoo/dev-qt/qtmultimedia/metadata.xml:12: element pkg: Schemas validity error : Element 'pkg': 'media-libs/gstreamer:1.0' is not a valid value of the atomic type 'pkgType'.
17 > >> /var/db/repos/gentoo/dev-qt/qtmultimedia/metadata.xml:13: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'media-libs/gstreamer:0.10' is not accepted by the pattern '[A-Za-z0-9_][A-Za-z0-9+_.-]*/[A-Za-z0-9_][A-Za-z0-9+_-]*'.
18 > >> /var/db/repos/gentoo/dev-qt/qtmultimedia/metadata.xml:13: element pkg: Schemas validity error : Element 'pkg': 'media-libs/gstreamer:0.10' is not a valid value of the atomic type 'pkgType'.
19 > >> /var/db/repos/gentoo/dev-qt/qtmultimedia/metadata.xml fails to validate
20 > >>
21 > >> /var/db/repos/gentoo/dev-qt/qtwebkit/metadata.xml:12: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'media-libs/gstreamer:1.0' is not accepted by the pattern '[A-Za-z0-9_][A-Za-z0-9+_.-]*/[A-Za-z0-9_][A-Za-z0-9+_-]*'.
22 > >> /var/db/repos/gentoo/dev-qt/qtwebkit/metadata.xml:12: element pkg: Schemas validity error : Element 'pkg': 'media-libs/gstreamer:1.0' is not a valid value of the atomic type 'pkgType'.
23 > >> /var/db/repos/gentoo/dev-qt/qtwebkit/metadata.xml:13: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'media-libs/gstreamer:0.10' is not accepted by the pattern '[A-Za-z0-9_][A-Za-z0-9+_.-]*/[A-Za-z0-9_][A-Za-z0-9+_-]*'.
24 > >> /var/db/repos/gentoo/dev-qt/qtwebkit/metadata.xml:13: element pkg: Schemas validity error : Element 'pkg': 'media-libs/gstreamer:0.10' is not a valid value of the atomic type 'pkgType'.
25 > >> /var/db/repos/gentoo/dev-qt/qtwebkit/metadata.xml fails to validate
26 > >>
27 > >
28 > > Slots are not accepted in <pkg> elements? Is that intentional? If so,
29 > > is there something else we can use?
30 > >
31 >
32 > We should definitely include SLOTs in the allowed syntax.
33
34 Why? What's their use? In fact, does <pkg/> have any use? Because as I
35 see it, it's just some fancy feature that could turn package name into
36 link to packages.gentoo.org and nothing more...
37
38 --
39 Best regards,
40 Michał Górny
41 <http://dev.gentoo.org/~mgorny/>

Replies