aboutsummaryrefslogtreecommitdiffstats
path: root/modules/cgit
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 /modules/cgit
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 'modules/cgit')
-rwxr-xr-xmodules/cgit/templates/filter.commit-links.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cgit/templates/filter.commit-links.sh b/modules/cgit/templates/filter.commit-links.sh
index 7c04f95b..f0f7ee14 100755
--- a/modules/cgit/templates/filter.commit-links.sh
+++ b/modules/cgit/templates/filter.commit-links.sh
@@ -25,7 +25,7 @@ s|\b([0-9a-fA-F]{7,40})\b|<a href="./?id=\1">\1</a>|g'
# When editing this list, remember to edit the same list in
# deployment/mgagit/templates/git-post-receive-hook
regex=$regex'
-s|mga#([0-9]+)\b|<a href="https://bugs.mageia.org/show_bug.cgi?id=\1">mga#\1</a>|g'
+s|mga#([0-9]+)\b|<a href="https://bugs.mageia.org/\1">mga#\1</a>|g'
regex=$regex'
s|rhbz#([0-9]+)\b|<a href="https://bugzilla.redhat.com/show_bug.cgi?id=\1">rhbz#\1</a>|g'
regex=$regex'