public inbox for cygwin-apps-cvs@sourceware.org help / color / mirror / Atom feed
From: jturney@sourceware.org To: cygwin-apps-cvs@sourceware.org Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. dbcdbd59109bce95ed67b19b11ee2b903ed0cad6 Date: Mon, 18 Apr 2016 11:34:00 -0000 [thread overview] Message-ID: <20160418113458.27718.qmail@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=dbcdbd59109bce95ed67b19b11ee2b903ed0cad6 commit dbcdbd59109bce95ed67b19b11ee2b903ed0cad6 Author: Jon Turney <jon.turney@dronecode.org.uk> Date: Tue Apr 12 11:07:52 2016 +0100 Add a queue interface to a package validator Place a copy of each package upload into a filesystem queue, to be processed by something else which does checks on the package https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=27eb221199cc32d8c53b1f6ed59a468045115856 commit 27eb221199cc32d8c53b1f6ed59a468045115856 Author: Jon Turney <jon.turney@dronecode.org.uk> Date: Mon Apr 11 22:06:31 2016 +0100 In read_package(), log as an error if treated as an error due to strict Also fix typos of 'warning' for 'warnings' v2: Fix typo Diff: --- package.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/package.py b/package.py index cddbdb5..7640429 100755 --- a/package.py +++ b/package.py @@ -162,7 +162,7 @@ def read_package(packages, basedir, dirpath, files, strict=False): # start with a number match = re.match(r'^' + re.escape(p) + '-(.+)-(\d[0-9a-zA-Z.]*)(-src|)\.tar\.(bz2|gz|lzma|xz)$', f) if not match: - logging.lvl(strict_lvl, "tar file '%s' in package '%s' doesn't follow naming convention" % (f, p)) + logging.log(strict_lvl, "tar file '%s' in package '%s' doesn't follow naming convention" % (f, p)) warnings = True else: # historically, V can contain a '-' (since we can use the fact
reply other threads:[~2016-04-18 11:34 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: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20160418113458.27718.qmail@sourceware.org \ --to=jturney@sourceware.org \ --cc=cygwin-apps-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe 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).