diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2017-01-19 15:15:36 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2017-01-19 15:21:03 +0300 |
commit | 9d0a8298ea60cc931d3c4e53763ea35a2fef7b6b (patch) | |
tree | d45fb997736b5bd02a14bd7a4918324477b220c9 | |
parent | c364814640609dea047f8b6908b9da61a7666bd7 (diff) |
Set default kept versions count to 3
At the cost of keeping more versions around, this avoids instantly vaulting
the old previous version when a new current version is uploaded, which makes
it a lot easier to restore things if it was meant to be a test version...
-rw-r--r-- | calm/common_constants.py | 2 | ||||
-rw-r--r-- | test/testdata/relarea/x86/release/staleversion/override.hint | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/calm/common_constants.py b/calm/common_constants.py index b4ffd92..763a2fd 100644 --- a/calm/common_constants.py +++ b/calm/common_constants.py @@ -60,7 +60,7 @@ VAULT = '/sourceware/snapshot-tmp/cygwin' MAILHOST = 'localhost' # defaults for package freshness -DEFAULT_KEEP_COUNT = 0 +DEFAULT_KEEP_COUNT = 3 DEFAULT_KEEP_DAYS = 0 # different values to be used when we are not running on sourceware.org, but my diff --git a/test/testdata/relarea/x86/release/staleversion/override.hint b/test/testdata/relarea/x86/release/staleversion/override.hint index 2c59b48..d9a9613 100644 --- a/test/testdata/relarea/x86/release/staleversion/override.hint +++ b/test/testdata/relarea/x86/release/staleversion/override.hint @@ -1,3 +1,4 @@ test: 260-0 curr: 250-0 prev: 243-0 +keep-count: 0 |