From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id D39C2780827 for ; Wed, 14 Feb 2024 16:13:39 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=siGWndqm1xP+ehFGc9NVfYBS/dznCwqkIwNLcF1cjGc=; c=relaxed/simple; d=groups.io; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20140610; t=1707927218; v=1; b=MokJ63sa39JsxRioOA+Xe67PlV4GOit6Rq29Po+QFc8vyquoFUw82ZfnuBLg433viB/5M5qy z2YeDsBJgZn7buWY2mVIgpZ7CFkBVgpRiXMgPjcww0fIKUi0kbKr4FGXqizZBcWDxcLPBfG8KSu nHqechVzfjni9bIqMndglj2s= X-Received: by 127.0.0.2 with SMTP id ePAzYY7687511xTdz1jZZnMz; Wed, 14 Feb 2024 08:13:38 -0800 X-Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mx.groups.io with SMTP id smtpd.web10.44889.1707927217755631233 for ; Wed, 14 Feb 2024 08:13:37 -0800 X-Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id E8F7B61B13 for ; Wed, 14 Feb 2024 16:13:36 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7EDBAC433A6 for ; Wed, 14 Feb 2024 16:13:36 +0000 (UTC) X-Received: by mail-oa1-f41.google.com with SMTP id 586e51a60fabf-2185739b64cso3594317fac.0 for ; Wed, 14 Feb 2024 08:13:36 -0800 (PST) X-Gm-Message-State: rd4x7C8yFKLou56dYqgCYgiTx7686176AA= X-Google-Smtp-Source: AGHT+IGRQldxqutKmcxmYPZOjb14JxyUunaxM1mqjcDIeAXfS+tkkBLOU+9N/wghn6YMyweodYDPjH2F9KgLVtfgEho= X-Received: by 2002:a05:6870:f217:b0:21a:1702:ec4c with SMTP id t23-20020a056870f21700b0021a1702ec4cmr3434776oao.20.1707927215763; Wed, 14 Feb 2024 08:13:35 -0800 (PST) MIME-Version: 1.0 References: <20240213191753.1470-1-michael.d.kinney@intel.com> In-Reply-To: <20240213191753.1470-1-michael.d.kinney@intel.com> From: "Ard Biesheuvel" Date: Wed, 14 Feb 2024 17:13:23 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [edk2-devel] [Patch 1/1] BaseTools/Scripts: Update PatchCheck.py Author checks To: devel@edk2.groups.io, michael.d.kinney@intel.com Cc: Rebecca Cran , Liming Gao , Bob Feng , Yuwei Chen Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ardb@kernel.org List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=MokJ63sa; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=kernel.org (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io On Tue, 13 Feb 2024 at 20:18, Michael D Kinney wrote: > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4680 > > * Reject patches that match Author email "devel@edk2.groups.io" > * 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 [bcran] > Cc: Liming Gao [lgao4] > Cc: Bob Feng [BobCF] > Cc: Yuwei Chen [YuweiChen1110] > Signed-off-by: Michael D Kinney Reviewed-by: Ard Biesheuvel > --- > 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) == 'devel@edk2.groups.io': > + 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 (#115464): https://edk2.groups.io/g/devel/message/115464 Mute This Topic: https://groups.io/mt/104339266/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-