eclean is unaware of emerge-delta-webrsync's files in $DISTDIR:
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
A regular expression like this in /etc/eclean/distfiles.exclude should do the trick:
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:
> Interested in having a pattern like this included in the default
Looks like all that is needed for the regular expression is:
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
It can be tested with gentoolkit-9999
Was released and stabilized a while ago:
$ git tag --contains=8507576f9a921f7b55f99e44fe9b33473e30d813