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

Bug 14273

Summary: Distfiles should be pruned with emerge clean
Product: Portage Development Reporter: Duke <duke>
Component: CoreAssignee: Nicholas Jones (RETIRED) <carpaski>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: h3y
Priority: High    
Version: 2.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Duke 2003-01-20 23:59:07 UTC
When running "emerge clean", old distfiles tarballs should be removed along with
the old package.  If you've upgraded a package, and are cleaning out the old
one, there's no sense in keeping the older tarball.  Keeping one tarball in
distfiles makes sense to me, and it might as well be the latest version installed.
I realize that sometimes packages are downgraded, but that's pretty rare, I'd
think.  Perhaps add a make.conf variable to keep track of how many versions back
you'd like to keep in distfiles.  I.e. a value of 3 would keep the 3 latest
versions in distfiles.

I just wanted to point out that it'd make sense to clean out old tarballs with
old packages, even more so when you've got AUTOCLEAN="yes".
Comment 1 SpanKY gentoo-dev 2003-01-22 10:02:46 UTC

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