Hyperlink task footers on review-dev

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

Change-Id: Iea9bde67432249e7314917ff63d6ee5e16a80f25
This commit is contained in:
Jeremy Stanley 2018-10-03 19:56:15 +00:00
parent 109f20e444
commit 04c3294893

View File

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