diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2023-03-05 19:29:55 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2023-03-12 16:07:36 +0300 |
commit | c140627433d2dc5e62e270a778b5b9833559e898 (patch) | |
tree | f8bee5fb6ac84218e6827a59a5cee70f554bcb8f /calm/pkg2html.py | |
parent | b83036561b6ff6cdaff732207a470e7386df9572 (diff) |
Use cgit repo url in package summary package
Diffstat (limited to 'calm/pkg2html.py')
-rwxr-xr-x | calm/pkg2html.py | 6 |
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) |