I'm not really sure who to assign this to - either repoman isn't following the docs, or the docs are wrong. Both the Herds project page [1] and the Developer Handbook [2] say: <pkgmetadata> This is the root element of the metadata.xml file for packages. It has no attributes. Its required subtag is: <herd>. Furthermore, the following subtags are allowed: <email> for a general herd email address, <maintainer>, <longdescription>, <use>, and <upstream>. But the repoman validation fails when <email> is a subtag of <pkgmetadata>. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>theology</herd> <email>theology@gentoo.org</email> </pkgmetadata> RepoMan scours the neighborhood... !!! metadata.xml is invalid: !!! I/O error : Attempt to load network entity http://www.gentoo.org/dtd/metadata.dtd !!! /home/dirtyepic/cvs/gentoo-x86/app-text/sword/metadata.xml:2: warning: failed to load external entity "http://www.gentoo.org/dtd/metadata.dtd" !!! <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> !!! ^ !!! /home/dirtyepic/cvs/gentoo-x86/app-text/sword/metadata.xml:3: element pkgmetadata: validity error : Element pkgmetadata content does not follow the DTD, expecting (herd | maintainer | longdescription | use | upstream)*, got (herd email ) !!! Document /home/dirtyepic/cvs/gentoo-x86/app-text/sword/metadata.xml does not validate against /usr/portage/distfiles/metadata.dtd Wrapping <email> inside <maintainer> works as advertised, but the docs say this is supposed to be used when a package has a different maintainer than the listed herd, not for the general herd address. [1] http://www.gentoo.org/proj/en/metastructure/herds/index.xml#doc_chap4 [2] http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4
CCing the doc maintainers; they can sort out what needs to be changed.
http://archives.gentoo.org/gentoo-dev/msg_3e335b01696e786598c55b6ace346beb.xml repoman should check the value for <herd> against herds listed in herds.xml
(In reply to comment #2) > http://archives.gentoo.org/gentoo-dev/msg_3e335b01696e786598c55b6ace346beb.xml > > repoman should check the value for <herd> against herds listed in herds.xml > thought I was in a tab inputting a new bug :(
(In reply to comment #2) > http://archives.gentoo.org/gentoo-dev/msg_3e335b01696e786598c55b6ace346beb. > xml > > repoman should check the value for <herd> against herds listed in herds.xml We've had a herds check since portage-2.1.9: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=7c11c8ec5f568984ee720fc677959f9d2c9dfd32
That comment was unrelated to this bug.
Is this still a problem with the new split repoman pkg? Herds are no longer, not sure this is still releveant, closing, re-open if it is.