Fix URL to Change-Id in commit headers
We've upgraded gerrit recently. The URL format changed slightly and that broke the Change-Id links from cgit. Use the new URL instead. Change-Id: I2a16dd10d74ede15951d7447adfc3a88fa730af2
This commit is contained in:
parent
518cef44be
commit
20296a7802
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
sed -re '
|
||||
s`(I[0-9a-f]{8,40})`<a href="https://review.openstack.org/\#q,\1,n,z">\0</a>`g
|
||||
s`(I[0-9a-f]{8,40})`<a href="https://review.openstack.org/\#/q/\1">\0</a>`g
|
||||
s`\b([0-9a-fA-F]{8,40})\b`<a href="./?id=\1">\0</a>`g
|
||||
s`(\b[Bb]ug\b|\b[Ll][Pp]\b)[ \t#:]*([0-9]+)`<a href="https://code.launchpad.net/bugs/\2">\0</a>`g
|
||||
s`(\b[Ss]tory\b)[ \t#:]*([0-9]+)`<a href="https://storyboard.openstack.org/#!/story/\2">\0</a>`g
|
||||
|
Loading…
Reference in New Issue
Block a user