aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-10-06 22:46:13 +0000
committerColin Guthrie <colin@mageia.org>2013-10-06 22:46:13 +0000
commitac1da3a9e748f0df9b67aca2781e86e1e7ed665e (patch)
tree984b0a5a37adce1d92c55daf838d22d2e5a1a6bc
parentc840a6e877f3251436b7d0af5ecfef7e1d2e2be7 (diff)
downloadpuppet-ac1da3a9e748f0df9b67aca2781e86e1e7ed665e.tar
puppet-ac1da3a9e748f0df9b67aca2781e86e1e7ed665e.tar.gz
puppet-ac1da3a9e748f0df9b67aca2781e86e1e7ed665e.tar.bz2
puppet-ac1da3a9e748f0df9b67aca2781e86e1e7ed665e.tar.xz
puppet-ac1da3a9e748f0df9b67aca2781e86e1e7ed665e.zip
cgit: Add buglist regex cross reference comment
-rwxr-xr-xmodules/cgit/templates/filter.commit-links.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/cgit/templates/filter.commit-links.sh b/modules/cgit/templates/filter.commit-links.sh
index ca09a181..7c04f95b 100755
--- a/modules/cgit/templates/filter.commit-links.sh
+++ b/modules/cgit/templates/filter.commit-links.sh
@@ -22,6 +22,8 @@ regex=$regex'
s|\b([0-9a-fA-F]{7,40})\b|<a href="./?id=\1">\1</a>|g'
# This expression generates links various common bugtrackers.
+# 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'
regex=$regex'