You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by Marc Lustig <ml...@marclustig.com> on 2009/09/02 10:17:49 UTC

Snapshot repos won't get purged

We are maintaining several snaphot-repositories with Archiva 1.2.1.

The config is as follows:

Snapshots Included checked
Scannable checked
Delete Released Snapshots checked
Repository Purge By Retention Count: 2
Repository Purge By Days Older Than: 100


Unfortunately old snapshots won't get purged properly.
Is it possible that "Repository Purge By Retention Count: " won't work
unless "Repository Purge By Days Older Than" is set to zero ?


All consumes are enabled, especially "repository-purge" consumer.
The scan takes place on a nightly basis (checked).

Is it possible to debug the scan-process into a separate file? Somebody has
a log4j snippet handy?

-- 
View this message in context: http://www.nabble.com/Snapshot-repos-won%27t-get-purged-tp25253404p25253404.html
Sent from the archiva-users mailing list archive at Nabble.com.


Re: Snapshot repos won't get purged

Posted by Marc Lustig <ml...@marclustig.com>.
there has been at least one discussion before about this subject.
I do not have the overview which got fixed in what version or not thou.



brettporter wrote:
> 
> 
> On 02/09/2009, at 6:17 PM, Marc Lustig wrote:
> 
>>
>> We are maintaining several snaphot-repositories with Archiva 1.2.1.
>>
>> The config is as follows:
>>
>> Snapshots Included checked
>> Scannable checked
>> Delete Released Snapshots checked
>> Repository Purge By Retention Count: 2
>> Repository Purge By Days Older Than: 100
>>
>>
>> Unfortunately old snapshots won't get purged properly.
>> Is it possible that "Repository Purge By Retention Count: " won't work
>> unless "Repository Purge By Days Older Than" is set to zero ?
> 
> Your configuration looks correct, so this seems like the most likely  
> cause (which would be a bug in my opinion).
> 
> - Brett
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Snapshot-repos-won%27t-get-purged-tp25253404p25270509.html
Sent from the archiva-users mailing list archive at Nabble.com.


Re: Snapshot repos won't get purged

Posted by Brett Porter <br...@apache.org>.
On 02/09/2009, at 6:17 PM, Marc Lustig wrote:

>
> We are maintaining several snaphot-repositories with Archiva 1.2.1.
>
> The config is as follows:
>
> Snapshots Included checked
> Scannable checked
> Delete Released Snapshots checked
> Repository Purge By Retention Count: 2
> Repository Purge By Days Older Than: 100
>
>
> Unfortunately old snapshots won't get purged properly.
> Is it possible that "Repository Purge By Retention Count: " won't work
> unless "Repository Purge By Days Older Than" is set to zero ?

Your configuration looks correct, so this seems like the most likely  
cause (which would be a bug in my opinion).

- Brett