]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/Scripts/PatchCheck: Address false error conditions
authorMichael D Kinney <michael.d.kinney@intel.com>
Thu, 9 Jan 2020 22:31:28 +0000 (14:31 -0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 13 Jan 2020 18:18:03 +0000 (18:18 +0000)
commitb112ec225f1c5f85b7b7db4110b4d4f1a0626d6b
tree004b8f429ffa03725a818b5746878eb604571d4e
parent4465cd124fbcf5490faad6a1a834299b30b5d009
BaseTools/Scripts/PatchCheck: Address false error conditions

https://bugzilla.tianocore.org/show_bug.cgi?id=2406

* Always print subject line after the git commit id to make
  it easier to know the context of warnings or errors.
* Allow UTF-8 characters in subject line
* Error if subject line length > 75 without CVE-xxx-xxxxx present
* Error if subject line length > 92 with CVE-xxxx-xxxxx present
* If body line length is > 75, then print warning instead of error.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
BaseTools/Scripts/PatchCheck.py