On Sun, Mar 6, 2016 at 7:18 PM, Michał Górny <mgo...@gentoo.org> wrote:
> On Sun, 6 Mar 2016 18:12:03 +0000
> "Justin <jlec>" <j...@gentoo.org> wrote:
>
>> On 06/03/16 12:24, Davide Pesavento wrote:
>> > On Sun, Mar 6, 2016 at 12:04 PM, Michał Górny <mgo...@gentoo.org> wrote:
>> >> On Sun, 6 Mar 2016 12:01:19 +0100
>> >> Michał Górny <mgo...@gentoo.org> wrote:
>> >>
>> >>> Please test and review. I'm going to reply to this mail with the list
>> >>> of current metadata.xml validation failures (it's quite long).
>> >>
>> >> And here's the list:
>> >>
>> > ...
>> >> /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+_-]*'.
>> >> /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'.
>> >> /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+_-]*'.
>> >> /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'.
>> >> /var/db/repos/gentoo/dev-qt/qtmultimedia/metadata.xml fails to validate
>> >>
>> >> /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+_-]*'.
>> >> /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'.
>> >> /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+_-]*'.
>> >> /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'.
>> >> /var/db/repos/gentoo/dev-qt/qtwebkit/metadata.xml fails to validate
>> >>
>> >
>> > Slots are not accepted in <pkg> elements? Is that intentional? If so,
>> > is there something else we can use?
>> >
>>
>> We should definitely include SLOTs in the allowed syntax.
>
> Why? What's their use? In fact, does <pkg/> have any use? Because as I
> see it, it's just some fancy feature that could turn package name into
> link to packages.gentoo.org and nothing more...
>

Yeah that's what I thought too. If you really want you could also
check that the referenced package really exists in the tree...

So I guess we could use the following form when SLOTs are needed:
  <pkg>media-libs/gstreamer</pkg>:1.0
?

Reply via email to