Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14273 - Distfiles should be pruned with emerge clean
Summary: Distfiles should be pruned with emerge clean
Status: RESOLVED DUPLICATE of bug 2567
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-20 23:59 UTC by Duke
Modified: 2011-10-30 22:36 UTC (History)
1 user (show)

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 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 ***