Closed mgorny closed 1 year ago
Did a simple implementation for this, here are 253 results:
Hmm, at least xdg-utils/gnome2-utils and multibuild-related are fishy. The problem with multibuild is that it exposes both functions that are supposed to be exposed indirectly, and functions that are meant to be used directly only.
OK, I can add multibuild
and multilib-minimal
to exclude list. I ping mattsst88 about gnome2-utils.
Also, I think this result should be style level, as warning I think is too much for this case.
Right now we're using
@PROVIDES
not to report missing inherits for stuff indirectly exposed via other eclasses. Perhaps it'd be valuable to also report redundant inherits when we're only using the stuff that's exposed by another eclass.For example,
distutils-r1
providespython-r1 python-single-r1
. In that case, ifdistutils-r1
is inherited, pkgcheck would report directpython-r1
andpython-single-r1
inherits.Might be a good idea to check the results first to see if people wouldn't prefer direct inherits in some cases.