REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4680
* Reject patches that match Author email "[email protected]" * Update the current check for " via Groups.Io" to perform a case insensitive match. It appears that groups.io has changed the format of this string to use all lower case. Cc: Rebecca Cran <[email protected]> Cc: Liming Gao <[email protected]> Cc: Bob Feng <[email protected]> Cc: Yuwei Chen <[email protected]> Signed-off-by: Michael D Kinney <[email protected]> Reviewed-by: Rebecca Cran <[email protected]> Reviewed-by: Ard Biesheuvel <[email protected]> --- BaseTools/Scripts/PatchCheck.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/BaseTools/Scripts/PatchCheck.py b/BaseTools/Scripts/PatchCheck.py index 1675dcbd7321..e600e0be440f 100755 --- a/BaseTools/Scripts/PatchCheck.py +++ b/BaseTools/Scripts/PatchCheck.py @@ -85,7 +85,11 @@ class EmailAddressCheck: self.error("The email address cannot contain a space: " + mo.group(3)) - if ' via Groups.Io' in name and mo.group(3).endswith('@groups.io'): + if mo.group(3) == '[email protected]': + self.error("Email rewritten by lists DMARC / DKIM / SPF: " + + email) + + if ' via groups.io' in name.lower() and mo.group(3).endswith('@groups.io'): self.error("Email rewritten by lists DMARC / DKIM / SPF: " + email) -- 2.40.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#115569): https://edk2.groups.io/g/devel/message/115569 Mute This Topic: https://groups.io/mt/104434582/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
