From 509d3d1fd7b8cdc8894238492f330a3ebc80076a Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Wed, 3 Oct 2018 19:59:10 +0000 Subject: [PATCH] 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 --- modules/openstack_project/manifests/review.pp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/openstack_project/manifests/review.pp b/modules/openstack_project/manifests/review.pp index 1af40b8015..327bbc157b 100644 --- a/modules/openstack_project/manifests/review.pp +++ b/modules/openstack_project/manifests/review.pp @@ -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+)',