This is the mail archive of the cygwin-apps-cvs mailing list for the cygwin-apps project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[calm - Cygwin server-side packaging maintenance script] branch master, updated. 20171008-5-g50b62e9




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=50b62e935a650c63a34c2bc35d725a15f35dd566

commit 50b62e935a650c63a34c2bc35d725a15f35dd566
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Wed Oct 25 12:37:25 2017 +0100

    Don't ignore scan-relarea if it arrives during scan-uploads

https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=6b03c67d3a59a9f6687b734729d3c4fd7465bb97

commit 6b03c67d3a59a9f6687b734729d3c4fd7465bb97
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Thu Oct 19 02:56:36 2017 +0100

    Report a count of files being ignored, rather than every pathname being ignored
    
    There can be a lot of files being ignored, so this is can be spammy.


Diff:
---
 calm/uploads.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/calm/uploads.py b/calm/uploads.py
index 886ea29..4b4725d 100644
--- a/calm/uploads.py
+++ b/calm/uploads.py
@@ -233,7 +233,7 @@ def scan(m, all_packages, arch, args):
     # since we warned about files being ignored, warn again
     if ignored > 0 and m.reminders_issued:
         if (time.time() > (m.reminder_time + REMINDER_INTERVAL)):
-            logging.warning("ignored %d files as there is no !ready")
+            logging.warning("ignored %d files as there is no !ready" % ignored)
 
     return ScanResult(error, packages, move, vault, remove, remove_success)
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]