public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20221205-29-gde32686
@ 2023-01-22 10:54 Jon Turney
0 siblings, 0 replies; only message in thread
From: Jon Turney @ 2023-01-22 10:54 UTC (permalink / raw)
To: cygwin-apps-cvs
https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=de32686b4e712fdc228087c043eef69def82aac8
commit de32686b4e712fdc228087c043eef69def82aac8
Author: Jon Turney <jon.turney@dronecode.org.uk>
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.
Diff:
---
calm/tool_util.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/calm/tool_util.py b/calm/tool_util.py
index 43fe3ea..712b0e2 100644
--- a/calm/tool_util.py
+++ b/calm/tool_util.py
@@ -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:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-22 10:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-22 10:54 [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20221205-29-gde32686 Jon Turney
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).