Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] comprehensive eclass checking in repoman
Date: Thu, 24 May 2012 19:46:44
Message-Id: 201205241547.09838.vapier@gentoo.org
i implemented eclass checking for some of the most common ones in the tree, 
but Zac didn't particularly care for the maintaining of lists of functions 
used by eclasses directly in repoman (due to the concern of them getting out 
of sync).

so the proposal is to utilize the existing eclass documentation markers to 
extract the complete list of functions provided by an eclass.  the upside is 
the metadata stays current, and we can scale better to all eclasses w/out 
requiring manual intervention.  the downside is that if people don't properly 
document their eclasses, repoman might throw false positives (warnings, not 
errors) about unused eclasses being inherited, and will miss throwing errors 
when functions are used but the respective eclasses aren't inherited.

however, i think that's a good hammer to throw at eclass maintainers to keep 
their documentation up-to-date and accurate.  any other opinions/feedback ?
-mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-dev] Re: comprehensive eclass checking in repoman Steven J Long <slong@××××××××××××××××××.uk>
Re: [gentoo-dev] comprehensive eclass checking in repoman Kent Fredric <kentfredric@×××××.com>
[gentoo-dev] Re: comprehensive eclass checking in repoman Ryan Hill <dirtyepic@g.o>