Merged as dae8c29dab546fad2801e70967855a9f6ae14ae0...6d571c0070161b1b96049410f8584c0955d73536

--
Rebecca Cran

On 2/18/2024 1:59 PM, Michael D Kinney via groups.io wrote:
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4679
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4680
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4693
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4694

Fix a collection of PatchCheck issues and add a new PatchCheck
featue to check for a commit that modifies files in multiple
packages with option to disable the multiple package check as
a command line option or a commit message tag.

* 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.
* Update logic in CommitMessageCheck class to return errors
   detected in commit message signatures instead of silently
   passing the check.
* Genenerate an error if no Cc tags are present to make sure
   all patches Cc the required maintainers/reviewers.

Cc: Rebecca Cran <rebe...@bsdio.com>
Cc: Liming Gao <gaolim...@byosoft.com.cn>
Cc: Bob Feng <bob.c.f...@intel.com>
Cc: Yuwei Chen <yuwei.c...@intel.com>
Cc: Michael Kubacki <mikub...@linux.microsoft.com>
Cc: Ard Biesheuvel <ardb+tianoc...@kernel.org>
Cc: Leif Lindholm <quic_llind...@quicinc.com>
Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com>

Michael D Kinney (4):
   BaseTools/Scripts/PatchCheck: Update Author checks
   BaseTools/Scripts/PatchCheck: Return CommitMessageCheck errors
   BaseTools/Scripts/PatchCheck: Error if no Cc tags are present
   BaseTools/Scripts/PatchCheck: Error if commit modifies multiple
     packages

  BaseTools/Scripts/PatchCheck.py | 91 +++++++++++++++++++++++++++++++--
  1 file changed, 86 insertions(+), 5 deletions(-)




-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#116058): https://edk2.groups.io/g/devel/message/116058
Mute This Topic: https://groups.io/mt/104434581/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to