[ 
http://jira.codehaus.org/browse/MRM-846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=140165#action_140165
 ] 

oching edited comment on MRM-846 at 7/2/08 1:13 AM:
--------------------------------------------------------------

Added additional info about the purge in the docs (trunk -r673289).

Repository Purge section in Understanding Repository Configuration of Apache 
Archiva now looks like this..

Repository purge is the process of cleaning up the repository of old 
snapshots....

Please take note that the by number of days old criteria is activated by 
default (set to 100 days). In order to de-activate it and use the by retention 
count criteria, you must set the Repository Purge By Days Older field to 0. 
Another thing to note here is that if the by number of days old criteria is 
activated, the retention count would still be respected (See the Repository 
Purge By Days Older section below for more details) but not the other way 
around.
....

      was (Author: oching):
    Added additional info about the purge in the docs (trunk -r673289).

Repository Purge section in Understanding Repository Configuration of Apache 
Archiva now looks like this..

Repository purge is the process of cleaning up the repository of old 
snapshots....

Please take note that the by number of days old criteria is activated by 
default (set to 100 days). In order to de-activate it and use the by retention 
count criteria, you must set the Repository Purge By Days Older field to 0. 
Another thing to note here is that if the by number of days old criteria is 
activated, the retention count would still be respected (See the Repository 
Purge By Days Older section below for more details) but not the other way 
around.

....
  
> "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

        

Reply via email to