summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2014-06-07 15:05:19 +0200
committerBertrand Jacquin <beber@meleeweb.net>2014-06-07 15:05:19 +0200
commite6ba2089d5337ab83755c234f42ee7b9a5274b5f (patch)
tree6c631ae457ad1a5342a2cc981447dd7109e125a5
parent8d221b23995dd4bff153bc3b20226a42b67d9216 (diff)
MEDIUM: filters/commit-filter: Add href around links, but not for phab
bug ID when already done
-rwxr-xr-xpublic_html/filters/commit-filter5
1 files changed, 3 insertions, 2 deletions
diff --git a/public_html/filters/commit-filter b/public_html/filters/commit-filter
index 55e2a5c..362dfe7 100755
--- a/public_html/filters/commit-filter
+++ b/public_html/filters/commit-filter
@@ -17,5 +17,6 @@
17 17
18exec sed -r \ 18exec sed -r \
19 -e '/CID\b/! s@\b([0-9a-fA-F]{7,40})\b@<a href="./?id=\1">\1</a>@g' \ 19 -e '/CID\b/! s@\b([0-9a-fA-F]{7,40})\b@<a href="./?id=\1">\1</a>@g' \
20 -e 's@\b(D[0-9]+)\b@<a href="https://phab.enlightenment.org/\1">\1</a>@g' \ 20 -e '/https:\/\/phab.enlightenment.org\/(D[0-9]+)\b/! s@\b(D[0-9]+)\b@https://phab.enlightenment.org/\1@g' \
21 -e 's@\b(T[0-9]+)\b@<a href="https://phab.enlightenment.org/\1">\1</a>@g' 21 -e '/https:\/\/phab.enlightenment.org\/(T[0-9]+)\b/! s@\b(T[0-9]+)\b@https://phab.enlightenment.org/\1@g' \
22 -e 's@\b(https://[^ ]+)@<a href="\1">\1</a>@g'