[calm - Cygwin server-side packaging maintenance script] branch master, updated. 20160705-47-g9d0a829
jturney@sourceware.org
jturney@sourceware.org
Thu Jan 19 12:23:00 GMT 2017
https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=9d0a8298ea60cc931d3c4e53763ea35a2fef7b6b
commit 9d0a8298ea60cc931d3c4e53763ea35a2fef7b6b
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date: Thu Jan 19 12:15:36 2017 +0000
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...
Diff:
---
calm/common_constants.py | 2 +-
.../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
More information about the Cygwin-apps-cvs
mailing list