Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10696 - Shell script to clean old files from /usr/portage/distfiles
Summary: Shell script to clean old files from /usr/portage/distfiles
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL: http://mefriss1.swan.ac.uk/~jfonseca/...
Whiteboard:
Keywords:
: 43188 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-11-13 14:15 UTC by José Fonseca
Modified: 2007-08-14 21:47 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
distfiles-clean (distfiles-clean,1.39 KB, text/plain)
2002-11-13 14:15 UTC, José Fonseca
Details

Note You need to log in before you can comment on or make changes to this bug.
Description José Fonseca 2002-11-13 14:15:08 UTC
I never do `rm -f /usr/portage/distfiles'. I find very useful having the            
sources of the installed packages ihandy as it avoids downloading                   
everything over andagain when updating to new releases of the same                  
version, or when installing Gentoo on another system. But after some                
time that directory gets too fat and is too boring to eliminate the                 
deprecated packages by hand so I've made a script to automate this. You             
can see it attached.

I've announced on gentoo-dev and receive positive feedback (as well as
corrections) from many users which though it would be a nice addition to
gentoolkit. (I would put a link to the thread on the mailing-list archives, but
it seems that there isn't one.. :-/ ).

I'm attaching the script, but the latest version can always be found on the
above URL.

I hope you also find it an usefull addition to the portage system.
Comment 1 José Fonseca 2002-11-13 14:15:37 UTC
Created attachment 5643 [details]
distfiles-clean
Comment 2 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-11-14 18:32:51 UTC
I've added this to the Gentookit CVS module. It will become part of Gentookit
with the next release, slated for release later this month. I'm closing this
bug, as it's now in the pipeline.
Comment 3 José Fonseca 2002-12-06 17:27:37 UTC
Sorry, Karl, but where is it!?

You marked the bug as fixed but I can't find the script neither in CVS nor in
any of the gentoolkit releases since...
Comment 4 SpanKY gentoo-dev 2004-02-28 13:50:05 UTC
*** Bug 43188 has been marked as a duplicate of this bug. ***
Comment 5 Florian Effenberger 2004-02-29 06:57:51 UTC
I tried it out with a recent Portage snapshot and couldn't find anything as well... Karl, did this already went into the official Portage snapshot and if not, when will this happen? Thanks! :-)
Comment 6 Florian Effenberger 2004-05-01 00:37:52 UTC
Hello, anyone out there? ;-)
Comment 7 Jerome 2007-08-14 21:47:22 UTC
I posted the bug #188915 for a default cron job.