Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 870121

Summary: [Future EAPI] Rename KEYWORDS → PLATFORMS
Product: Gentoo Hosted Projects Reporter: Matt Turner <mattst88>
Component: PMS/EAPIAssignee: PMS/EAPI <pms>
Status: CONFIRMED ---    
Severity: normal CC: esigra, gentoo, pacho, sam, tanekliang
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 174380    

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.