From 270768d83b7925dc25e52008b47feede558bc9a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Sj=C3=B6lund?= Date: Thu, 29 Oct 2026 13:21:53 +0100 Subject: [PATCH] Skip noreply and refused email addresses A Dependabot commit put 49699333+dependabot[bot]@users.noreply.github.com in the regression mail list. The [bot] part made the parsed recipient 49699333+dependabot, which the server refused, and the resulting SMTPRecipientsRefused failed the publish stage. Commit authors whose address contains noreply are no longer mailed, and a recipient the server refuses is now skipped instead of aborting. Assisted-by: Claude Opus 5.5 --- all-reports.py | 2 +- publish-reports.py | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/all-reports.py b/all-reports.py index 7cea382..04da8ac 100755 --- a/all-reports.py +++ b/all-reports.py @@ -282,7 +282,7 @@ def historyOf(branch, nruns): except: pass for email in [email.strip() for email in subprocess.check_output(["git", "log", '--pretty=%ae', "%s..%s" % (v1,v2)], cwd=omcgitdir).decode("utf-8").split("\n")]: - if "@" not in email: + if "@" not in email or "noreply" in email: continue # adrpo: if email domain doesn't have "." in it, skip it if "." not in email[email.find("@"):]: diff --git a/publish-reports.py b/publish-reports.py index 4016a50..34ec233 100755 --- a/publish-reports.py +++ b/publish-reports.py @@ -50,6 +50,7 @@ missing_plain = "Report asks for missing branches which we ignored: %s\n" % ", ".join(pending["missing_branches"]) missing_html = ("%s %s %s" % ("

", missing_plain, "