Skip to content

Commit e500666

Browse files
committed
linux mailing lists: ignore tip-bot2 commit notifications
tip-bot2@linutronix.de posts automated [tip: <branch>] single-commit notifications to linux-kernel and linux-tip-commits after patches already posted to LKML are merged into tip.git. Ingesting these bot notifications caused duplicate reviews of already-reviewed patches and frequent application failures on commits 2..N of multi-commit pushes whose parent commits are not yet on any baseline ref. Add tip-bot2@linutronix.de to defaults.ignored_emails in the Linux mailing list policy. Signed-off-by: Roman Gushchin <roman.gushchin@linux.dev>
1 parent 0ffd66b commit e500666

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

‎projects/linux/mailing_lists.toml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ embargo_hours = 0
3737

3838
# Author addresses (substring match) whose submissions are ignored and
3939
# never reviewed. Entries in a list section apply to every list.
40-
ignored_emails = ["patchwork@emeril.freedesktop.org"]
40+
ignored_emails = [
41+
"patchwork@emeril.freedesktop.org",
42+
"tip-bot2@linutronix.de",
43+
]
4144

4245
# Mention a pre-existing bug closely related to the first non-RFC posting
4346
# of a series: in the code the patch touches, or the same defect it fixes.

‎src/email_policy.rs‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -815,6 +815,10 @@ mod tests {
815815
.lists
816816
.contains_key("devicetree@vger.kernel.org")
817817
);
818+
assert!(crate::email_router::EmailRouter::is_ignored_author(
819+
&linux_config,
820+
"\"tip-bot2 for Peter Zijlstra\" <tip-bot2@linutronix.de>"
821+
));
818822

819823
let sashiko_config = EmailPolicyConfig::load("projects/sashiko/mailing_lists.toml")
820824
.expect("Production projects/sashiko/mailing_lists.toml failed to parse");

0 commit comments

Comments
 (0)