public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] metadata.xml GLEP for review
@ 2016-03-16 18:43 Michał Górny
  2016-03-16 19:37 ` Dirkjan Ochtman
  2016-03-18 19:42 ` Johannes Huber
  0 siblings, 2 replies; 6+ messages in thread
From: Michał Górny @ 2016-03-16 18:43 UTC (permalink / raw
  To: gentoo-dev

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

Hello, all.

Long story short: while working on various metadata.xml-related
aspects, it bite us pretty hard that we lack proper spec for
metadata.xml file. What we have is pretty much the DTD, some partial
GLEPs (that sometimes provide incorrect info) and random bugs. ml
posts...

Therefore, I've been slowly writing a proper GLEP that would describe
all of metadata.xml in detail. Here's the current draft for review:

https://wiki.gentoo.org/wiki/User:MGorny/GLEP:68

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

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] metadata.xml GLEP for review
  2016-03-16 18:43 [gentoo-dev] metadata.xml GLEP for review Michał Górny
@ 2016-03-16 19:37 ` Dirkjan Ochtman
  2016-03-16 19:45   ` Michał Górny
  2016-03-18 14:37   ` Michał Górny
  2016-03-18 19:42 ` Johannes Huber
  1 sibling, 2 replies; 6+ messages in thread
From: Dirkjan Ochtman @ 2016-03-16 19:37 UTC (permalink / raw
  To: Gentoo Development

On Wed, Mar 16, 2016 at 7:43 PM, Michał Górny <mgorny@gentoo.org> wrote:
> Therefore, I've been slowly writing a proper GLEP that would describe
> all of metadata.xml in detail. Here's the current draft for review:

Sounds like a good idea!

> https://wiki.gentoo.org/wiki/User:MGorny/GLEP:68

I reviewed your spec based on my experience from trying to create a
RELAX NG schema for all metadata.xml files that were in the tree at
the time. I assume you've also validated your spec against what's
actually being used? I have a few questions:

- I had the upstream maintainer's email element pegged as mandatory.
Don't you think that makes sense? A name-only maintainer element seems
relatively low-value to me.
- You list a number of the upstream child elements (changelog, doc,
bug-to) as "zero or more". Doesn't it make sense to make (some of)
these zero or one?

Cheers,

Dirkjan


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] metadata.xml GLEP for review
  2016-03-16 19:37 ` Dirkjan Ochtman
@ 2016-03-16 19:45   ` Michał Górny
  2016-03-18 14:37   ` Michał Górny
  1 sibling, 0 replies; 6+ messages in thread
From: Michał Górny @ 2016-03-16 19:45 UTC (permalink / raw
  To: Dirkjan Ochtman; +Cc: Gentoo Development


[-- Attachment #1.1: Type: text/plain, Size: 1969 bytes --]

On Wed, 16 Mar 2016 20:37:30 +0100
Dirkjan Ochtman <djc@gentoo.org> wrote:

> On Wed, Mar 16, 2016 at 7:43 PM, Michał Górny <mgorny@gentoo.org> wrote:
> > Therefore, I've been slowly writing a proper GLEP that would describe
> > all of metadata.xml in detail. Here's the current draft for review:  
> 
> Sounds like a good idea!
> 
> > https://wiki.gentoo.org/wiki/User:MGorny/GLEP:68  
> 
> I reviewed your spec based on my experience from trying to create a
> RELAX NG schema for all metadata.xml files that were in the tree at
> the time. I assume you've also validated your spec against what's
> actually being used?

I've validated my XML Schema which conforms to the spec (but isn't 100%
strict on everything). You can see the numeric results in 'backwards
compat' section, also attaching failures.txt with specific list in
case you wanted to look through it.

> I have a few questions:
> 
> - I had the upstream maintainer's email element pegged as mandatory.
> Don't you think that makes sense? A name-only maintainer element seems
> relatively low-value to me.

As for upstream stuff, I tried to keep it as GLEP 46 says. In this
case, it's unclear whether it's supposed to be mandatory. There's no
explicit notion either way. However, as I pointed out, there are 4
packages which list maintainers with empty e-mail address. If we are to
consider email obligatory, we should drop maintainer entries from them.

> - You list a number of the upstream child elements (changelog, doc,
> bug-to) as "zero or more". Doesn't it make sense to make (some of)
> these zero or one?

This is another problem with GLEP 46 -- I have no clue. After
discussing this with ulm, he suggested we use the same number for all
elements to reduce possible confusion.

Maybe it would be useful to query GLEP 46 authors but sadly I don't
have time to do that right now.

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

[-- Attachment #1.2: failures.txt --]
[-- Type: text/plain, Size: 41629 bytes --]

/var/db/repos/gentoo/app-admin/conky/metadata.xml:12: element description: Schemas validity error : Element 'description': This element is not expected.
/var/db/repos/gentoo/app-admin/conky/metadata.xml fails to validate

/var/db/repos/gentoo/app-admin/mktwpol/metadata.xml:12: element description: Schemas validity error : Element 'description': This element is not expected.
/var/db/repos/gentoo/app-admin/mktwpol/metadata.xml fails to validate

/var/db/repos/gentoo/app-cdr/bashburn/metadata.xml:13: element maintainer: Schemas validity error : Element 'maintainer', attribute 'type': The attribute 'type' is not allowed.
/var/db/repos/gentoo/app-cdr/bashburn/metadata.xml fails to validate

/var/db/repos/gentoo/app-cdr/cdrtools/metadata.xml:11: element description: Schemas validity error : Element 'description': This element is not expected.
/var/db/repos/gentoo/app-cdr/cdrtools/metadata.xml fails to validate

/var/db/repos/gentoo/app-crypt/eid-mw/metadata.xml:26: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'x11-libs/gtk+:*' 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/app-crypt/eid-mw/metadata.xml:26: element pkg: Schemas validity error : Element 'pkg': 'x11-libs/gtk+:*' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/app-crypt/eid-mw/metadata.xml:29: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'x11-libs/gtk+:*' 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/app-crypt/eid-mw/metadata.xml:29: element pkg: Schemas validity error : Element 'pkg': 'x11-libs/gtk+:*' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/app-crypt/eid-mw/metadata.xml fails to validate

/var/db/repos/gentoo/app-dicts/gwaei/metadata.xml:20: element use: Schemas validity error : Element 'use': Duplicate key-sequence ['en'] in unique identity-constraint 'useUniquityConstraint'.
/var/db/repos/gentoo/app-dicts/gwaei/metadata.xml:25: element use: Schemas validity error : Element 'use': Duplicate key-sequence ['en'] in unique identity-constraint 'useUniquityConstraint'.
/var/db/repos/gentoo/app-dicts/gwaei/metadata.xml fails to validate

/var/db/repos/gentoo/app-emacs/ebuild-mode/metadata.xml:9: element maintainer: Schemas validity error : Element 'maintainer', attribute 'type': The attribute 'type' is not allowed.
/var/db/repos/gentoo/app-emacs/ebuild-mode/metadata.xml fails to validate

/var/db/repos/gentoo/app-emacs/eselect-mode/metadata.xml:9: element maintainer: Schemas validity error : Element 'maintainer', attribute 'type': The attribute 'type' is not allowed.
/var/db/repos/gentoo/app-emacs/eselect-mode/metadata.xml fails to validate

/var/db/repos/gentoo/app-emulation/docker/metadata.xml:11: element maintainer: Schemas validity error : Element 'maintainer', attribute 'status': The attribute 'status' is not allowed.
/var/db/repos/gentoo/app-emulation/docker/metadata.xml fails to validate

/var/db/repos/gentoo/app-emulation/lxd/metadata.xml:4: element maintainer: Schemas validity error : Element 'maintainer', attribute 'status': The attribute 'status' is not allowed.
/var/db/repos/gentoo/app-emulation/lxd/metadata.xml fails to validate

/var/db/repos/gentoo/app-i18n/man-pages-ru/metadata.xml:13: element description: Schemas validity error : Element 'description': This element is not expected.
/var/db/repos/gentoo/app-i18n/man-pages-ru/metadata.xml fails to validate

/var/db/repos/gentoo/app-i18n/scim-input-pad/metadata.xml:8: element longdescription: Schemas validity error : Element 'longdescription', attribute 'lang': [facet 'enumeration'] The value 'EN' is not an element of the set {'aa', 'ab', 'ae', 'af', 'ak', 'am', 'an', 'ar', 'as', 'av', 'ay', 'az', 'ba', 'be', 'bg', 'bh', 'bi', 'bm', 'bn', 'bo', 'bo', 'br', 'bs', 'ca', 'ce', 'ch', 'co', 'cr', 'cs', 'cs', 'cu', 'cv', 'cy', 'cy', 'da', 'de', 'de', 'dv', 'dz', 'ee', 'el', 'el', 'en', 'eo', 'es', 'et', 'eu', 'eu', 'fa', 'fa', 'ff', 'fi', 'fj', 'fo', 'fr', 'fr', 'fy', 'ga', 'ga', 'Ga', 'gd', 'gl', 'gn', 'gu', 'gv', 'ha', 'he', 'hi', 'ho', 'hr', 'ht', 'hu', 'hy', 'hy', 'hz', 'ia', 'id', 'ie', 'ig', 'ii', 'ik', 'io', 'is', 'is', 'it', 'iu', 'ja', 'jv', 'ka', 'ka', 'kg', 'ki', 'kj', 'kk', 'kl', 'km', 'kn', 'ko', 'kr', 'ks', 'ku', 'kv', 'kw', 'ky', 'la', 'lb', 'lg', 'li', 'ln', 'lo', 'lt', 'lu', 'lv', 'mg', 'mh', 'mi', 'mi', 'mk', 'mk', 'ml', 'mn', 'mr', 'ms', 'ms', 'mt', 'my', 'my', 'na', 'nb', 'nd', 'ne', 'ng', 'nl', 'nl', 'nn', 'no', 'nr', 'nv', 'ny', 'oc', 'oj', 'om', 'or', 'os', 'pa', 'pi', 'pl', 'ps', 'pt', 'qu', 'rm', 'rn', 'ro', 'ro', 'ru', 'rw', 'sa', 'sc', 'sd', 'se', 'sg', 'si', 'sk', 'sk', 'sl', 'sm', 'sn', 'so', 'sq', 'sq', 'sr', 'ss', 'st', 'su', 'sv', 'sw', 'ta', 'te', 'tg', 'th', 'ti', 'tk', 'tl', 'tn', 'to', 'tr', 'ts', 'tt', 'tw', 'ty', 'ug', 'uk', 'ur', 'uz', 've', 'vi', 'vo', 'wa', 'wo', 'xh', 'yi', 'yo', 'za', 'zh', 'zh', 'zu'}.
/var/db/repos/gentoo/app-i18n/scim-input-pad/metadata.xml:8: element longdescription: Schemas validity error : Element 'longdescription', attribute 'lang': 'EN' is not a valid value of the atomic type 'langAttrType'.
/var/db/repos/gentoo/app-i18n/scim-input-pad/metadata.xml:8: element longdescription: Schemas validity error : Element 'longdescription', attribute 'lang': Warning: No precomputed value available, the value was either invalid or something strange happend.
/var/db/repos/gentoo/app-i18n/scim-input-pad/metadata.xml:19: element longdescription: Schemas validity error : Element 'longdescription', attribute 'lang': [facet 'enumeration'] The value 'FR' is not an element of the set {'aa', 'ab', 'ae', 'af', 'ak', 'am', 'an', 'ar', 'as', 'av', 'ay', 'az', 'ba', 'be', 'bg', 'bh', 'bi', 'bm', 'bn', 'bo', 'bo', 'br', 'bs', 'ca', 'ce', 'ch', 'co', 'cr', 'cs', 'cs', 'cu', 'cv', 'cy', 'cy', 'da', 'de', 'de', 'dv', 'dz', 'ee', 'el', 'el', 'en', 'eo', 'es', 'et', 'eu', 'eu', 'fa', 'fa', 'ff', 'fi', 'fj', 'fo', 'fr', 'fr', 'fy', 'ga', 'ga', 'Ga', 'gd', 'gl', 'gn', 'gu', 'gv', 'ha', 'he', 'hi', 'ho', 'hr', 'ht', 'hu', 'hy', 'hy', 'hz', 'ia', 'id', 'ie', 'ig', 'ii', 'ik', 'io', 'is', 'is', 'it', 'iu', 'ja', 'jv', 'ka', 'ka', 'kg', 'ki', 'kj', 'kk', 'kl', 'km', 'kn', 'ko', 'kr', 'ks', 'ku', 'kv', 'kw', 'ky', 'la', 'lb', 'lg', 'li', 'ln', 'lo', 'lt', 'lu', 'lv', 'mg', 'mh', 'mi', 'mi', 'mk', 'mk', 'ml', 'mn', 'mr', 'ms', 'ms', 'mt', 'my', 'my', 'na', 'nb', 'nd', 'ne', 'ng', 'nl', 'nl', 'nn', 'no', 'nr', 'nv', 'ny', 'oc', 'oj', 'om', 'or', 'os', 'pa', 'pi', 'pl', 'ps', 'pt', 'qu', 'rm', 'rn', 'ro', 'ro', 'ru', 'rw', 'sa', 'sc', 'sd', 'se', 'sg', 'si', 'sk', 'sk', 'sl', 'sm', 'sn', 'so', 'sq', 'sq', 'sr', 'ss', 'st', 'su', 'sv', 'sw', 'ta', 'te', 'tg', 'th', 'ti', 'tk', 'tl', 'tn', 'to', 'tr', 'ts', 'tt', 'tw', 'ty', 'ug', 'uk', 'ur', 'uz', 've', 'vi', 'vo', 'wa', 'wo', 'xh', 'yi', 'yo', 'za', 'zh', 'zh', 'zu'}.
/var/db/repos/gentoo/app-i18n/scim-input-pad/metadata.xml:19: element longdescription: Schemas validity error : Element 'longdescription', attribute 'lang': 'FR' is not a valid value of the atomic type 'langAttrType'.
/var/db/repos/gentoo/app-i18n/scim-input-pad/metadata.xml:19: element longdescription: Schemas validity error : Element 'longdescription', attribute 'lang': Warning: No precomputed value available, the value was either invalid or something strange happend.
/var/db/repos/gentoo/app-i18n/scim-input-pad/metadata.xml fails to validate

/var/db/repos/gentoo/app-misc/emelfm2/metadata.xml:9: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'x11-libs/gtk:3' 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/app-misc/emelfm2/metadata.xml:9: element pkg: Schemas validity error : Element 'pkg': 'x11-libs/gtk:3' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/app-misc/emelfm2/metadata.xml:9: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'x11-libs/gtk:2' 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/app-misc/emelfm2/metadata.xml:9: element pkg: Schemas validity error : Element 'pkg': 'x11-libs/gtk:2' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/app-misc/emelfm2/metadata.xml:9: element use: Schemas validity error : Element 'use': Duplicate key-sequence ['en'] in unique identity-constraint 'useUniquityConstraint'.
/var/db/repos/gentoo/app-misc/emelfm2/metadata.xml fails to validate

/var/db/repos/gentoo/app-misc/gourmet/metadata.xml:31: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value '>app-misc/gourmet-0.16' 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/app-misc/gourmet/metadata.xml:31: element pkg: Schemas validity error : Element 'pkg': '>app-misc/gourmet-0.16' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/app-misc/gourmet/metadata.xml:34: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value '>app-misc/gourmet-0.16' 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/app-misc/gourmet/metadata.xml:34: element pkg: Schemas validity error : Element 'pkg': '>app-misc/gourmet-0.16' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/app-misc/gourmet/metadata.xml:38: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value '>app-misc/gourmet-0.16' 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/app-misc/gourmet/metadata.xml:38: element pkg: Schemas validity error : Element 'pkg': '>app-misc/gourmet-0.16' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/app-misc/gourmet/metadata.xml:41: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value '>app-misc/gourmet-0.16' 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/app-misc/gourmet/metadata.xml:41: element pkg: Schemas validity error : Element 'pkg': '>app-misc/gourmet-0.16' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/app-misc/gourmet/metadata.xml:44: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value '>app-misc/gourmet-0.16' 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/app-misc/gourmet/metadata.xml:44: element pkg: Schemas validity error : Element 'pkg': '>app-misc/gourmet-0.16' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/app-misc/gourmet/metadata.xml fails to validate

/var/db/repos/gentoo/app-misc/rox-filer/metadata.xml:22: element description: Schemas validity error : Element 'description': This element is not expected.
/var/db/repos/gentoo/app-misc/rox-filer/metadata.xml fails to validate

/var/db/repos/gentoo/app-portage/pfl/metadata.xml:11: element description: Schemas validity error : Element 'description': This element is not expected.
/var/db/repos/gentoo/app-portage/pfl/metadata.xml fails to validate

/var/db/repos/gentoo/app-text/cb2bib/metadata.xml:9: element bugs-to: Schemas validity error : Element 'bugs-to': [facet 'pattern'] The value 'webmaster@molspaces.com' is not accepted by the pattern '(mailto:[^@]+@[^.]+\..+|https?://.+)'.
/var/db/repos/gentoo/app-text/cb2bib/metadata.xml:9: element bugs-to: Schemas validity error : Element 'bugs-to': 'webmaster@molspaces.com' is not a valid value of the atomic type 'urlType'.
/var/db/repos/gentoo/app-text/cb2bib/metadata.xml fails to validate

/var/db/repos/gentoo/app-xemacs/ebuild-mode/metadata.xml:9: element maintainer: Schemas validity error : Element 'maintainer', attribute 'type': The attribute 'type' is not allowed.
/var/db/repos/gentoo/app-xemacs/ebuild-mode/metadata.xml fails to validate

/var/db/repos/gentoo/dev-db/mariadb/metadata.xml:4: element maintainer: Schemas validity error : Element 'maintainer', attribute 'restrict': [facet 'pattern'] The value 'dev-db/mariadb[libressl]' is not accepted by the pattern '([<>]=?|[=~])[A-Za-z0-9_][A-Za-z0-9+_.-]*/[A-Za-z0-9_][A-Za-z0-9+_-]*-[0-9]+(\.[0-9]+)*[a-z]?((_alpha|_beta|_pre|_rc|_p)[0-9]*)*(-r[0-9]+)?\*?'.
/var/db/repos/gentoo/dev-db/mariadb/metadata.xml:4: element maintainer: Schemas validity error : Element 'maintainer', attribute 'restrict': 'dev-db/mariadb[libressl]' is not a valid value of the atomic type 'restrictAttrType'.
/var/db/repos/gentoo/dev-db/mariadb/metadata.xml fails to validate

/var/db/repos/gentoo/dev-db/mariadb-galera/metadata.xml:4: element maintainer: Schemas validity error : Element 'maintainer', attribute 'restrict': [facet 'pattern'] The value 'dev-db/mariadb-galera[libressl]' is not accepted by the pattern '([<>]=?|[=~])[A-Za-z0-9_][A-Za-z0-9+_.-]*/[A-Za-z0-9_][A-Za-z0-9+_-]*-[0-9]+(\.[0-9]+)*[a-z]?((_alpha|_beta|_pre|_rc|_p)[0-9]*)*(-r[0-9]+)?\*?'.
/var/db/repos/gentoo/dev-db/mariadb-galera/metadata.xml:4: element maintainer: Schemas validity error : Element 'maintainer', attribute 'restrict': 'dev-db/mariadb-galera[libressl]' is not a valid value of the atomic type 'restrictAttrType'.
/var/db/repos/gentoo/dev-db/mariadb-galera/metadata.xml fails to validate

/var/db/repos/gentoo/dev-db/mysql/metadata.xml:4: element maintainer: Schemas validity error : Element 'maintainer', attribute 'restrict': [facet 'pattern'] The value 'dev-db/mysql[libressl]' is not accepted by the pattern '([<>]=?|[=~])[A-Za-z0-9_][A-Za-z0-9+_.-]*/[A-Za-z0-9_][A-Za-z0-9+_-]*-[0-9]+(\.[0-9]+)*[a-z]?((_alpha|_beta|_pre|_rc|_p)[0-9]*)*(-r[0-9]+)?\*?'.
/var/db/repos/gentoo/dev-db/mysql/metadata.xml:4: element maintainer: Schemas validity error : Element 'maintainer', attribute 'restrict': 'dev-db/mysql[libressl]' is not a valid value of the atomic type 'restrictAttrType'.
/var/db/repos/gentoo/dev-db/mysql/metadata.xml fails to validate

/var/db/repos/gentoo/dev-db/mysql-cluster/metadata.xml:4: element maintainer: Schemas validity error : Element 'maintainer', attribute 'restrict': [facet 'pattern'] The value 'dev-db/mysql[libressl]' is not accepted by the pattern '([<>]=?|[=~])[A-Za-z0-9_][A-Za-z0-9+_.-]*/[A-Za-z0-9_][A-Za-z0-9+_-]*-[0-9]+(\.[0-9]+)*[a-z]?((_alpha|_beta|_pre|_rc|_p)[0-9]*)*(-r[0-9]+)?\*?'.
/var/db/repos/gentoo/dev-db/mysql-cluster/metadata.xml:4: element maintainer: Schemas validity error : Element 'maintainer', attribute 'restrict': 'dev-db/mysql[libressl]' is not a valid value of the atomic type 'restrictAttrType'.
/var/db/repos/gentoo/dev-db/mysql-cluster/metadata.xml fails to validate

/var/db/repos/gentoo/dev-db/percona-server/metadata.xml:4: element maintainer: Schemas validity error : Element 'maintainer', attribute 'restrict': [facet 'pattern'] The value 'dev-db/percona-server[libressl]' is not accepted by the pattern '([<>]=?|[=~])[A-Za-z0-9_][A-Za-z0-9+_.-]*/[A-Za-z0-9_][A-Za-z0-9+_-]*-[0-9]+(\.[0-9]+)*[a-z]?((_alpha|_beta|_pre|_rc|_p)[0-9]*)*(-r[0-9]+)?\*?'.
/var/db/repos/gentoo/dev-db/percona-server/metadata.xml:4: element maintainer: Schemas validity error : Element 'maintainer', attribute 'restrict': 'dev-db/percona-server[libressl]' is not a valid value of the atomic type 'restrictAttrType'.
/var/db/repos/gentoo/dev-db/percona-server/metadata.xml fails to validate

/var/db/repos/gentoo/dev-games/mygui/metadata.xml:12: element description: Schemas validity error : Element 'description': This element is not expected.
/var/db/repos/gentoo/dev-games/mygui/metadata.xml fails to validate

/var/db/repos/gentoo/dev-libs/libgcrypt/metadata.xml:4: element maintainer: Schemas validity error : Element 'maintainer', attribute 'restrict': [facet 'pattern'] The value 'dev-libs/libgcrypt:11' is not accepted by the pattern '([<>]=?|[=~])[A-Za-z0-9_][A-Za-z0-9+_.-]*/[A-Za-z0-9_][A-Za-z0-9+_-]*-[0-9]+(\.[0-9]+)*[a-z]?((_alpha|_beta|_pre|_rc|_p)[0-9]*)*(-r[0-9]+)?\*?'.
/var/db/repos/gentoo/dev-libs/libgcrypt/metadata.xml:4: element maintainer: Schemas validity error : Element 'maintainer', attribute 'restrict': 'dev-libs/libgcrypt:11' is not a valid value of the atomic type 'restrictAttrType'.
/var/db/repos/gentoo/dev-libs/libgcrypt/metadata.xml fails to validate

/var/db/repos/gentoo/dev-libs/libmaa/metadata.xml:6: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'libmaa' 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-libs/libmaa/metadata.xml:6: element pkg: Schemas validity error : Element 'pkg': 'libmaa' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/dev-libs/libmaa/metadata.xml:8: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'libmaa' 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-libs/libmaa/metadata.xml:8: element pkg: Schemas validity error : Element 'pkg': 'libmaa' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/dev-libs/libmaa/metadata.xml fails to validate

/var/db/repos/gentoo/dev-lua/metadata.xml:36: element longdescription: Schemas validity error : Element 'longdescription': Duplicate key-sequence ['pl'] in unique identity-constraint 'catLongDescUniquityConstraint'.
/var/db/repos/gentoo/dev-lua/metadata.xml fails to validate

/var/db/repos/gentoo/dev-python/markdown2/metadata.xml:14: element email: Schemas validity error : Element 'email': [facet 'pattern'] The value '' is not accepted by the pattern '[^@]+@[^.]+\..+'.
/var/db/repos/gentoo/dev-python/markdown2/metadata.xml:14: element email: Schemas validity error : Element 'email': '' is not a valid value of the atomic type 'emailType'.
/var/db/repos/gentoo/dev-python/markdown2/metadata.xml fails to validate

/var/db/repos/gentoo/dev-python/matplotlib/metadata.xml:16: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'x11-libs/gtk+:2' 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-python/matplotlib/metadata.xml:16: element pkg: Schemas validity error : Element 'pkg': 'x11-libs/gtk+:2' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/dev-python/matplotlib/metadata.xml:17: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'x11-libs/gtk+:3' 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-python/matplotlib/metadata.xml:17: element pkg: Schemas validity error : Element 'pkg': 'x11-libs/gtk+:3' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/dev-python/matplotlib/metadata.xml fails to validate

/var/db/repos/gentoo/dev-python/metadata.xml:39: element longdescription: Schemas validity error : Element 'longdescription': Duplicate key-sequence ['pl'] in unique identity-constraint 'catLongDescUniquityConstraint'.
/var/db/repos/gentoo/dev-python/metadata.xml fails to validate

/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

/var/db/repos/gentoo/dev-util/astyle/metadata.xml:14: element maintainer: Schemas validity error : Element 'maintainer', attribute 'type': The attribute 'type' is not allowed.
/var/db/repos/gentoo/dev-util/astyle/metadata.xml fails to validate

/var/db/repos/gentoo/kde-base/kdeplasma-addons/metadata.xml:17: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'x11-libs/qwt:5' 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/kde-base/kdeplasma-addons/metadata.xml:17: element pkg: Schemas validity error : Element 'pkg': 'x11-libs/qwt:5' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/kde-base/kdeplasma-addons/metadata.xml fails to validate

/var/db/repos/gentoo/mail-filter/MailScanner/metadata.xml:9: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'mail-mta' 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/mail-filter/MailScanner/metadata.xml:9: element pkg: Schemas validity error : Element 'pkg': 'mail-mta' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/mail-filter/MailScanner/metadata.xml fails to validate

/var/db/repos/gentoo/mail-filter/zdkimfilter/metadata.xml:16: element use: Schemas validity error : Element 'use': Duplicate key-sequence ['en'] in unique identity-constraint 'useUniquityConstraint'.
/var/db/repos/gentoo/mail-filter/zdkimfilter/metadata.xml fails to validate

/var/db/repos/gentoo/media-gfx/freewrl/metadata.xml:15: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value '=media-gfx/freewrl-1.22*' 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/media-gfx/freewrl/metadata.xml:15: element pkg: Schemas validity error : Element 'pkg': '=media-gfx/freewrl-1.22*' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/media-gfx/freewrl/metadata.xml:15: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value '>=media-gfx/freewrl-2' 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/media-gfx/freewrl/metadata.xml:15: element pkg: Schemas validity error : Element 'pkg': '>=media-gfx/freewrl-2' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/media-gfx/freewrl/metadata.xml fails to validate

/var/db/repos/gentoo/media-gfx/geeqie/metadata.xml:10: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'x11-libs/gtk+:3' 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/media-gfx/geeqie/metadata.xml:10: element pkg: Schemas validity error : Element 'pkg': 'x11-libs/gtk+:3' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/media-gfx/geeqie/metadata.xml:10: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'x11-libs/gtk+:2' 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/media-gfx/geeqie/metadata.xml:10: element pkg: Schemas validity error : Element 'pkg': 'x11-libs/gtk+:2' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/media-gfx/geeqie/metadata.xml fails to validate

/var/db/repos/gentoo/media-libs/lvtk/metadata.xml:9: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'x11-libs/gtk+:2' 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/media-libs/lvtk/metadata.xml:9: element pkg: Schemas validity error : Element 'pkg': 'x11-libs/gtk+:2' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/media-libs/lvtk/metadata.xml fails to validate

/var/db/repos/gentoo/media-plugins/hexter/metadata.xml:9: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'x11-libs/gtk+:2' 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/media-plugins/hexter/metadata.xml:9: element pkg: Schemas validity error : Element 'pkg': 'x11-libs/gtk+:2' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/media-plugins/hexter/metadata.xml fails to validate

/var/db/repos/gentoo/media-video/libav/metadata.xml:33: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'libvpx.' 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/media-video/libav/metadata.xml:33: element pkg: Schemas validity error : Element 'pkg': 'libvpx.' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/media-video/libav/metadata.xml fails to validate

/var/db/repos/gentoo/net-analyzer/pinger/metadata.xml:9: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'x11-libs/gtk:2' 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/net-analyzer/pinger/metadata.xml:9: element pkg: Schemas validity error : Element 'pkg': 'x11-libs/gtk:2' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/net-analyzer/pinger/metadata.xml:10: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'x11-libs/gtk:3' 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/net-analyzer/pinger/metadata.xml:10: element pkg: Schemas validity error : Element 'pkg': 'x11-libs/gtk:3' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/net-analyzer/pinger/metadata.xml fails to validate

/var/db/repos/gentoo/net-firewall/shorewall/metadata.xml:36: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'net-firewall/shorewall[ipv4]' 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/net-firewall/shorewall/metadata.xml:36: element pkg: Schemas validity error : Element 'pkg': 'net-firewall/shorewall[ipv4]' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/net-firewall/shorewall/metadata.xml:37: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'net-firewall/shorewall[ipv4]' 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/net-firewall/shorewall/metadata.xml:37: element pkg: Schemas validity error : Element 'pkg': 'net-firewall/shorewall[ipv4]' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/net-firewall/shorewall/metadata.xml:38: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'net-firewall/shorewall[ipv6]' 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/net-firewall/shorewall/metadata.xml:38: element pkg: Schemas validity error : Element 'pkg': 'net-firewall/shorewall[ipv6]' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/net-firewall/shorewall/metadata.xml fails to validate

/var/db/repos/gentoo/net-firewall/ufw-frontends/metadata.xml:22: element use: Schemas validity error : Element 'use': Duplicate key-sequence ['en'] in unique identity-constraint 'useUniquityConstraint'.
/var/db/repos/gentoo/net-firewall/ufw-frontends/metadata.xml fails to validate

/var/db/repos/gentoo/net-im/purple-events/metadata.xml:12: element description: Schemas validity error : Element 'description': This element is not expected.
/var/db/repos/gentoo/net-im/purple-events/metadata.xml fails to validate

/var/db/repos/gentoo/net-im/qutim/metadata.xml:37: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'net-im/telepathy-*' 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/net-im/qutim/metadata.xml:37: element pkg: Schemas validity error : Element 'pkg': 'net-im/telepathy-*' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/net-im/qutim/metadata.xml fails to validate

/var/db/repos/gentoo/net-irc/quassel/metadata.xml:44: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'app-crypt/qca:2' 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/net-irc/quassel/metadata.xml:44: element pkg: Schemas validity error : Element 'pkg': 'app-crypt/qca:2' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/net-irc/quassel/metadata.xml fails to validate

/var/db/repos/gentoo/net-libs/zeromq/metadata.xml:12: element description: Schemas validity error : Element 'description': This element is not expected.
/var/db/repos/gentoo/net-libs/zeromq/metadata.xml fails to validate

/var/db/repos/gentoo/net-misc/openssh/metadata.xml:8: element maintainer: Schemas validity error : Element 'maintainer', attribute 'restrict': [facet 'pattern'] The value 'net-misc/openssh[ldap]' is not accepted by the pattern '([<>]=?|[=~])[A-Za-z0-9_][A-Za-z0-9+_.-]*/[A-Za-z0-9_][A-Za-z0-9+_-]*-[0-9]+(\.[0-9]+)*[a-z]?((_alpha|_beta|_pre|_rc|_p)[0-9]*)*(-r[0-9]+)?\*?'.
/var/db/repos/gentoo/net-misc/openssh/metadata.xml:8: element maintainer: Schemas validity error : Element 'maintainer', attribute 'restrict': 'net-misc/openssh[ldap]' is not a valid value of the atomic type 'restrictAttrType'.
/var/db/repos/gentoo/net-misc/openssh/metadata.xml fails to validate

/var/db/repos/gentoo/net-misc/putty/metadata.xml:16: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'x11-libs/gtk+:2' 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/net-misc/putty/metadata.xml:16: element pkg: Schemas validity error : Element 'pkg': 'x11-libs/gtk+:2' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/net-misc/putty/metadata.xml fails to validate

/var/db/repos/gentoo/net-misc/spice-gtk/metadata.xml:15: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'x11-libs/gtk+:3' 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/net-misc/spice-gtk/metadata.xml:15: element pkg: Schemas validity error : Element 'pkg': 'x11-libs/gtk+:3' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/net-misc/spice-gtk/metadata.xml:16: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'x11-libs/gtk+:2' 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/net-misc/spice-gtk/metadata.xml:16: element pkg: Schemas validity error : Element 'pkg': 'x11-libs/gtk+:2' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/net-misc/spice-gtk/metadata.xml fails to validate

/var/db/repos/gentoo/net-print/hplip/metadata.xml:19: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'virtual/libusb: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/net-print/hplip/metadata.xml:19: element pkg: Schemas validity error : Element 'pkg': 'virtual/libusb:0' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/net-print/hplip/metadata.xml:19: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'virtual/libusb:1' 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/net-print/hplip/metadata.xml:19: element pkg: Schemas validity error : Element 'pkg': 'virtual/libusb:1' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/net-print/hplip/metadata.xml fails to validate

/var/db/repos/gentoo/sci-electronics/xnec2c/metadata.xml:20: element description: Schemas validity error : Element 'description': This element is not expected.
/var/db/repos/gentoo/sci-electronics/xnec2c/metadata.xml fails to validate

/var/db/repos/gentoo/sys-auth/pambase/metadata.xml:56: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value '>=sys-libs/pam-1.0.1' 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/sys-auth/pambase/metadata.xml:56: element pkg: Schemas validity error : Element 'pkg': '>=sys-libs/pam-1.0.1' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/sys-auth/pambase/metadata.xml:57: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value '>=sys-libs/glibc-2.7' 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/sys-auth/pambase/metadata.xml:57: element pkg: Schemas validity error : Element 'pkg': '>=sys-libs/glibc-2.7' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/sys-auth/pambase/metadata.xml fails to validate

/var/db/repos/gentoo/sys-block/gparted/metadata.xml:30: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'sys-fs/ntfs3g[ntfsprogs]' 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/sys-block/gparted/metadata.xml:30: element pkg: Schemas validity error : Element 'pkg': 'sys-fs/ntfs3g[ntfsprogs]' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/sys-block/gparted/metadata.xml fails to validate

/var/db/repos/gentoo/sys-boot/grub/metadata.xml:26: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'sys-boot/grub: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/sys-boot/grub/metadata.xml:26: element pkg: Schemas validity error : Element 'pkg': 'sys-boot/grub:0' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/sys-boot/grub/metadata.xml:27: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'sys-boot/grub:2' 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/sys-boot/grub/metadata.xml:27: element pkg: Schemas validity error : Element 'pkg': 'sys-boot/grub:2' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/sys-boot/grub/metadata.xml fails to validate

/var/db/repos/gentoo/sys-cluster/glusterfs/metadata.xml:23: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'dev-db/sqlite:3' 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/sys-cluster/glusterfs/metadata.xml:23: element pkg: Schemas validity error : Element 'pkg': 'dev-db/sqlite:3' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/sys-cluster/glusterfs/metadata.xml fails to validate

/var/db/repos/gentoo/sys-fs/cloudfuse/metadata.xml:4: element maintainer: Schemas validity error : Element 'maintainer', attribute 'status': The attribute 'status' is not allowed.
/var/db/repos/gentoo/sys-fs/cloudfuse/metadata.xml fails to validate

/var/db/repos/gentoo/sys-fs/lxcfs/metadata.xml:4: element maintainer: Schemas validity error : Element 'maintainer', attribute 'status': The attribute 'status' is not allowed.
/var/db/repos/gentoo/sys-fs/lxcfs/metadata.xml fails to validate

/var/db/repos/gentoo/www-apache/metadata.xml:25: element longdescription: Schemas validity error : Element 'longdescription': Duplicate key-sequence ['sk'] in unique identity-constraint 'catLongDescUniquityConstraint'.
/var/db/repos/gentoo/www-apache/metadata.xml fails to validate

/var/db/repos/gentoo/www-client/dwb/metadata.xml:6: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'x11-libs/gtk+:3' 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/www-client/dwb/metadata.xml:6: element pkg: Schemas validity error : Element 'pkg': 'x11-libs/gtk+:3' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/www-client/dwb/metadata.xml:7: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'x11-libs/gtk+:2' 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/www-client/dwb/metadata.xml:7: element pkg: Schemas validity error : Element 'pkg': 'x11-libs/gtk+:2' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/www-client/dwb/metadata.xml fails to validate

/var/db/repos/gentoo/www-client/vimb/metadata.xml:9: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'x11-libs/gtk+:3' 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/www-client/vimb/metadata.xml:9: element pkg: Schemas validity error : Element 'pkg': 'x11-libs/gtk+:3' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/www-client/vimb/metadata.xml:10: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'x11-libs/gtk+:2' 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/www-client/vimb/metadata.xml:10: element pkg: Schemas validity error : Element 'pkg': 'x11-libs/gtk+:2' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/www-client/vimb/metadata.xml fails to validate

/var/db/repos/gentoo/x11-apps/python-whiteboard/metadata.xml:23: element email: Schemas validity error : Element 'email': [facet 'pattern'] The value '' is not accepted by the pattern '[^@]+@[^.]+\..+'.
/var/db/repos/gentoo/x11-apps/python-whiteboard/metadata.xml:23: element email: Schemas validity error : Element 'email': '' is not a valid value of the atomic type 'emailType'.
/var/db/repos/gentoo/x11-apps/python-whiteboard/metadata.xml fails to validate

/var/db/repos/gentoo/x11-apps/whyteboard/metadata.xml:21: element email: Schemas validity error : Element 'email': [facet 'pattern'] The value '' is not accepted by the pattern '[^@]+@[^.]+\..+'.
/var/db/repos/gentoo/x11-apps/whyteboard/metadata.xml:21: element email: Schemas validity error : Element 'email': '' is not a valid value of the atomic type 'emailType'.
/var/db/repos/gentoo/x11-apps/whyteboard/metadata.xml fails to validate

/var/db/repos/gentoo/x11-libs/qwt/metadata.xml:16: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'dev-qt/designer plugin' 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/x11-libs/qwt/metadata.xml:16: element pkg: Schemas validity error : Element 'pkg': 'dev-qt/designer plugin' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/x11-libs/qwt/metadata.xml fails to validate

/var/db/repos/gentoo/x11-misc/set_opacity/metadata.xml:9: element maintainer: Schemas validity error : Element 'maintainer', attribute 'type': The attribute 'type' is not allowed.
/var/db/repos/gentoo/x11-misc/set_opacity/metadata.xml fails to validate

/var/db/repos/gentoo/x11-misc/spacefm/metadata.xml:9: element maintainer: Schemas validity error : Element 'maintainer', attribute 'type': The attribute 'type' is not allowed.
/var/db/repos/gentoo/x11-misc/spacefm/metadata.xml fails to validate

/var/db/repos/gentoo/x11-misc/tint2/metadata.xml:13: element pkg: Schemas validity error : Element 'pkg': [facet 'pattern'] The value 'openbox' 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/x11-misc/tint2/metadata.xml:13: element pkg: Schemas validity error : Element 'pkg': 'openbox' is not a valid value of the atomic type 'pkgType'.
/var/db/repos/gentoo/x11-misc/tint2/metadata.xml fails to validate

/var/db/repos/gentoo/x11-plugins/purple-libnotify-plus/metadata.xml:12: element description: Schemas validity error : Element 'description': This element is not expected.
/var/db/repos/gentoo/x11-plugins/purple-libnotify-plus/metadata.xml fails to validate


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] metadata.xml GLEP for review
  2016-03-16 19:37 ` Dirkjan Ochtman
  2016-03-16 19:45   ` Michał Górny
@ 2016-03-18 14:37   ` Michał Górny
  1 sibling, 0 replies; 6+ messages in thread
