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. 20200611-5-g2f15254
Date: Wed, 24 Jun 2020 20:57:55 +0000 (GMT)	[thread overview]
Message-ID: <20200624205755.BBB76386F82F@sourceware.org> (raw)




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

commit 2f15254c8bfb477a78ab15102c9844d542f42e36
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Wed Jun 24 21:41:49 2020 +0100

    Handle maintainer names which start with an initial correctly
    
    When parsing cygwin-pkg-maint, a status is an allcaps word, not a single
    capital letter (so we recognize 'J.' as an initial forename, not the
    unknown status 'J').


Diff:
---
 calm/maintainers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/calm/maintainers.py b/calm/maintainers.py
index 55363cc..6181845 100644
--- a/calm/maintainers.py
+++ b/calm/maintainers.py
@@ -148,7 +148,7 @@ def add_packages(mlist, pkglist, orphanMaint=None):
                 rest = match.group(2)
 
                 # does rest starts with a status in all caps?
-                status_match = re.match(r'^([A-Z]+)\s.*$', rest)
+                status_match = re.match(r'^([A-Z]{2,})\b.*$', rest)
                 if status_match:
                     status = status_match.group(1)
 



                 reply	other threads:[~2020-06-24 20:57 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=20200624205755.BBB76386F82F@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: 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).