From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25754 invoked by alias); 13 Aug 2019 10:53:11 -0000 Mailing-List: contact cygwin-apps-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cygwin-apps-cvs-owner@sourceware.org Received: (qmail 25717 invoked by uid 9795); 13 Aug 2019 10:53:10 -0000 Date: Tue, 13 Aug 2019 10:53:00 -0000 Message-ID: <20190813105310.25705.qmail@sourceware.org> From: jturney@sourceware.org To: cygwin-apps-cvs@sourceware.org Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20190530-54-g4d6baa5 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: e10575b0572fa0e82082c2f1133745a99a9228da X-Git-Newrev: 4d6baa589f3466f6bff5fa537ac99c1f48d77130 X-SW-Source: 2019-q3/txt/msg00011.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=4d6baa589f3466f6bff5fa537ac99c1f48d77130 commit 4d6baa589f3466f6bff5fa537ac99c1f48d77130 Author: Jon Turney 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 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('
', file=f) print('', 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('packaging repository: %s.git' % (repo_browse_url, pn), file=f) + print(textwrap.dedent('''\