1 |
On Sun, Mar 6, 2016 at 7:18 PM, Michał Górny <mgorny@g.o> wrote: |
2 |
> On Sun, 6 Mar 2016 18:12:03 +0000 |
3 |
> "Justin <jlec>" <jlec@g.o> wrote: |
4 |
> |
5 |
>> On 06/03/16 12:24, Davide Pesavento wrote: |
6 |
>> > On Sun, Mar 6, 2016 at 12:04 PM, Michał Górny <mgorny@g.o> wrote: |
7 |
>> >> On Sun, 6 Mar 2016 12:01:19 +0100 |
8 |
>> >> Michał Górny <mgorny@g.o> wrote: |
9 |
>> >> |
10 |
>> >>> Please test and review. I'm going to reply to this mail with the list |
11 |
>> >>> of current metadata.xml validation failures (it's quite long). |
12 |
>> >> |
13 |
>> >> And here's the list: |
14 |
>> >> |
15 |
>> > ... |
16 |
>> >> /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+_-]*'. |
17 |
>> >> /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'. |
18 |
>> >> /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+_-]*'. |
19 |
>> >> /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'. |
20 |
>> >> /var/db/repos/gentoo/dev-qt/qtmultimedia/metadata.xml fails to validate |
21 |
>> >> |
22 |
>> >> /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+_-]*'. |
23 |
>> >> /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'. |
24 |
>> >> /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+_-]*'. |
25 |
>> >> /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'. |
26 |
>> >> /var/db/repos/gentoo/dev-qt/qtwebkit/metadata.xml fails to validate |
27 |
>> >> |
28 |
>> > |
29 |
>> > Slots are not accepted in <pkg> elements? Is that intentional? If so, |
30 |
>> > is there something else we can use? |
31 |
>> > |
32 |
>> |
33 |
>> We should definitely include SLOTs in the allowed syntax. |
34 |
> |
35 |
> Why? What's their use? In fact, does <pkg/> have any use? Because as I |
36 |
> see it, it's just some fancy feature that could turn package name into |
37 |
> link to packages.gentoo.org and nothing more... |
38 |
> |
39 |
|
40 |
Yeah that's what I thought too. If you really want you could also |
41 |
check that the referenced package really exists in the tree... |
42 |
|
43 |
So I guess we could use the following form when SLOTs are needed: |
44 |
<pkg>media-libs/gstreamer</pkg>:1.0 |
45 |
? |