Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 873754 - dev-util/pkgcheck: Warn if an eclass is used without @SUPPORTED_EAPIS listing the current EAPI
Summary: dev-util/pkgcheck: Warn if an eclass is used without @SUPPORTED_EAPIS listing...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PkgCore (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Arthur Zamarin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-01 02:48 UTC by Sam James
Modified: 2022-10-01 08:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-01 02:48:03 UTC
It's not required for eclasses to use guards to die on unknown EAPIs, so we should compare the @SUPPORTED_EAPIS eclassdoc with the current EAPI used in an inheriting ebuild.
Comment 1 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2022-10-01 07:44:50 UTC
I think this is already implemented as UnsupportedEclassEapi under EapiCheck?

https://pkgcore.github.io/pkgcheck/man/pkgcheck.html#unsupportedeclasseapi
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-01 08:29:47 UTC
(In reply to Arthur Zamarin from comment #1)
> I think this is already implemented as UnsupportedEclassEapi under EapiCheck?
> 
> https://pkgcore.github.io/pkgcheck/man/pkgcheck.html#unsupportedeclasseapi

Oh my, yes!