Summary: | Make repoman more modular so it's easier to extend | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Heinrich Wendel (RETIRED) <lanius> |
Component: | Repoman | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED LATER | ||
Severity: | normal | CC: | m.debruijne |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Heinrich Wendel (RETIRED)
2005-02-19 10:21:17 UTC
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. |