Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2016-11-10 18:51:53 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2016-11-10 18:54:50 +0300
commit3a6f0d4b783476966161d0e34e1e10c02a2ad8f4 (patch)
tree820d267be55ff43a5c7cdca3b43a5e12decc4bc1
parent1f9188c7d2ae20778aad4cd19f8b653d906c34ca (diff)
Give counts of vaulted by request and added packages
-rwxr-xr-xcalm/calm.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/calm/calm.py b/calm/calm.py
index 0a8dc6a..eaafe42 100755
--- a/calm/calm.py
+++ b/calm/calm.py
@@ -107,7 +107,7 @@ def process(args):
stale_to_vault = remove_stale_packages(args, packages)
if stale_to_vault:
for arch in common_constants.ARCHES + ['noarch']:
- logging.info("vaulting %d old packages for arch %s, which are no longer accessible by installer" % (len(stale_to_vault[arch]), arch))
+ logging.info("vaulting %d old package(s) for arch %s, which are no longer accessible by installer" % (len(stale_to_vault[arch]), arch))
uploads.move_to_vault(args, stale_to_vault[arch])
else:
logging.error("error while evaluating stale packages")
@@ -213,15 +213,17 @@ def process(args):
logging.debug("moving %s packages for maintainer %s" % (arch, name))
# process the move lists
+ logging.info("vaulting %d package(s) for arch %s, by request" % (len(scan_result[arch].to_vault), arch))
uploads.move_to_vault(args, scan_result[arch].to_vault)
uploads.remove(args, scan_result[arch].remove_success)
+ logging.info("adding %d package(s) for arch %s" % (len(scan_result[arch].to_relarea), arch))
uploads.move_to_relarea(m, args, scan_result[arch].to_relarea)
# for each arch
if args.stale:
for arch in common_constants.ARCHES + ['noarch']:
if stale_to_vault[arch]:
- logging.info("vaulting %d old package for arch %s, which are no longer accessible by installer" % (len(stale_to_vault[arch]), arch))
+ logging.info("vaulting %d old package(s) for arch %s, which are no longer accessible by installer" % (len(stale_to_vault[arch]), arch))
uploads.move_to_vault(args, stale_to_vault[arch])
# for each arch