Hyperlink task footers

Add a commentlink entry which matches task footers in commit
messages and links them to the corresponding task URL on storyboard.
This has already been tested on review-dev, and seems to work
without breaking the separate its-storyboard entry which handles
task updating automation.

Change-Id: I8e69fa7e5dfdef5ea9c05fa457c4ee08c624d005
This commit is contained in:
Jeremy Stanley 2018-10-03 19:59:10 +00:00
parent 04c3294893
commit 509d3d1fd7

View File

@ -155,6 +155,11 @@ class openstack_project::review (
match => '\\\\b[Ss]tory:? #?(\\\\d+)',
link => 'https://storyboard.openstack.org/#!/story/$1',
},
{
name => 'task',
match => '\\\\b[Tt]ask:? #?(\\\\d+)',
link => 'https://storyboard.openstack.org/#!/task/$1',
},
{
name => 'its-storyboard',
match => '\\\\b[Tt]ask:? #?(\\\\d+)',