Snapshot repos won't get purged

View: New views
3 Messages — Rating Filter:   Alert me  

Snapshot repos won't get purged

by Marc Lustig :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?

Re: Snapshot repos won't get purged

by brettporter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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


Re: Snapshot repos won't get purged

by Marc Lustig :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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