summaryrefslogtreecommitdiffstats
path: root/archiva-docs/src
diff options
context:
space:
mode:
authorMaria Odea B. Ching <oching@apache.org>2008-07-02 06:10:59 +0000
committerMaria Odea B. Ching <oching@apache.org>2008-07-02 06:10:59 +0000
commitec8e4d5eb2f4fec2e3b69d7e04845093cc732d1f (patch)
tree7ee362ca200434718d4c14adb1f047bda603d7ae /archiva-docs/src
parent571c96c635c71662b388404a07ea1a9b01e6de37 (diff)
downloadarchiva-ec8e4d5eb2f4fec2e3b69d7e04845093cc732d1f.tar.gz
archiva-ec8e4d5eb2f4fec2e3b69d7e04845093cc732d1f.zip
[MRM-846]
added rules regarding activation of the purge criteria git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@673289 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-docs/src')
-rw-r--r--archiva-docs/src/site/apt/adminguide/repositories.apt7
1 files changed, 6 insertions, 1 deletions
diff --git a/archiva-docs/src/site/apt/adminguide/repositories.apt b/archiva-docs/src/site/apt/adminguide/repositories.apt
index e21bddeb5..e7d97bc74 100644
--- a/archiva-docs/src/site/apt/adminguide/repositories.apt
+++ b/archiva-docs/src/site/apt/adminguide/repositories.apt
@@ -117,6 +117,11 @@ http://[URL TO ARCHIVA]/repository/[REPOSITORY ID] (e.g. http://localhost:8080/a
the repository. What if the artifact is large? Then disk space will definitely be a problem. That's where Archiva's repository
purge feature comes in. Given a criteria to use -- by the number of days old and by retention count, it would clean up the
repository by removing 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.
Let's take a look at different behaviours for repository purge using the following scenario:
@@ -162,7 +167,7 @@ Artifacts in the repository:
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.
+ retention count (regardless of how old or new the artifact is).
* Scanning a Database