aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mgagit/templates/git-post-receive-hook
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-11-25 09:30:37 +0000
committerColin Guthrie <colin@mageia.org>2014-11-25 09:30:37 +0000
commit24694168768a4308f770e7c647c274a642df2500 (patch)
tree98aa040eee77dc8226aa1cf223e7d12e1159e1e2 /deployment/mgagit/templates/git-post-receive-hook
parent9cb1873d02ddfa95a191bc4ac2433a4e67665f7c (diff)
downloadpuppet-24694168768a4308f770e7c647c274a642df2500.tar
puppet-24694168768a4308f770e7c647c274a642df2500.tar.gz
puppet-24694168768a4308f770e7c647c274a642df2500.tar.bz2
puppet-24694168768a4308f770e7c647c274a642df2500.tar.xz
puppet-24694168768a4308f770e7c647c274a642df2500.zip
mgagit,cgit: Use a cosmetically nicer BZ URL
Diffstat (limited to 'deployment/mgagit/templates/git-post-receive-hook')
-rwxr-xr-xdeployment/mgagit/templates/git-post-receive-hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/deployment/mgagit/templates/git-post-receive-hook b/deployment/mgagit/templates/git-post-receive-hook
index 3e2dbae0..e5dc5091 100755
--- a/deployment/mgagit/templates/git-post-receive-hook
+++ b/deployment/mgagit/templates/git-post-receive-hook
@@ -17,7 +17,7 @@ import urllib2
# When editing this list, remember to edit the same list in
# modules/cgit/templates/filter.commit-links.sh
BUG_REFS = {
- 'Mageia': { 're': re.compile('mga#([0-9]+)'), 'replace': 'https://bugs.mageia.org/show_bug.cgi?id=%s' },
+ 'Mageia': { 're': re.compile('mga#([0-9]+)'), 'replace': 'https://bugs.mageia.org/%s' },
'Red Hat': { 're': re.compile('rhbz#([0-9]+)'), 'replace': 'https://bugzilla.redhat.com/show_bug.cgi?id=%s' },
'Free Desktop': { 're': re.compile('fdo#([0-9]+)'), 'replace': 'https://bugs.freedesktop.org/show_bug.cgi?id=%s' },
'KDE': { 're': re.compile('(?:bko|kde)#([0-9]+)'), 'replace': 'https://bugs.kde.org/show_bug.cgi?id=%s' },