public inbox for
help / color / mirror / Atom feed
From: Jon Turney <>
Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20221205-29-gde32686
Date: Sun, 22 Jan 2023 10:54:56 +0000 (GMT)	[thread overview]
Message-ID: <> (raw);h=de32686b4e712fdc228087c043eef69def82aac8

commit de32686b4e712fdc228087c043eef69def82aac8
Author: Jon Turney <>
Date:   Sun Jan 22 10:41:39 2023 +0000

    Drop a spurious argument to maintainers.add_packages()
    Drop a spurious argument to maintainers.add_packages(), left-over after
    ad6b47c27b11 ("Relax trusted maintainer restrictions").
    Also report an error if CYGNAME isn't set.

 calm/ | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/calm/ b/calm/
index 43fe3ea..712b0e2 100644
--- a/calm/
+++ b/calm/
@@ -45,9 +45,12 @@ def split(pvr):
 def permitted(p):
     # check CYGNAME is a maintainer for package
     cygname = os.environ.get('CYGNAME', None)
+    if not cygname:
+        logging.error("who are you?")
+        return False
     mlist = {}
-    mlist = maintainers.add_packages(mlist, common_constants.PKGMAINT, trustedMaint=common_constants.TRUSTEDMAINT)
+    mlist = maintainers.add_packages(mlist, common_constants.PKGMAINT)
     # CYGNAME is a maintainer for package
     if p in mlist[cygname].pkgs:

                 reply	other threads:[~2023-01-22 10:54 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).