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
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2021-05-20 17:48:25 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2021-05-22 23:28:12 +0300
commit0f66095073bb39eb8a2f28c41d65ddfa76e43f22 (patch)
treef14edeefe62a48c44a225b6e2c91b73acaf76306
parenta478607b1706a2184090e31ba74ce0569333cd06 (diff)
Move 'packaging repository' up page to be with the rest of the details
-rwxr-xr-xcalm/pkg2html.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/calm/pkg2html.py b/calm/pkg2html.py
index 80bc393..7a32e7f 100755
--- a/calm/pkg2html.py
+++ b/calm/pkg2html.py
@@ -256,6 +256,12 @@ def update_package_listings(args, packages):
<a href="/problems.html#personal-email">Do not contact the maintainer(s) directly</a>.)</span>'''), file=f)
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
+ print('<span class="detail">packaging repository</span>: <a href="%s">%s.git</a>' % (repo_browse_url, pn), file=f)
+
print('<ul>', file=f)
for arch in sorted(packages):
if p in packages[arch]:
@@ -283,12 +289,6 @@ def update_package_listings(args, packages):
print('</table><br>', file=f)
print('</ul>', 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
- print('<span class="detail">packaging repository</span>: <a href="%s">%s.git</a>' % (repo_browse_url, pn), file=f)
-
print(textwrap.dedent('''\
</div>
</body>