public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20190530-54-g4d6baa5
@ 2019-08-13 10:53 jturney
0 siblings, 0 replies; only message in thread
From: jturney @ 2019-08-13 10:53 UTC (permalink / raw)
To: cygwin-apps-cvs
https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=4d6baa589f3466f6bff5fa537ac99c1f48d77130
commit 4d6baa589f3466f6bff5fa537ac99c1f48d77130
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date: Tue Aug 13 11:48:59 2019 +0100
Stop bodging names starting with '_' in mkgitoliteconf
Now that we've patched gitolite to allow reponames starting with an
underscore, we can generate a gitolite configuration without mangling
those reponames.
https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=ef11011554ec6ed7dc2740d5ea370daa9390b633
commit ef11011554ec6ed7dc2740d5ea370daa9390b633
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date: Sat Aug 10 13:52:55 2019 +0100
Add a link from package summary page to browse packaging git repo
Diff:
---
calm/mkgitoliteconf.py | 2 --
calm/pkg2html.py | 6 ++++++
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/calm/mkgitoliteconf.py b/calm/mkgitoliteconf.py
index f5560af..761979d 100755
--- a/calm/mkgitoliteconf.py
+++ b/calm/mkgitoliteconf.py
@@ -72,8 +72,6 @@ def do_main(args):
for p in sorted(pkgs):
users = ' '.join(map(transform_username, pkgs[p]))
owner = pkgs[p][0] # first named maintainer
- if p.startswith('_'):
- p = p[1:]
print("repo git/cygwin-packages/%s" % (p))
print("C = %s" % (users))
diff --git a/calm/pkg2html.py b/calm/pkg2html.py
index 2c14933..21256ae 100755
--- a/calm/pkg2html.py
+++ b/calm/pkg2html.py
@@ -280,6 +280,12 @@ 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>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-08-13 10:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-13 10:53 [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20190530-54-g4d6baa5 jturney
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).