From: Michał Górny @ 2016-03-18 14:37 UTC (permalink / raw
  To: Dirkjan Ochtman; +Cc: Gentoo Development

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

On Wed, 16 Mar 2016 20:37:30 +0100
Dirkjan Ochtman <djc@gentoo.org> wrote:

> On Wed, Mar 16, 2016 at 7:43 PM, Michał Górny <mgorny@gentoo.org> wrote:
> > Therefore, I've been slowly writing a proper GLEP that would describe
> > all of metadata.xml in detail. Here's the current draft for review:  
> 
> Sounds like a good idea!
> 
> > https://wiki.gentoo.org/wiki/User:MGorny/GLEP:68  
> 
> I reviewed your spec based on my experience from trying to create a
> RELAX NG schema for all metadata.xml files that were in the tree at
> the time. I assume you've also validated your spec against what's
> actually being used? I have a few questions:

Small update here:

> - I had the upstream maintainer's email element pegged as mandatory.
> Don't you think that makes sense? A name-only maintainer element seems
> relatively low-value to me.

I've re-read the spec today and confirmed this with one of the authors.
For upstream, name is mandatory, e-mail is not.

> - You list a number of the upstream child elements (changelog, doc,
> bug-to) as "zero or more". Doesn't it make sense to make (some of)
> these zero or one?

dev-zero explained this to me. The original intent was that each of
those elements could be used at most once, however DTD limitations
prevented this from happening.

After thinking some, I've figured out how to force 'at most one' with
XML Schema without losing readability, and I'll update the spec to
conform to the original meaning.

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

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] metadata.xml GLEP for review
  2016-03-16 18:43 [gentoo-dev] metadata.xml GLEP for review Michał Górny
  2016-03-16 19:37 ` Dirkjan Ochtman
@ 2016-03-18 19:42 ` Johannes Huber
  2016-03-18 19:57   ` Michał Górny
  1 sibling, 1 reply; 6+ messages in thread
From: Johannes Huber @ 2016-03-18 19:42 UTC (permalink / raw
  To: gentoo-dev

Am Mittwoch 16 März 2016, 19:43:21 schrieb Michał Górny:
> Hello, all.
> 
> Long story short: while working on various metadata.xml-related
> aspects, it bite us pretty hard that we lack proper spec for
> metadata.xml file. What we have is pretty much the DTD, some partial
> GLEPs (that sometimes provide incorrect info) and random bugs. ml
> posts...
> 
> Therefore, I've been slowly writing a proper GLEP that would describe
> all of metadata.xml in detail. Here's the current draft for review:
> 
> https://wiki.gentoo.org/wiki/User:MGorny/GLEP:68

Hello Michal,

just a crazy idea came to my mind: How about to add HOMEPAGE and DESCRIPTION 
from ebuild to metadata.xml. So that this duplicated info in ebuilds can be 
dropped in future EAPI?

Greetings,
Johannes


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] metadata.xml GLEP for review
  2016-03-18 19:42 ` Johannes Huber
