Enhancements to docimpact bug creation code
NB: This has not been tested yet, as launchpad staging server is down. These changes: * adds the gerrit review URL to the top of created bugs (so bug assignees/triagers can look at the patch easily) * set the tag of the bug to be the project/repo name, as is the docs triaging standard Change-Id: I1bc6a4081ac16ec2f8cf4cc419cec5b1fb03a6e2 Reviewed-on: https://review.openstack.org/34127 Reviewed-by: Monty Taylor <mordred@inaugust.com> Approved: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
This commit is contained in:
parent
805a30109c
commit
94ebc242c5
@ -68,7 +68,7 @@ def process_impact(git_log, args):
|
||||
version='devel')
|
||||
lines_in_log = git_log.split("\n")
|
||||
bug_title = lines_in_log[4]
|
||||
bug_descr = git_log
|
||||
bug_descr = args.change_url + '\n' + git_log
|
||||
project_name = 'openstack-manuals'
|
||||
project = launchpad.projects[project_name]
|
||||
|
||||
@ -79,7 +79,8 @@ def process_impact(git_log, args):
|
||||
if len(potential_dupes) == 0:
|
||||
buginfo = launchpad.bugs.createBug(target=project,
|
||||
title=bug_title,
|
||||
description=bug_descr)
|
||||
description=bug_descr,
|
||||
tags=args.project.split('/')[1])
|
||||
buglink = buginfo.web_link
|
||||
email_content = DOC_EMAIL_TEMPLATE % (args.impact,
|
||||
args.change_url,
|
||||
|
Loading…
x
Reference in New Issue
Block a user