Skip to content

kpd: allow to override the contact in notification emails - #63

Open
rppt wants to merge 2 commits into
kernel-patches:mainfrom
rppt:contact-name
Open

kpd: allow to override the contact in notification emails#63
rppt wants to merge 2 commits into
kernel-patches:mainfrom
rppt:contact-name

Conversation

@rppt

@rppt rppt commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Notification emails always direct questions to the Meta Kernel CI team, which is not appropriate for other KPD deployments.

Add optional contact_name and contact_email settings while retaining the Meta defaults when they are absent. Add tests for the default and configured contacts.

Tested with:
python -m unittest tests.test_config tests.test_branch_worker

rppt added 2 commits July 31, 2026 12:00
The EMAIL_TEMPLATE_BASE hardcodes Meta Kernel CI team as the contact for
questions and feedback.

To use KPD outside Meta CI, add optional configuration options
"contact_name" and "contact_email" to the email configuration block and
use those configuration options when constructing the email body in
furnish_ci_email_body().

When these options are not present in a configuration file, backward
compatible defaults are used.

Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Ensure the default contact remains backward compatible and configured
contact details are used in notification emails.

Assisted-by: Copilot:gpt-5.6-sol
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant