diff options
author | Michael D Kinney <michael.d.kinney@intel.com> | 2020-01-09 14:31:28 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-01-13 18:18:03 +0000 |
commit | b112ec225f1c5f85b7b7db4110b4d4f1a0626d6b (patch) | |
tree | 004b8f429ffa03725a818b5746878eb604571d4e /BaseTools/Source/Python/Common/TargetTxtClassObject.py | |
parent | 4465cd124fbcf5490faad6a1a834299b30b5d009 (diff) | |
download | edk2-b112ec225f1c5f85b7b7db4110b4d4f1a0626d6b.tar.gz edk2-b112ec225f1c5f85b7b7db4110b4d4f1a0626d6b.tar.bz2 edk2-b112ec225f1c5f85b7b7db4110b4d4f1a0626d6b.zip |
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>
Diffstat (limited to 'BaseTools/Source/Python/Common/TargetTxtClassObject.py')
0 files changed, 0 insertions, 0 deletions