Marius Mauch wrote:
> Hmm, in that case maybe it's be possible to use a similar system for
> devs, e.g.
> <maintainer>
>   <dev>genone</dev>
> </maintainer>
> and only use the <email> element for non-dev maintainers and upstream
> contacts. Anyway, as long as we use the same tag to list both
> individual and group maintainers it would be an improvement IMO.

Sure, that'd be great. This information could be autogenerated from LDAP
though.

This would result in something like this:

<pkgmetadata>
<xi:include href="http://www.gentoo.org/metadata/metadata-refs.xml";
xmlns:xi="http://www.w3.org/2001/XInclude"/>
<!-- ^^ depends on how we decide to implement things -->
<maintainer>
  <herd>foobar</herd>
</maintainer>
<maintainer primary="true">
  <dev>moomooman</dev>
</maintainer>
<maintainer>
  <email>[EMAIL PROTECTED]</email>
  <name>Someone Foobar</name>
  <description>Proxy maintainer</description>
</maintainer>


Just in case someone's interested: http://dev.gentoo.org/~dev-zero/metadata/
There is a first metadata.xsd and a couple of metadata.xml files for
testing.

You can validate using this: 'xmllint --xinclude --schema
metadata.xsd --noout $FILE' since xmllint seems to ignore the XSD
specification in the XML and tries to validate against a non-existing DTD.

The metadata.xsd is a work-in-progress and not finished (yet).

Cheers,
Tiziano


-- 
gentoo-dev@lists.gentoo.org mailing list

Reply via email to