@ 2016-03-18 19:57   ` Michał Górny
  0 siblings, 0 replies; 6+ messages in thread
From: Michał Górny @ 2016-03-18 19:57 UTC (permalink / raw
  To: Johannes Huber; +Cc: gentoo-dev

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

On Fri, 18 Mar 2016 20:42:59 +0100
Johannes Huber <johu@gentoo.org> wrote:

> Am Mittwoch 16 März 2016, 19:43:21 schrieb Michał Górny:
> > Hello, all.
> > 
> > Long story short: while working on various metadata.xml-related
> > aspects, it bite us pretty hard that we lack proper spec for
> > metadata.xml file. What we have is pretty much the DTD, some partial
> > GLEPs (that sometimes provide incorrect info) and random bugs. ml
> > posts...
> > 
> > Therefore, I've been slowly writing a proper GLEP that would describe
> > all of metadata.xml in detail. Here's the current draft for review:
> > 
> > https://wiki.gentoo.org/wiki/User:MGorny/GLEP:68  
> 
> Hello Michal,
> 
> just a crazy idea came to my mind: How about to add HOMEPAGE and DESCRIPTION 
> from ebuild to metadata.xml. So that this duplicated info in ebuilds can be 
> dropped in future EAPI?

It's outside the scope of what I'm doing and it's controversial. I'd
rather not delay clarifying the format for future ideas, especially
considering that there was no success so far in moving this one
forward.

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

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-03-18 19:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-16 18:43 [gentoo-dev] metadata.xml GLEP for review Michał Górny
2016-03-16 19:37 ` Dirkjan Ochtman
2016-03-16 19:45   ` Michał Górny
2016-03-18 14:37   ` Michał Górny
2016-03-18 19:42 ` Johannes Huber
2016-03-18 19:57   ` Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox