From 04c3294893f0f4e831ae899a9697aefa88826b35 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Wed, 3 Oct 2018 19:56:15 +0000 Subject: [PATCH] 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 --- modules/openstack_project/manifests/review_dev.pp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/openstack_project/manifests/review_dev.pp b/modules/openstack_project/manifests/review_dev.pp index 26a32a5281..2545dab8da 100644 --- a/modules/openstack_project/manifests/review_dev.pp +++ b/modules/openstack_project/manifests/review_dev.pp @@ -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+)',