Summary: | emerge-delta-webrsync and eclean conflict in DISTDIR | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Sergei Trofimovich (RETIRED) <slyfox> |
Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | dev-portage, esigra |
Priority: | High | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 346443 |
Description
Sergei Trofimovich (RETIRED)
2010-01-08 21:51:43 UTC
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 |