]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/PatchCheck.py: Check the patch author email address
authorPhilippe Mathieu-Daude <philmd@redhat.com>
Thu, 9 Jan 2020 10:55:45 +0000 (18:55 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 10 Jan 2020 04:06:42 +0000 (04:06 +0000)
commitc0328cf3803b215a62f05633024f9dd6e5b805a0
tree95e3ae4b55f8b17fe63ddc52885640dfa9d8654c
parent8120390aabe6bc6a6ecb5c94a2865a9b55095f9b
BaseTools/PatchCheck.py: Check the patch author email address

To avoid patches committed with incorrect email address,
use the EmailAddressCheck class on the author email too.

Example:

  $ python BaseTools/Scripts/PatchCheck.py 1a04951309f
  Checking git commit: 1a04951309f
  The 'Author' email address is not valid:
  * The email address cannot contain a space: /o=Intel/ou=External \
    (FYDIBOHF25SPDLT)/cn=Recipients/cn=fe425ca7e5f4401abed22b904fe5d964

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
BaseTools/Scripts/PatchCheck.py