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. c118ad8400827f35f2839051c4bc77221c840ad0 Date: Thu, 17 Mar 2016 23:24:00 -0000 [thread overview] Message-ID: <20160317232431.77261.qmail@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=c118ad8400827f35f2839051c4bc77221c840ad0 commit c118ad8400827f35f2839051c4bc77221c840ad0 Author: Jon Turney <jon.turney@dronecode.org.uk> Date: Thu Mar 17 23:22:40 2016 +0000 Exit with non-zero status if we didn't write setup.ini due to a pre-existing package-set error Diff: --- calm | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/calm b/calm index 340b569..fa095bd 100755 --- a/calm +++ b/calm @@ -76,7 +76,7 @@ def main(args): # validate the package set if not package.validate_packages(args, packages): logging.error("existing package set has errors, not processing uploads or writing setup.ini") - return + return 1 # read maintainer list mlist = maintainers.Maintainer.read(args) @@ -132,6 +132,8 @@ def main(args): # XXX: perhaps we need a --[no]listing command line option to disable this from being run? pkg2html.update_package_listings(args, packages) + return 0 + # # # @@ -169,4 +171,4 @@ if __name__ == "__main__": if args.email: args.email = args.email.split(',') - main(args) + sys.exit(main(args))
reply other threads:[~2016-03-17 23:24 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=20160317232431.77261.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).