Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312797 - Document that keywords are optional in package.keywords
Summary: Document that keywords are optional in package.keywords
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: nm (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-02 12:49 UTC by Marius Mauch
Modified: 2010-05-14 22:05 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 Marius Mauch 2010-04-02 12:49:19 UTC
Since package.keywords support was added to portage 7 years ago the specification of keywords after the package atom has been optional: If no keyword is specified portage will default to ~arch. That is what people want to do in >90% of all cases anyway, so not specifying a keyword should actually be the normal case as it has several other advantages as well:
- same format can be used for package.{mask,unmask,keywords}, which is useful for unmasking larger groups of packages
- package.keywords becomes arch-neutral, so the same file can be used on different systems
- less user confusion about the correct syntax for keywords

This should be reflected in the documentation (in hb-portage-branches.xml), I recommend to simply drop any keyword references in the "Mixing Stable with Testing" section.
Comment 1 nm (RETIRED) gentoo-dev 2010-05-14 22:05:00 UTC
Thanks for reporting. Dunno how we missed cleaning this up -- no one should be specifying the actual arch keyword. Fixed in CVS.