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
path: root/calm
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2023-03-05 19:29:55 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2023-03-12 16:07:36 +0300
commitc140627433d2dc5e62e270a778b5b9833559e898 (patch)
treef8bee5fb6ac84218e6827a59a5cee70f554bcb8f /calm
parentb83036561b6ff6cdaff732207a470e7386df9572 (diff)
Use cgit repo url in package summary package
Diffstat (limited to 'calm')
-rwxr-xr-xcalm/pkg2html.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/calm/pkg2html.py b/calm/pkg2html.py
index 0e7778b..ee8fdea 100755
--- a/calm/pkg2html.py
+++ b/calm/pkg2html.py
@@ -279,9 +279,9 @@ def update_package_listings(args, packages):
print('<br><br>', file=f)
if po.kind == package.Kind.source:
- repo = 'git/cygwin-packages/%s.git' % pn
- if os.path.exists('/' + repo):
- repo_browse_url = '/git-cygwin-packages/?p=%s' % repo
+ repo = '/git/cygwin-packages/%s.git' % pn
+ if os.path.exists(repo):
+ repo_browse_url = '/cgit/cygwin-packages/%s/' % pn
print('<span class="detail">packaging repository</span>: <a href="%s">%s.git</a>' % (repo_browse_url, pn), file=f)
print('<ul>', file=f)