Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870121 - [Future EAPI] Rename KEYWORDS → PLATFORMS
Summary: [Future EAPI] Rename KEYWORDS → PLATFORMS
Status: CONFIRMED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PMS/EAPI (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PMS/EAPI
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: future-eapi
  Show dependency tree
 
Reported: 2022-09-14 15:51 UTC by Matt Turner
Modified: 2022-09-18 07:12 UTC (History)
5 users (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 Matt Turner gentoo-dev 2022-09-14 15:51:50 UTC
"KEYWORDS" is a bad name for what it is (PMS says: "Keywords are used to indicate levels of stability of a package on a respective architecture arch.")

Trying to explain why and how "KEYWORDS" means this is rightly difficult. Exherbo uses "PLATFORMS". That seems like a better name.

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-14 15:53:44 UTC
Yeah, nobody ever understands KEYWORDS. It also leads to awkward explanations when trying to discuss visibility.

It seems like a reasonable idea.
Comment 2 Ulrich Müller gentoo-dev 2022-09-14 17:21:24 UTC
If we are to introduce an incompatible change, then maybe we should also think about moving keywords into a separate file? Interspersed stabilisation commits make it harder to follow the change history of ebuilds, and they tend to cause merge conflicts. Moving them out of ebuilds would avoid both.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-14 17:24:20 UTC
(In reply to Ulrich Müller from comment #2)
> If we are to introduce an incompatible change, then maybe we should also
> think about moving keywords into a separate file? Interspersed stabilisation
> commits make it harder to follow the change history of ebuilds, and they
> tend to cause merge conflicts. Moving them out of ebuilds would avoid both.

I'm not opposed to this in principle, but how would we then handle rekeywording? The separate file would contain multiple version entries?
Comment 4 Matt Turner gentoo-dev 2022-09-14 17:29:51 UTC
(In reply to Ulrich Müller from comment #2)
> If we are to introduce an incompatible change, then maybe we should also
> think about moving keywords into a separate file? Interspersed stabilisation
> commits make it harder to follow the change history of ebuilds, and they
> tend to cause merge conflicts. Moving them out of ebuilds would avoid both.

Yes, I think this is an interesting idea -- I remember discussing it with kentnl. I'm not sure the precise details have been worked out, but it's definitely something I think we should think about.