Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: d2501910424569ce8925eae4bdff46ff7d8ad3de
      
https://github.com/tianocore/edk2/commit/d2501910424569ce8925eae4bdff46ff7d8ad3de
  Author: Oliver Smith-Denny <o...@microsoft.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M BaseTools/Scripts/PatchCheck.py

  Log Message:
  -----------
  BaseTools/PatchCheck.py: Check CI Options Before Parsing

PatchCheck.py currently parses the CI options as the last
step it does before reporting results. This means that the
other checking logic cannot use any of the CI options that
are passed in.

This updates the order of operations to process CI options
before running other checks so that they can be used in
performing checks.

Signed-off-by: Oliver Smith-Denny <o...@microsoft.com>


  Commit: 6093cfcdd19b242f16c473d0146906984c92d0a5
      
https://github.com/tianocore/edk2/commit/6093cfcdd19b242f16c473d0146906984c92d0a5
  Author: Oliver Smith-Denny <o...@microsoft.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M BaseTools/Scripts/PatchCheck.py

  Log Message:
  -----------
  BaseTools: PatchCheck.py: Allow MultiPkg Commits For Subject Check

Subject Check was added to PatchCheck.py to enforce that if a package
was touched in a commit that it be referenced in the subject line.

However, this is impractical for multipackage commits with many
packages, e.g. when stack cookies were added, every package was
touched, but in a rote way, and it is not reasonable to put every
package in a subject line.

This updates PatchCheck.py to check if ignore_multi_package is set
and if so only require that package names be included in the subject
if there are fewer than 3 packages touched. Otherwise, PatchCheck will
require the message to start with `Global:` to indicate it touches
more than 3 packages.

Signed-off-by: Oliver Smith-Denny <o...@microsoft.com>


Compare: https://github.com/tianocore/edk2/compare/65485e195f37...6093cfcdd19b

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to