Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74031 - optional autoclean of old distfiles
Summary: optional autoclean of old distfiles
Status: RESOLVED DUPLICATE of bug 33877
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Portage team
URL: http://bugs.gentoo.org/show_bug.cgi?i...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-10 12:55 UTC by Thomas Bettler
Modified: 2005-07-17 13:06 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 Thomas Bettler 2004-12-10 12:55:07 UTC
It doesn't seem like this bug has been _really_ fixed for some years.
http://bugs.gentoo.org/show_bug.cgi?id=10696

Optionally, portage should be enabled to autoclean old distfiles, which are no longer needed. This would be a great feature.
Comment 1 solar (RETIRED) gentoo-dev 2004-12-10 13:15:33 UTC
A way which this can be done already is by making use of the 
/etc/portage/bashrc option. This allows us to hook into misc ebuild
phases and do fun things such as removing files that portage no longer
needs. (ie <=256M USB sticks)
An example of this can be seen at http://dev.gentoo.org/~solar/portage_misc/bashrc I control it via a FEATURES="distclean"
Comment 2 Thomas Bettler 2004-12-10 13:27:14 UTC
Oh great, but why not include officially in portage with optional switch in make.conf?
Comment 3 Thomas Bettler 2004-12-10 13:42:20 UTC
I read your script but it not exactly what I expected. I'd like it only to remove the distfiles of old packages that are no longer installed on my system. (Or did I misunderstand your script?)
Comment 4 Jonathan Smith (RETIRED) gentoo-dev 2005-01-02 09:41:02 UTC
this appears to be a duplicate of bug 33877, unless i am mistaken/
Comment 5 SpanKY gentoo-dev 2005-01-02 17:49:28 UTC

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