eclean is unaware of emerge-delta-webrsync's files in $DISTDIR: portage-YYYYMMDD.* Every time before I run 'eclean distfiles' I have to backup latest snapshow first, otherwise eclean will kill them. Would be cool if: 1. eclean would have those files in exceptions by default(/etc/eclean/distfiles.exclude) 2. emerge-delta-webrsync would have separate variable (in make.conf or somewhere else, say, in /etc/conf.d/emerge-delta-webrsync) to store it's files Thanks!
A regular expression like this in /etc/eclean/distfiles.exclude should do the trick: portage-\d\d\d\d\d\d\d\d\.tar\.bz2(\.md5sum|\.umd5sum)? @tools-portage: Interested in having a pattern like this included in the default distfiles.exclude?
Actually since you only need the latest, I could add a routine for processing those correctly too. May as well clean out the old ones, just keep the latest.
(In reply to comment #2) > Actually since you only need the latest, I could add a routine for > processing those correctly too. May as well clean out the old ones, just > keep the latest. Either way would be fine I guess, since emerge-delta-webrsync deletes the old ones automatically.
(In reply to Zac Medico from comment #1) > A regular expression like this in /etc/eclean/distfiles.exclude should do > the trick: > > portage-\d\d\d\d\d\d\d\d\.tar\.bz2(\.md5sum|\.umd5sum)? > > @tools-portage: > > Interested in having a pattern like this included in the default > distfiles.exclude? Looks like all that is needed for the regular expression is: portage-\d\d\d\d\d\d\d\d\.tar\.bz2 I will add that to distfiles.exclude after a couple more days of testing, and let emerge-delta-webrsync handle the cleanup of older files
I have added the 'portage-\d\d\d\d\d\d\d\d\.tar\.bz2' regular expression to the default distfiles.exclude https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=8507576f9a921f7b55f99e44fe9b33473e30d813 It can be tested with gentoolkit-9999
Was released and stabilized a while ago: $ git tag --contains=8507576f9a921f7b55f99e44fe9b33473e30d813 0.3.2 0.3.2-r1 gentoolkit-0.3.3 gentoolkit-0.4.0 gentoolkit-0.4.1 gentoolkit-0.4.2 gentoolkit-0.4.3 gentoolkit-0.4.4 gentoolkit-0.4.5 gentoolkit-0.4.6