public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jturney@sourceware.org>
To: cygwin-apps-cvs@sourceware.org
Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20210626-3-g8e94537
Date: Wed,  3 Nov 2021 13:08:35 +0000 (GMT)	[thread overview]
Message-ID: <20211103130835.5A579385841B@sourceware.org> (raw)




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=8e945375168eb6bb93e0e6cb1f437dacff9ff088

commit 8e945375168eb6bb93e0e6cb1f437dacff9ff088
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Wed Nov 3 13:05:50 2021 +0000

    Use an absolute URL for link from package contents to summary
    
    This makes the link also resolve correctly when the listing file is
    served via the package-cat cgi script (which has a different base url)


Diff:
---
 calm/pkg2html.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/calm/pkg2html.py b/calm/pkg2html.py
index 30b5211..b43ed71 100755
--- a/calm/pkg2html.py
+++ b/calm/pkg2html.py
@@ -469,7 +469,7 @@ def write_arch_listing(args, packages, arch):
                                                  <title>%s: %s</title>
                                                  </head>
                                                  <body>
-                                                 <h1><a href="../../summary/%s.html">%s</a>: %s</h1>
+                                                 <h1><a href="/packages/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)



                 reply	other threads:[~2021-11-03 13:08 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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=20211103130835.5A579385841B@sourceware.org \
    --to=jturney@sourceware.org \
    --cc=cygwin-apps-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

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