Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 382929

Summary: [TRACKER] <herd>no-herd</herd> removal
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: [OLD] UnspecifiedAssignee: Gentoo Quality Assurance Team <qa>
Status: RESOLVED FIXED    
Severity: enhancement CC: antarus, hwoarang, jmbsvicetto
Priority: High Keywords: Tracker
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 384175, 384177, 384275, 384441, 385105    
Bug Blocks: 279145    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-09-14 10:29:18 UTC
As suggested on the ml lately, please consider making the custom 'no-herd' value deprecated in favor of specifying no <herd/> elements.

As for backwards compatibility, right now all three PMs handle no <herd/> elements gracefully and only portage (half-)correctly supports 'no-herd' (i.e. treats it as a special value). If there's actually an app having problems with this, it probably has problems with multiple herds as well and we should fix it anyway.

metadata.dtd allowed no <herd/> elements all the time. I think all that's necessary is updating the manuals then, and readding repoman check for no-herd value.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-09-23 09:25:42 UTC
Current state:
1) handbook updated,
2) devmanual patch prepared,
3) skel.metadata.xml updated,
4) repoman enhancement request open.

Portage never complained about lack of <herd/> elements so it's already clear to commit metadata.xml files without them.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-09-24 21:29:06 UTC
Ok, the main tree should be fixed now and the development branch of Sunrise overlay as well.
Comment 3 Alec Warner (RETIRED) archtester gentoo-dev Security 2011-09-25 01:58:00 UTC
01:46 <+CIA-88> antarus * gentoo/xml/htdocs/proj/en/devrel/undertakers/scripts/retire.py.txt: Update retire script to deal with no-herd properly now.
01:49 <+CIA-88> antarus * gentoo/xml/htdocs/proj/en/devrel/undertakers/scripts/retire.py.txt: Add missing equals, tested with python retire.py.txt -h

FYI

-A
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-09-25 08:59:01 UTC
BTW maybe we should consider replacing metadata.dtd with a more complete XML Schema or relax-ng?
Comment 5 Alec Warner (RETIRED) archtester gentoo-dev Security 2011-09-25 16:42:02 UTC
(In reply to comment #4)
> BTW maybe we should consider replacing metadata.dtd with a more complete XML
> Schema or relax-ng?

Please file a separate bug for that ;)
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2013-02-22 23:49:27 UTC
find gentoo-x86 -name "metadata.xml" -exec grep "no-herd" {} \; returns nothing so all packages are now fixed. Closing