Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13560 - automatically asking user if it's okay to trim /usr/portage/distfiles
Summary: automatically asking user if it's okay to trim /usr/portage/distfiles
Status: RESOLVED DUPLICATE of bug 2567
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: High normal
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-09 06:24 UTC by Olav Kolbu
Modified: 2011-10-30 22:37 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 Olav Kolbu 2003-01-09 06:24:38 UTC
Unsure if this has been suggested before, didn't check. Anyway:

Most people that are new to Gentoo will not know that the files downloaded by
the various ebuilds will remain in /usr/portage/distfiles until the end of time.
There should be some form of semi-automatic cleaning in this directory, so that
old files are removed to free up space. Not everyone has a 10Gb partition, and
it can come as a nasty surprise to find that this dir takes up half your disk.
This could be a user-defined threshold (make.conf?) so that before every emerge,
the oldest file in the dir is removed until the dir takes up less than
MAX_WHATSIT_USAGE Mb. There are some caveats here, namely that if you check too
often then you might remove files neccessary for the current emerge. But that
shouldn't be too difficult to avoid.

Or a question/reminder after an emerge that the files are still there and can be
removed. Anything is better than nothing.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-01-09 10:26:55 UTC

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