Merge "Limit bug links in Gerrit to recommended headers"

This commit is contained in:
Jenkins 2013-10-08 23:32:11 +00:00 committed by Gerrit Code Review
commit c9507f4d00

View File

@ -130,9 +130,14 @@ class openstack_project::gerrit (
link => '#q,$1,n,z',
},
{
name => 'launchpad',
match => '(\\b[Bb]ug\\b|\\b[Ll][Pp]\\b)[ \\t#:]*(\\d+)',
link => 'https://code.launchpad.net/bugs/$2',
name => 'bugheader',
match => '^([Cc]loses|[Pp]artial|[Rr]elated)-[Bb]ug:[\\s#]?(\\d+)$',
link => 'https://launchpad.net/bugs/$2',
},
{
name => 'bug',
match => '\\bbug:? #?(\\d+)',
link => 'https://launchpad.net/bugs/$1',
},
{
name => 'blueprint',