public inbox for cygwin-apps-cvs@sourceware.org help / color / mirror / Atom feed
From: Jon Turney <jturney@sourceware.org> To: cygwin-apps-cvs@sourceware.org Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20230209-8-g2ff6058 Date: Sun, 12 Feb 2023 19:01:05 +0000 (GMT) [thread overview] Message-ID: <20230212190105.D3F0B3858D1E@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=2ff605868c0b99afe059767602b07f5522c47c8e commit 2ff605868c0b99afe059767602b07f5522c47c8e Author: Jon Turney <jon.turney@dronecode.org.uk> Date: Sun Feb 12 18:59:37 2023 +0000 Fix reports https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=59016dd9b0fbf0819ca79c2afff033797c8e9fba commit 59016dd9b0fbf0819ca79c2afff033797c8e9fba Author: Jon Turney <jon.turney@dronecode.org.uk> Date: Sun Feb 12 17:59:50 2023 +0000 Fix mkgitolite for maintainers rewrite Keep maintainers in a list, not a set, because we need "first named maintainer". Diff: --- calm/mkgitoliteconf.py | 6 ++++-- calm/reports.py | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/calm/mkgitoliteconf.py b/calm/mkgitoliteconf.py index 3b8ab73..cf416ba 100755 --- a/calm/mkgitoliteconf.py +++ b/calm/mkgitoliteconf.py @@ -85,8 +85,10 @@ def do_main(args): print("repo git/cygwin-packages/%s" % (p)) print("C = %s @leads" % (users)) - print("RW master$ = %s" % (users)) - print("RW refs/tags/ = %s" % (users)) + if users: + # this won't be syntactically correct if users is empty + print("RW master$ = %s" % (users)) + print("RW refs/tags/ = %s" % (users)) print("owner = %s" % (owner)) print("") diff --git a/calm/reports.py b/calm/reports.py index c2fac58..43b9030 100644 --- a/calm/reports.py +++ b/calm/reports.py @@ -77,7 +77,7 @@ def unmaintained(args, packages, reportsdir): if po.kind != package.Kind.source: continue - if not pkg_maintainers[po.orig_name].is_orphaned(): + if (po.orig_name not in pkg_maintainers) or (not pkg_maintainers[po.orig_name].is_orphaned()): continue # the highest version we have
reply other threads:[~2023-02-12 19: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: 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=20230212190105.D3F0B3858D1E@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).