public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
From: jturney@sourceware.org
To: cygwin-apps-cvs@sourceware.org
Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20181020-12-gcc7255e
Date: Sat, 25 May 2019 12:58:00 -0000	[thread overview]
Message-ID: <20190525125838.32625.qmail@sourceware.org> (raw)




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

commit cc7255e5702e94a24ad868805f73d59bbdff0d63
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Sat May 25 13:50:29 2019 +0100

    Don't list previous maintainer in summary page if orphaned


Diff:
---
 calm/pkg2html.py |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/calm/pkg2html.py b/calm/pkg2html.py
index 32a519f..a57b836 100755
--- a/calm/pkg2html.py
+++ b/calm/pkg2html.py
@@ -187,7 +187,11 @@ def update_package_listings(args, packages):
                         print('<span class="detail">binaries</span>: %s<br><br>' % ', '.join([linkify_package(p) for p in sorted(arch_packages[p].is_used_by)]), file=f)
                         es = p
 
-                    print('<span class="detail">maintainer(s)</span>: %s ' % ', '.join(sorted(pkg_maintainers[es])), file=f)
+                    if 'ORPHANED' in pkg_maintainers[es]:
+                        m = 'ORPHANED'
+                    else:
+                        m = ', '.join(sorted(pkg_maintainers[es]))
+                    print('<span class="detail">maintainer(s)</span>: %s ' % m, file=f)
                     print(textwrap.dedent('''\
                     <span class="smaller">(Use <a href="https://cygwin.com/lists.html#cygwin">the mailing list</a> to report bugs or ask questions.
                     <a href="https://cygwin.com/problems.html#personal-email">Do not contact the maintainer(s) directly</a>.)</span>'''), file=f)


                 reply	other threads:[~2019-05-25 12:58 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=20190525125838.32625.qmail@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).