Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614748 - app-portage/gentoolkit*: ekeyword switch to not drop stable keywords.
Summary: app-portage/gentoolkit*: ekeyword switch to not drop stable keywords.
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-05 11:41 UTC by Michael Weber (RETIRED)
Modified: 2017-07-02 16:15 UTC (History)
3 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 Michael Weber (RETIRED) gentoo-dev 2017-04-05 11:41:43 UTC
Would it be possible to add an cmdline option to ekeyword that prevents it from dropping stable keywords i.e. ppc to ~ppc if called as `ekeyword --no-drop ~ppc`.

Use case:
I work on old keywording requests, i.e. bug 527318.
The package-list states (re-)keywording ~ppc for =dev-ml/cppo-1.4.1 and
=dev-ml/extlib-1.7.1, but these packages aquired "ppc" by other means.

If I run ekeyword ~ppc for each atom, I need to watch the output for errornous changes "ppc" -> "~ppc" instead of the intendend "" -> "~ppc".

Most times I catch this, but sometimes I break the tree and need to revert
(i.e. https://cgit.gentoo.org/repo/gentoo.git/commit/?id=b44198739d0756dbe08da713642f59edec7a350c )

Any suggestions on how to handle this? besides better watching on the changes?
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2017-04-05 14:16:45 UTC
Yes, The stable-bot needs such an item as well.
It is my intention to add such a feature. 
That will make the keywording requirement in the pkglist unneeded, instead, a simple table can be generated independently.
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2017-07-02 16:15:03 UTC
Today was my day to accidentally to drop a bunch of stable keywords with 'ekeyword ~ia64'.