Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288871 - Add --notes option to emerge, or something like that.
Summary: Add --notes option to emerge, or something like that.
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-13 13:03 UTC by pi3mm3
Modified: 2009-10-14 00:27 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 pi3mm3 2009-10-13 13:03:04 UTC
I propose to add a new option to emerge command in order to remember why a package is installed:

$ emerge --notes="I need this library to develop.... or to run some program..." <package>

so if after some month I want to clean my gentoo from unnecessary packages and I remember nothing about that package because I used it only for one minute I can write

$ qnotes <package>

and see my annotation from /var/db/pkg/path-to/package/NOTES.
I have never use paludis but I think it's something like bug http://bugs.gentoo.org/show_bug.cgi?id=169047 but I'm not sure.

What do you think about?

Reproducible: Always

Steps to Reproduce:
Comment 1 Zac Medico gentoo-dev 2009-10-14 00:27:03 UTC
(In reply to comment #0)
> I propose to add a new option to emerge command in order to remember why a
> package is installed:
> 
> $ emerge --notes="I need this library to develop.... or to run some program..."
> <package>
> 
> so if after some month I want to clean my gentoo from unnecessary packages and
> I remember nothing about that package because I used it only for one minute I
> can write
> 
> $ qnotes <package>

I think maybe package sets are more suitable for this kind of annotation. With portage-2.2_rc*, you can create a file in /etc/portage/sets and list atoms as well as comments.

For example:

cat - > /etc/portage/sets/foo <<-EOF
# I need this library to develop.... or to run some program...
<package>
EOF

emerge @foo

> and see my annotation from /var/db/pkg/path-to/package/NOTES.
> I have never use paludis but I think it's something like bug
> http://bugs.gentoo.org/show_bug.cgi?id=169047 but I'm not sure.

That bug is about something like emerge --tree output, which is totally different from your notes idea.