The repoman sourcecode is a mess currently. I tried to extend it with some functionality from aliz's "aging ebuilds" script, but I failed. I think repoman needs a complete rewrite to support modular QA tests. This would make it easier to extend and less buggi.
Btw. The aging ebuilds script can be found here: http://gentoo.tamperd.net/stable It does the following tests, which in my opinion should be added to repoman * if a version has been masked for 30 days or more. * if an arch was in KEYWORDS in an older ebuild, but not in the newer ones. * if SRC_URI contains hosts specified in thirdpartymirrors. * if ebuild uses patch instead of epatch. * if ebuild sets S to ${WORKDIR}/${P}. * if ebuild redefines P, PV, PN or PF. * if ebuild doesn't inherit eutils when it uses functions from eutils. * if ebuild doesn't inherit flag-o-matic when it uses functions from flag-o-matic. * if ebuild has $HOMEPAGE in SRC_URI (cosmetic). * if ebuild has $PN in SRC_URI (cosmetic). * if ebuild forces -fPIC flag to CFLAGS. * if ebuild has deprecated WANT_AUTO(CONF|MAKE)_?_?. * if ebuild uses is-flag -fPIC, should be changed to has_fpic. * if ebuild appends $RDEPEND or $DEPEND to $RDEPEND or $DEPEND to $DEPEND. * if ebuild has arch keyword(s) in iuse. * if ebuild overrides MAKEOPTS. * if ebuild has automake, autoconf or libtool in RDEPEND. * if ebuild exists in ChangeLog. Another nice thing would be a stale ebuild test.
another nice test would be to test if an ebuild sets MAKEOPTS
Anyone game for taking a shot at this?
Might want to make this a [GOAL] of 2.1? I'd rather have a bunch of the new stuff in rather than write it for the current codebase. Otherwise Repoman would need a rewrite again to work with the new code ( aka 2 rewrites total ).
I know swegener said he wrote something, I've been bugging him to post the source somewhere ;)
Closing this as LATER because it's not a bug or feature request and it's not qualifiable.