Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'calm/pkg2html.py')
-rwxr-xr-xcalm/pkg2html.py14
1 files changed, 11 insertions, 3 deletions
diff --git a/calm/pkg2html.py b/calm/pkg2html.py
index a4cd59a..43591ff 100755
--- a/calm/pkg2html.py
+++ b/calm/pkg2html.py
@@ -271,10 +271,14 @@ def update_package_listings(args, packages):
m_pn = es_po.orig_name
if m_pn not in pkg_maintainers:
m = None
- elif pkg_maintainers[m_pn].is_orphaned():
- m = 'ORPHANED'
+ pkg_groups = None
else:
- m = ', '.join(sorted(pkg_maintainers[m_pn].maintainers()))
+ if pkg_maintainers[m_pn].is_orphaned():
+ m = 'ORPHANED'
+ else:
+ m = ', '.join(sorted(pkg_maintainers[m_pn].maintainers()))
+
+ pkg_groups = pkg_maintainers[m_pn].groups()
if m:
print('<span class="detail">maintainer(s)</span>: %s ' % m, file=f)
@@ -284,6 +288,10 @@ def update_package_listings(args, packages):
<a href="/problems.html#personal-email">Do not contact the maintainer(s) directly</a>.)</span>'''), file=f)
print('<br><br>', file=f)
+ if pkg_groups:
+ print('<span class="detail">group</span>: %s ' % ','.join(pkg_groups), file=f)
+ print('<br><br>', file=f)
+
if po.kind == package.Kind.source:
repo = '/git/cygwin-packages/%s.git' % pn
if os.path.exists(repo):