public inbox for
help / color / mirror / Atom feed
From: Jon TURNEY <>
Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20210626-15-g3e8e10f
Date: Thu,  3 Feb 2022 13:34:59 +0000 (GMT)	[thread overview]
Message-ID: <> (raw);h=3e8e10f195747de3bff5d32bc6b2d1cd67fb9b6c

commit 3e8e10f195747de3bff5d32bc6b2d1cd67fb9b6c
Author: Jon Turney <>
Date:   Mon Jan 31 18:59:52 2022 +0000

    Include upstream version in 'unmaintained packages' report
    Fetch the upstream version from repology, and in include it in the
    'unmaintained packages' report.
    Annotate packages in daemonized mode as well;h=e4b7bf3c372a06f994413200e00b49a9ae74f99c

commit e4b7bf3c372a06f994413200e00b49a9ae74f99c
Author: Jon Turney <>
Date:   Mon Jan 31 15:36:57 2022 +0000

    Add 'deprecated shared libraries' report;h=2677eb4380ec544335aec40b71d12d723e76195d

commit 2677eb4380ec544335aec40b71d12d723e76195d
Author: Jon Turney <>
Date:   Sat Jan 29 18:11:46 2022 +0000

    Add 'unmaintained packages' report

 calm/ | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/calm/ b/calm/
index bf77f3f..2cd2308 100644
--- a/calm/
+++ b/calm/
@@ -41,7 +41,7 @@ def template(title, body, f):
     <!DOCTYPE html>
-    <link rel="stylesheet" type="text/css" href="/static/builds/style.css"/>
+    <link rel="stylesheet" type="text/css" href="/style.css"/>
@@ -56,8 +56,8 @@ def template(title, body, f):
     </html>'''), file=f)
-def linkify(pn):
-    return '<a href="/packages/summary/{0}-src.html">{0}</a>'.format(pn)
+def linkify(pn, po):
+    return '<a href="/packages/summary/{0}.html">{1}</a>'.format(pn, po.orig_name)
@@ -95,6 +95,7 @@ def unmaintained(args, packages, reportsdir):
         up = types.SimpleNamespace()
+ = p
         up.po = po
         up.v = v
         up.upstream_v = getattr(po, 'upstream_version', 'unknown')
@@ -116,9 +117,8 @@ def unmaintained(args, packages, reportsdir):
     print('<tr><th>last updated</th><th>package</th><th>version</th><th>upstream version</th><th>rdepends</th><th>build_rdepends</th></tr>', file=body)
     for up in sorted(um_list, key=lambda i: (i.rdepends + i.build_rdepends, i.ts), reverse=True):
-        po = up.po
         print('<tr><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td></tr>' %
-              (pkg2html.tsformat(up.ts), linkify(po.orig_name), up.v, up.upstream_v, up.rdepends, up.build_rdepends), file=body)
+              (pkg2html.tsformat(up.ts), linkify(, up.po), up.v, up.upstream_v, up.rdepends, up.build_rdepends), file=body)
     print('</table>', file=body)
@@ -175,7 +175,7 @@ def deprecated(args, packages, reportsdir):
     for depp in sorted(dep_list, key=lambda i: (i.rdepends, i.ts), reverse=True):
         po = depp.po
         print('<tr><td>%s</td><td>%s</td><td>%s</td></tr>' %
-              (linkify(, depp.v, depp.rdepends), file=body)
+              (linkify(, depp.po), depp.v, depp.rdepends), file=body)
     print('</table>', file=body)

                 reply	other threads:[~2022-02-03 13:34 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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

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