public inbox for
help / color / mirror / Atom feed
Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20181020-18-ga4a44a4
Date: Wed, 29 May 2019 18:01:00 -0000	[thread overview]
Message-ID: <> (raw);h=a4a44a4f8805c1f3574e35282d2ae1888737dff0

commit a4a44a4f8805c1f3574e35282d2ae1888737dff0
Author: Jon Turney <>
Date:   Fri Mar 2 22:23:30 2018 +0000

    Update hint parsing tests
    Use a separate expected file for each pvr.hint
    Add testing of override.hint parsing;h=9088dbed4223bfc2ba47c1971c44d7b699268ef4

commit 9088dbed4223bfc2ba47c1971c44d7b699268ef4
Author: Jon Turney <>
Date:   Thu Mar 1 16:13:01 2018 +0000

    Remove reading setup.hint files

 calm/ |    5 ++---
 calm/ |    3 +--
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/calm/ b/calm/
index ebec84a..95ea7cb 100755
--- a/calm/
+++ b/calm/
@@ -162,7 +162,7 @@ def clean_hints(p, hints, warnings):
 # read a single package
-def read_package(packages, basedir, dirpath, files, remove=[], upload=False):
+def read_package(packages, basedir, dirpath, files, remove=[]):
     relpath = os.path.relpath(dirpath, basedir)
     warnings = False
@@ -305,8 +305,7 @@ def read_package(packages, basedir, dirpath, files, remove=[], upload=False):
                 ovr = vr
             version_hints[ovr] = pvr_hint
-            if hint_fn:
-                hint_files[ovr] = hint_fn
+            hint_files[ovr] = hint_fn
             actual_tars[ovr] = tars[vr]
         # ignore dotfiles
diff --git a/calm/ b/calm/
index 2f84911..69951cf 100644
--- a/calm/
+++ b/calm/
@@ -257,8 +257,7 @@ def scan(m, all_packages, arch, args):
         # read and validate package
         if files:
-            # strict means we consider warnings as fatal for upload
-            if package.read_package(packages, m.homedir(), dirpath, files, remove=removed_files, upload=True):
+            if package.read_package(packages, m.homedir(), dirpath, files, remove=removed_files):
                 error = True
     # always consider timestamp as checked during a dry-run, so it is never

                 reply	other threads:[~2019-05-29 18:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).