edk2/BaseTools/Scripts
Oliver Smith-Denny 6093cfcdd1 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 <osde@microsoft.com>
2025-09-05 06:32:06 +00:00
..
PackageDocumentTools BaseTools: Fix various typos 2019-07-08 08:59:29 +08:00
BinToPcd.py BaseTools/Scripts/BinToPcd.py: Update regex strings to use raw strings. 2024-08-01 11:04:09 +00:00
ConvertFceToStructurePcd.py BaseTools: fix spelling error 2024-12-11 09:01:03 +08:00
ConvertMasmToNasm.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
ConvertUni.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
DetectNotUsedItem.py BaseTools:Add DetectNotUsedItem.py to Edk2\BaseTools\Scripts 2019-06-25 09:23:48 +08:00
efi_debugging.py BaseTools: Scripts: efi_debugging.py: search for EFI_SYSTEM_TABLE_POINTER 2025-04-29 02:33:45 +00:00
efi_gdb.py BaseTools: Scripts/efi_gdb.py: Add gdb EFI commands and pretty Print 2022-04-09 05:13:56 +00:00
efi_lldb.py BaseTools: Scripts/efi_lldb.py: Add lldb EFI commands and pretty Print 2022-04-09 05:13:56 +00:00
FormatDosFiles.py BaseTools:"--exclude" don't apply if parameter ends with separator 2019-09-27 08:17:55 +08:00
GccBase.lds BaseTools/Scripts/GccBase.lds: Use separate R-W and RW- ELF segments 2025-02-02 09:20:53 +00:00
GetMaintainer.py BaseTools/GetMaintainer.py: Add GitHub username argument 2024-07-25 02:28:49 +00:00
GetUtcDateTime.py BaseTools/GetUtcDateTime.py: Python 3.12 support 2024-04-26 03:01:55 +00:00
MemoryProfileSymbolGen.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
PatchCheck.py BaseTools: PatchCheck.py: Allow MultiPkg Commits For Subject Check 2025-09-05 06:32:06 +00:00
RunMakefile.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
RunMakefileSample.mak BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
SetupGit.py BaseTools/SetupGit.py: Fix invalid choice 'edk2-test' 2024-10-09 10:53:19 +00:00
SetVisualStudio.bat BaseTools: Remove VS2008-VS2013 remnants 2023-05-05 11:41:35 +00:00
ShowEnvironment.bat BaseTools: Remove VS2008-VS2013 remnants 2023-05-05 11:41:35 +00:00
SmiHandlerProfileSymbolGen.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
UpdateBuildVersions.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00