From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.120]) by mx.groups.io with SMTP id smtpd.web10.12671.1577978765231988977 for ; Thu, 02 Jan 2020 07:26:05 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dgr8swcv; spf=pass (domain: redhat.com, ip: 205.139.110.120, mailfrom: philmd@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1577978764; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=e1xFabfyB0y1I6dwm3sBC9cFLPKmmHHCmgLflSh1pXI=; b=dgr8swcvMxIuERvZEqrRr5rIbjIZoJVY6apwxrLE3bKp7X0+7KjGr4fHqidAz2PPAip0iA QmmVvfHNRPps902jkxaVw4sxS8y2U0n0GsntB+0ANMdz+7ijzN+IVdXa/hBez1rpC2yWZT AEMzKTIaja2on3WE+J8Iuc82yBSYMiM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-156-mxMg355oMa-8oOVP42NCSw-1; Thu, 02 Jan 2020 10:26:00 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A6F9210054D9; Thu, 2 Jan 2020 15:25:59 +0000 (UTC) Received: from x1w.redhat.com (ovpn-116-83.ams2.redhat.com [10.36.116.83]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 941C463BCA; Thu, 2 Jan 2020 15:25:55 +0000 (UTC) From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= To: devel@edk2.groups.io Cc: Laszlo Ersek , Michael D Kinney , Philippe Mathieu-Daude , Liming Gao , Jordan Justen Subject: [PATCH 0/4] BaseTools/PatchCheck: Check committer/author email addresses Date: Thu, 2 Jan 2020 16:25:49 +0100 Message-Id: <20200102152553.11976-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-MC-Unique: mxMg355oMa-8oOVP42NCSw-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Last month I cleaned the git-history incorrect email addresses: https://edk2.groups.io/g/devel/message/51834 but today I noticed more incorrect addresses got committed (see caa917491a4..33a3293651). To avoid having the same cleanup in the future, fix the problem once for all by having PatchCheck doing this automatically (on merge). Since we already have code to check email address in PatchCheck, factor the code out to reuse it, and add checks for committer/author addresses. Cc: Liming Gao Cc: Jordan Justen Philippe Mathieu-Daude (4): BaseTools/PatchCheck.py: Extract email check code to EmailAddressCheck BaseTools/PatchCheck.py: Let EmailAddressCheck describe email checked BaseTools/PatchCheck.py: Check the patch author email address BaseTools/PatchCheck.py: Check the committer email address BaseTools/Scripts/PatchCheck.py | 99 +++++++++++++++++++++++---------- 1 file changed, 69 insertions(+), 30 deletions(-) --=20 2.21.0