mirror of https://github.com/acidanthera/audk.git
3019f1bbab
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2986 Improve the performance of EccCheck by using a temp file instead of stdout to capture the results of the git diff commands. If a large patch set is passed into EccCheck, using stdout could be slow and also added the large diff content to the build log that is redundant information. A second performance improvement is to filter the modified directories to remove duplicate directories. Complex libraries and modules that have subdirectories with sources would be scanned twice if there were source changes in both the main directory and subdirectories. Filter out the subdirectories from the modified directory list when this case is detected. 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: Sean Brogan <sean.brogan@microsoft.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> |
||
---|---|---|
.. | ||
EccCheck.py | ||
EccCheck_plug_in.yaml | ||
Readme.md |
Readme.md
EFI Coding style Check Plugin
This CiBuildPlugin finds the Ecc issues of newly added code in pull request.
Configuration
The plugin can be configured to ignore certain files and issues.
"EccCheck": { "ExceptionList": [], "IgnoreFiles": [] }, """
OPTIONAL List of file to ignore.