Update wording for docimpact
Since we default now for most projects to the project itself, let's
reword the message for this case to not confuse bug triagers.
Change-Id: Ibe5846e749d3f2ef4431b979bad134875b6c7f0e
diff --git a/jeepyb/cmd/notify_impact.py b/jeepyb/cmd/notify_impact.py
index e20a6fc..7582a30 100644
--- a/jeepyb/cmd/notify_impact.py
+++ b/jeepyb/cmd/notify_impact.py
@@ -114,10 +114,13 @@
project_name = args.project.rstrip('/')
lp_project = projects.docimpact_target(project_name)
if lp_project == 'unknown':
- prelude = ('\n\nDear documentation bug triager. This bug was created '
- 'here because we did not know how to map the project name '
- '"%s" to a launchpad project name. This indicates that the '
- 'notify_impact config needs tweaks. You can ask the '
+
+ prelude = ('\n\Dear bug triager. This bug was created since a '
+ 'commit was marked with DOCIMPACT.\n'
+ 'Your project "%s" is set up so that we directly report '
+ 'the documentation bugs against it. If this needs '
+ 'changing, the docimpact-group option needs to be added '
+ 'for the project. You can ask the '
'OpenStack infra team (#openstack-infra on freenode) for '
'help if you need to.\n'
% args.project)