From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14724 invoked by alias); 25 Oct 2017 14:29:03 -0000 Mailing-List: contact cygwin-apps-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cygwin-apps-cvs-owner@sourceware.org Received: (qmail 14514 invoked by uid 9795); 25 Oct 2017 14:29:03 -0000 Date: Wed, 25 Oct 2017 14:29:00 -0000 Message-ID: <20171025142903.14454.qmail@sourceware.org> From: jturney@sourceware.org To: cygwin-apps-cvs@sourceware.org Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20171008-5-g50b62e9 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 7777cd8b753a678e50039f485d36ff134533aa87 X-Git-Newrev: 50b62e935a650c63a34c2bc35d725a15f35dd566 X-SW-Source: 2017-q4/txt/msg00016.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=50b62e935a650c63a34c2bc35d725a15f35dd566 commit 50b62e935a650c63a34c2bc35d725a15f35dd566 Author: Jon Turney 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 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)