Comment on linked stories for review state changes
Configure the its-storyboard Gerrit plugin to leave comments with hyperlinks on stories mentioned in a change's commit message footer whenever that change gets a new patchset, or is abandoned or merged. This now must be explicitly configured for the version of the plugin used with newer Gerrit (circa 2.13). Change-Id: I14dea61a906c4b267145dce6911a10d8075b4ba9
This commit is contained in:
parent
eb0dde2559
commit
fca20ebe84
@ -191,7 +191,16 @@ class openstack_project::review (
|
|||||||
url => 'https://storyboard.openstack.org',
|
url => 'https://storyboard.openstack.org',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
# See https://gerrit.googlesource.com/plugins/its-storyboard
|
||||||
|
# /+/stable-2.13/src/main/resources/Documentation
|
||||||
|
# /quick-install-guide.md#its_actions_its_actionsconfigure-its-actions
|
||||||
|
# for documentation on these options.
|
||||||
its_rules => [
|
its_rules => [
|
||||||
|
{
|
||||||
|
name => 'comment-on-status-update',
|
||||||
|
event_type => 'patchset-created,change-abandoned,change-restored,change-merged',
|
||||||
|
action => 'add-standard-comment',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name => 'change_abandoned',
|
name => 'change_abandoned',
|
||||||
event_type => 'change-abandoned',
|
event_type => 'change-abandoned',
|
||||||
|
@ -144,11 +144,20 @@ class openstack_project::review_dev (
|
|||||||
url => 'https://storyboard-dev.openstack.org',
|
url => 'https://storyboard-dev.openstack.org',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
# See https://gerrit.googlesource.com/plugins/its-storyboard
|
||||||
|
# /+/stable-2.13/src/main/resources/Documentation
|
||||||
|
# /quick-install-guide.md#its_actions_its_actionsconfigure-its-actions
|
||||||
|
# for documentation on these options.
|
||||||
its_rules => [
|
its_rules => [
|
||||||
{
|
{
|
||||||
name => 'LOG',
|
name => 'LOG',
|
||||||
action => 'log-event error',
|
action => 'log-event error',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name => 'comment-on-status-update',
|
||||||
|
event_type => 'patchset-created,change-abandoned,change-restored,change-merged',
|
||||||
|
action => 'add-standard-comment',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name => 'change_abandoned',
|
name => 'change_abandoned',
|
||||||
event_type => 'change-abandoned',
|
event_type => 'change-abandoned',
|
||||||
|
Loading…
Reference in New Issue
Block a user