Add change number to DocImpact email subject.
It is hard to filter the DocImpact emails using the subject as there is little change specific information added to the subject. Correct this by adding the change number to the subject line. Change-Id: I8f852184090a517852d57a2f0db34421f8a7ddb5 Reviewed-on: https://review.openstack.org/15246 Reviewed-by: Anne Gentle <anne@openstack.org> Reviewed-by: Tom Fifield Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Approved: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
This commit is contained in:
parent
1297b56fb5
commit
361752170b
@ -39,7 +39,8 @@ def process_impact(git_log, args):
|
|||||||
"""Notify doc team of doc impact"""
|
"""Notify doc team of doc impact"""
|
||||||
email_content = EMAIL_TEMPLATE % (args.change_url, git_log)
|
email_content = EMAIL_TEMPLATE % (args.change_url, git_log)
|
||||||
msg = MIMEText(email_content)
|
msg = MIMEText(email_content)
|
||||||
msg['Subject'] = '[%s] DocImpact review request' % args.project
|
msg['Subject'] = '[%s] DocImpact review request change %s' % \
|
||||||
|
(args.project, args.change)
|
||||||
msg['From'] = 'gerrit2@review.openstack.org'
|
msg['From'] = 'gerrit2@review.openstack.org'
|
||||||
msg['To'] = DEST_ADDRESS
|
msg['To'] = DEST_ADDRESS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user