Skip to content

mailbot: ignore empty entries in config lists - #144

Merged
kuba-moo merged 1 commit into
linux-netdev:mainfrom
matttbe:mailbot-empty-config
Nov 20, 2026
Merged

kuba-moo merged 1 commit into
linux-netdev:mainfrom
matttbe:mailbot-empty-config

Conversation

@matttbe

@matttbe matttbe commented Nov 19, 2026

Copy link
Copy Markdown
Member

With an empty 'awaiting-upstream=' option, the list contained an empty string, and '' is found in any subject tags: every new patch series was then marked as 'Awaiting Upstream'.

Parse the 'authorized', 'error-bots' and 'awaiting-upstream' lists with a helper that drops empty entries and strips spaces. These options are now also optional, which is useful for instances that don't need them.

Note: in the meantime, awaiting-upstream=__none__ can be used.

With an empty 'awaiting-upstream=' option, the list contained an empty
string, and '' is found in any subject tags: every new patch series
was then marked as 'Awaiting Upstream'.

Parse the 'authorized', 'error-bots' and 'awaiting-upstream' lists with
a helper that drops empty entries and strips spaces. These options are
now also optional, which is useful for instances that don't need them.

Signed-off-by: Matthieu Baerts <matttbe@kernel.org>
@kuba-moo
kuba-moo merged commit 5739a8f into linux-netdev:main Nov 20, 2026
1 check passed
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.

2 participants