[
http://jira.codehaus.org/browse/MRM-846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=140161#action_140161
]
Maria Odea Ching commented on MRM-846:
--------------------------------------
This is working for me in trunk..
>From the configuration above, I can see that the Repository Purge By Days
>Older Than is set to '30', therefore that's the criteria being used for the
>purge & not by retention count. I suspect that the artifacts in your
>repositories are not older than 30 days therefore nothing gets cleaned up. In
>order to set Archiva to purge by retention count, you need to de-activate the
>purge by days old by setting the value to '0'. Could you verify this please?
>Thanks :)
Sorry, the rules above weren't specified clearly in the docs.. I'll adjust it
in trunk now.
> "Repository Purge By Retention Count" option not working
> --------------------------------------------------------
>
> Key: MRM-846
> URL: http://jira.codehaus.org/browse/MRM-846
> Project: Archiva
> Issue Type: Bug
> Components: repository interface
> Affects Versions: 1.0.2
> Environment: Linux, JBoss, Continuum SNAPHOT (19/06/2008)
> Reporter: Marc Lustig
> Assignee: Maria Odea Ching
> Priority: Critical
> Fix For: 1.1
>
>
> from http://archiva.apache.org/docs/1.0.2/adminguide/repositories.html:
> "If the repository purge by retention count field is set to 2, then only the
> artifacts artifact-x-20070113.034619-3.jar, artifact-x-20070113.034619-3.pom,
> artifact-x-20070203.028902-4.jar and artifact-x-20070203.028902-4.pom will be
> retained in the repository. The oldest snapshots will be deleted maintaining
> only a number of snapshots equivalent to the set retention count."
> This is not working here. The value for "Repository Purge By Retention Count"
> is ignored, at least for the Snapshot-managed-repo.
> Old artifacts are not deleted.
> We are building new snaphot's on hourly basis using Continuum.
> The disk-space is heavily increasing and nothing is purged.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira