public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20220704-12-ge8fa4d8
@ 2022-09-10 13:53 Jon TURNEY
  0 siblings, 0 replies; only message in thread
From: Jon TURNEY @ 2022-09-10 13:53 UTC (permalink / raw)
  To: cygwin-apps-cvs




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=e8fa4d84eb7fd1547bdf4bc63681c096b20ce147

commit e8fa4d84eb7fd1547bdf4bc63681c096b20ce147
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Wed Sep 7 14:39:35 2022 +0100

    Make 'unmaintained' pseudo-category more accurate

https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=76ac02f65feb240a8f4d2eef110533c31e7417e3

commit 76ac02f65feb240a8f4d2eef110533c31e7417e3
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Tue Sep 6 18:51:34 2022 +0100

    mkgitolite: Limit branch names maintainer can create/fast-forward
    
    Limit the branch names a package maintainer can create/fast-forward to
    just 'master' (and 'playground'), to avoid a 'git push' to
    'typoed-branch-name' succeeding.


Diff:
---
 calm/mkgitoliteconf.py | 2 +-
 calm/package.py        | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/calm/mkgitoliteconf.py b/calm/mkgitoliteconf.py
index 7b52dea..3c7f53f 100755
--- a/calm/mkgitoliteconf.py
+++ b/calm/mkgitoliteconf.py
@@ -94,7 +94,7 @@ def do_main(args):
 
         print("repo git/cygwin-packages/%s" % (p))
         print("C  = %s @leads" % (users))
-        print("RW = %s" % (users))
+        print("RW master$ = %s" % (users))
         print("owner = %s" % (owner))
         print("")
 
diff --git a/calm/package.py b/calm/package.py
index 7d68856..1c658e1 100755
--- a/calm/package.py
+++ b/calm/package.py
@@ -1000,9 +1000,9 @@ def validate_package_maintainers(args, packages):
                         logging.error("package '%s' is not obsolete, but has no maintainer" % (p))
                         error = True
 
-        if 'ORPHANED' in pkg_maintainers[packages[p].orig_name]:
-            # note orphaned packages
-            packages[p].orphaned = True
+                if 'ORPHANED' in pkg_maintainers[es_pn]:
+                    # note orphaned packages
+                    packages[p].orphaned = True
 
     return error
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-10 13:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-10 13:53 [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20220704-12-ge8fa4d8 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).