public inbox for cygwin-apps-cvs@sourceware.org help / color / mirror / Atom feed
From: jturney@sourceware.org To: cygwin-apps-cvs@sourceware.org Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20190530-54-g4d6baa5 Date: Tue, 13 Aug 2019 10:53:00 -0000 [thread overview] Message-ID: <20190813105310.25705.qmail@sourceware.org> (raw) 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>
reply other threads:[~2019-08-13 10:53 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=20190813105310.25705.qmail@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: linkBe 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).