From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32671 invoked by alias); 25 May 2019 12:58:39 -0000 Mailing-List: contact cygwin-apps-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cygwin-apps-cvs-owner@sourceware.org Received: (qmail 32637 invoked by uid 9795); 25 May 2019 12:58:39 -0000 Date: Sat, 25 May 2019 12:58:00 -0000 Message-ID: <20190525125838.32625.qmail@sourceware.org> From: jturney@sourceware.org To: cygwin-apps-cvs@sourceware.org Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20181020-12-gcc7255e X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 7d05e0f72b9bdb6e6706d801e30e3f9b4d2b90cb X-Git-Newrev: cc7255e5702e94a24ad868805f73d59bbdff0d63 X-SW-Source: 2019-q2/txt/msg00005.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=cc7255e5702e94a24ad868805f73d59bbdff0d63 commit cc7255e5702e94a24ad868805f73d59bbdff0d63 Author: Jon Turney 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('binaries: %s

' % ', '.join([linkify_package(p) for p in sorted(arch_packages[p].is_used_by)]), file=f) es = p - print('maintainer(s): %s ' % ', '.join(sorted(pkg_maintainers[es])), file=f) + if 'ORPHANED' in pkg_maintainers[es]: + m = 'ORPHANED' + else: + m = ', '.join(sorted(pkg_maintainers[es])) + print('maintainer(s): %s ' % m, file=f) print(textwrap.dedent('''\ (Use the mailing list to report bugs or ask questions. Do not contact the maintainer(s) directly.)'''), file=f)