public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20181020-12-gcc7255e
@ 2019-05-25 12:58 jturney
  0 siblings, 0 replies; only message in thread
From: jturney @ 2019-05-25 12:58 UTC (permalink / raw)
  To: cygwin-apps-cvs




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)


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

only message in thread, other threads:[~2019-05-25 12:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-25 12:58 [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20181020-12-gcc7255e jturney

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).