Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 808267 - app-portage/repoman: lacks support for metadata/qa-policy.conf (read deprecated-eclass from tree)
Summary: app-portage/repoman: lacks support for metadata/qa-policy.conf (read deprecat...
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 808261
  Show dependency tree
 
Reported: 2021-08-15 03:11 UTC by Sam James
Modified: 2021-08-15 06:53 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 2021-08-15 03:11:04 UTC
repoman currently has a hardcoded list of deprecated eclasses in repoman/lib/repoman/modules/linechecks/deprecated/inherit.py.

Obviously, it's not feasible to cut a new repoman release (and stable it!) within 30 days every time somebody wishes to last-rite an eclass.

We have metadata/qa-policy.conf in tree which contains a deprecated-eclass section:
># The deprecated-eclass section lists deprecated eclasses along with
># their suggested replacements (if any).  Most of the values are
># replacement eclass names, though free-form text is permitted.
>[deprecated-eclass]
>cmake-utils = cmake
>epatch = (eapply since EAPI 6)
>eutils = (split into several eclasses)
>ltprune = (inline find ... -delete)
>mono = mono-env
>user = (GLEP 81 acct-* packages)
>versionator = eapi7-ver (built-in since EAPI 7)

repoman should parse this rather than relying on a hardcoded list of such eclasses. Even better would be supporting @DEPRECATED in eclasses too, but that's a different (related) issue.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-15 03:22:43 UTC
(Raised on the forums as https://forums.gentoo.org/viewtopic-p-8647393.html#8647393).
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-08-15 06:53:29 UTC
This list is deprecated in favor of eclassdoc tags.  It's been removed from policy-guide already.