Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 480236 - sys-apps/portage: Feature request: Commandline option to emerge only stable packages
Summary: sys-apps/portage: Feature request: Commandline option to emerge only stable p...
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
Depends on:
Reported: 2013-08-08 09:43 UTC by Hendrik v. Raven
Modified: 2022-10-20 02:44 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Hendrik v. Raven 2013-08-08 09:43:32 UTC
I would find a command line option for portage interesting to merge only stable packages ignoring the settings in ACCEPT_KEYWORDS or package.keywords.

I'm runnig a unstable system, with some packages unmasked, some nightlies, but while testing it's sometimes interesting to install a stable version of a package.
Currently there's the possibility of searching for the latest stable and specify the version directly, or to use
ACCEPT_KEYWORDS="-* amd64" emerge -1 $PACKAGE
with amd64 corrected to the architecture of the system. For me something like
emerge -1 --stable $PACKAGE
would be a nice feature, maybe --unstable or even --masked for the opposite direction. All not intendet to be used for normal merges, but only for oneshots.

Maybe it's just my laziness, but maybe there are other people who agree on that.
Comment 1 Zac Medico gentoo-dev 2013-08-08 15:56:34 UTC
Maybe the option should be called --stable-keywords, to clarify that it doesn't change anything other than ACCEPT_KEYWORDS.

There are existing related --accept-properties and --accept-restrict options. For consistency we could also add a similar --accept-keywords option, but that would not be much different from how you currently override ACCEPT_KEYWORDS.