Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339092 - sys-apps/portage option to add comment for installed package
Summary: sys-apps/portage option to add comment for installed package
Status: RESOLVED DUPLICATE of bug 332049
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Conceptual/Abstract Ideas (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-29 12:19 UTC by Marcin Mirosław
Modified: 2010-09-29 15:10 UTC (History)
0 users

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 Marcin Mirosław 2010-09-29 12:19:00 UTC
In server enviroment, usually are hosted many apllications. For many of them we have to install packages, which are neededonly for one app, onle for ine customer. After some time, customer goes away, and we want to purge server from his application, this step is easy. Problem appears when we want to remove unneeded packages from gentoo. 
"Hmm, is dev-python/py-xmlrpc needed or no? maybe someone do 'emerge dev-python/py-xmlrpc' instead 'emerge -1 dev-python/py-xmlrpc'? Which application need it? I don't know, i'll py-xmlrpc in system, it's safer option"
And in this way number of packages installed on server grows and grows.
I imagine something like this:
# emerge --comment "this package is neede by XYZ company, application fizz-bizz needs it"  foo/bar 
And when hit:
# emerge --info foo/bar (or emerge --info ---comment foo/bar)
i would get my (or added by other contributor) explanation, what for i've installed this package in server.

Reproducible: Always
Comment 1 Fabio Erculiani (RETIRED) gentoo-dev 2010-09-29 12:52:31 UTC
The other way around is to track down packages installed by user (and not pulled in as dependencies, for eg.), like entropy and apt do (as well as many others). This is called "install source", where source stands for: user (human being), package (...), etc.
Comment 2 Zac Medico gentoo-dev 2010-09-29 15:10:38 UTC

*** This bug has been marked as a duplicate of bug 332049 ***