audk/.pytool/Plugin/LicenseCheck
Michael D Kinney 99f84ff473 .pytools/Plugin/LicenseCheck: Use temp directory for git diff output
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3746

Use --output option in git diff command to remove code diffs
from build log on stdout when LicenseCheck plugin is run.
Instead, create a temp directory for the diff output file and
remove the temp directory after the diff output is processed.

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael Kubacki <michael.kubacki@microsoft.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Acked-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Sean Brogan <sean.brogan@microsoft.com>
2021-11-29 07:12:18 +00:00
..
LicenseCheck.py .pytools/Plugin/LicenseCheck: Use temp directory for git diff output 2021-11-29 07:12:18 +00:00
LicenseCheck_plug_in.yaml .pytool/Plugin: Add a plugin LicenseCheck 2020-07-31 02:49:51 +00:00
Readme.md .pytool/Plugin: Add a plugin LicenseCheck 2020-07-31 02:49:51 +00:00

Readme.md

License Check Plugin

This CiBuildPlugin scans all new added files in a package to make sure code is contributed under BSD-2-Clause-Patent.

Configuration

The plugin can be configured to ignore certain files.

"LicenseCheck": {
    "IgnoreFiles": []
}

IgnoreFiles

OPTIONAL List of file to ignore.