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