Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 10696

Summary: Shell script to clean old files from /usr/portage/distfiles
Product: Gentoo Linux Reporter: José Fonseca <j_r_fonseca>
Component: [OLD] Core systemAssignee: Karl Trygve Kalleberg (RETIRED) <karltk>
Status: RESOLVED FIXED    
Severity: enhancement CC: carpaski, floeff, vapier
Priority: High    
Version: 1.4_rc1   
Hardware: x86   
OS: Linux   
URL: http://mefriss1.swan.ac.uk/~jfonseca/chest/gentoo/distfiles-clean
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: distfiles-clean

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.