Merge "Limit bug links in Gerrit to recommended headers"
This commit is contained in:
commit
c9507f4d00
@ -130,9 +130,14 @@ class openstack_project::gerrit (
|
|||||||
link => '#q,$1,n,z',
|
link => '#q,$1,n,z',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name => 'launchpad',
|
name => 'bugheader',
|
||||||
match => '(\\b[Bb]ug\\b|\\b[Ll][Pp]\\b)[ \\t#:]*(\\d+)',
|
match => '^([Cc]loses|[Pp]artial|[Rr]elated)-[Bb]ug:[\\s#]?(\\d+)$',
|
||||||
link => 'https://code.launchpad.net/bugs/$2',
|
link => 'https://launchpad.net/bugs/$2',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name => 'bug',
|
||||||
|
match => '\\bbug:? #?(\\d+)',
|
||||||
|
link => 'https://launchpad.net/bugs/$1',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name => 'blueprint',
|
name => 'blueprint',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user