public inbox for
help / color / mirror / Atom feed
From: Jon TURNEY <>
Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20210626-2-gc7baf4a
Date: Wed, 13 Oct 2021 12:41:05 +0000 (GMT)	[thread overview]
Message-ID: <> (raw);h=c7baf4a1eeb46e96a1b72dc9a6e483a7621d2996

commit c7baf4a1eeb46e96a1b72dc9a6e483a7621d2996
Author: Jon Turney <>
Date:   Wed Oct 13 12:02:15 2021 +0100

    Link back from package contents to package summary

 calm/ | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/calm/ b/calm/
index 5113d36..30b5211 100755
--- a/calm/
+++ b/calm/
@@ -457,20 +457,20 @@ def write_arch_listing(args, packages, arch):
                     with utils.open_amifc(listing) as f:
                         bv = packages[p].best_version
-                        header = p + ": " + sdesc(packages[p], bv)
+                        desc = sdesc(packages[p], bv)
                         if fver.endswith('-src'):
-                            header = header + " (source)"
+                            desc = desc + " (source)"
                                                  <!DOCTYPE html>
-                                                 <title>%s</title>
+                                                 <title>%s: %s</title>
-                                                 <h1>%s</h1>
-                                                 <pre>''' % (header, header)), file=f)
+                                                 <h1><a href="../../summary/%s.html">%s</a>: %s</h1>
+                                                 <pre>''' % (p, desc, p, p, desc)), file=f)
                         tf = os.path.join(args.rel_area, to.path, to.fn)
                         if not os.path.exists(tf):

                 reply	other threads:[~2021-10-13 12:41 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).