public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: Davide Pesavento <pesa@gentoo.org>
Cc: gentoo-dev@lists.gentoo.org, "Justin <jlec>" <jlec@gentoo.org>,
	qa@gentoo.org
Subject: Re: [gentoo-dev] XML Schema files for metadata.xml, projects.xml and repositories.xml, for review and testing
Date: Sun, 6 Mar 2016 19:31:22 +0100	[thread overview]
Message-ID: <20160306193122.7894368b.mgorny@gentoo.org> (raw)
In-Reply-To: <CADfzvvY+rPow_o2xHP=Y7kA9_yv-ZKQNgPSZ0MrNboX0MRe0nw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3742 bytes --]

On Sun, 6 Mar 2016 19:26:15 +0100
Davide Pesavento <pesa@gentoo.org> wrote:

> On Sun, Mar 6, 2016 at 7:18 PM, Michał Górny <mgorny@gentoo.org> wrote:
> > On Sun, 6 Mar 2016 18:12:03 +0000
> > "Justin <jlec>" <jlec@gentoo.org> wrote:
> >  
> >> On 06/03/16 12:24, Davide Pesavento wrote:  
> >> > On Sun, Mar 6, 2016 at 12:04 PM, Michał Górny <mgorny@gentoo.org> wrote:  
> >> >> On Sun, 6 Mar 2016 12:01:19 +0100
> >> >> Michał Górny <mgorny@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
> ?

Prolly.

Just to be clear, I have no clue what the original use of <pkg/> was
and what the final outcome of this will be. This thread was established
mostly in order to determine that. I'd wait for ulm to turn up and have
some suggestions ;-).

-- 
Best regards,
Michał Górny
<http://dev.gentoo.org/~mgorny/>

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 949 bytes --]

  reply	other threads:[~2016-03-06 18:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-06 11:01 [gentoo-dev] XML Schema files for metadata.xml, projects.xml and repositories.xml, for review and testing Michał Górny
2016-03-06 11:04 ` Michał Górny
2016-03-06 11:27   ` Sergei Trofimovich
2016-03-06 12:24   ` Davide Pesavento
2016-03-06 18:12     ` Justin <jlec>
2016-03-06 18:18       ` Michał Górny
2016-03-06 18:26         ` Davide Pesavento
2016-03-06 18:31           ` Michał Górny [this message]
2016-03-06 19:28             ` Ulrich Mueller
2016-03-06 19:35               ` Michał Górny
2016-03-06 20:22               ` Justin <jlec>
2016-03-06 20:49                 ` Michał Górny
2016-03-06 21:34                   ` Justin <jlec>
2016-03-06 18:31         ` Justin <jlec>
2016-03-06 18:25       ` Kent Fredric
  -- strict thread matches above, loose matches on Subject: below --
2016-03-06  9:43 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160306193122.7894368b.mgorny@gentoo.org \
    --to=mgorny@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=jlec@gentoo.org \
    --cc=pesa@gentoo.org \
    --cc=qa@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox