tianocore / edk2-basetools

EDK II BaseTools Python tools as a PIP module
Other
25 stars 35 forks source link

BaseTools: Python VfrCompiler Tool Implementation #108

Closed yytshirley closed 1 year ago

yytshirley commented 1 year ago

BaseTools: Python VfrCompiler implementation

This python VfrCompiler tool is the python implementation of the edk2 VfrCompiler tool which C implementation locates at https://github.com/tianocore/edk2/tree/master/BaseTools/Source/C/VfrCompile.

This python implementation not only covers the same usage as the C version VfrCompiler, but also extends several new features.

Edk2 Basetools issue link: https://github.com/tianocore/edk2-basetools/issues/68

Cc: Rebecca Cran rebecca@bsdio.com Cc: Liming Gao gaoliming@byosoft.com.cn Cc: Bob Feng bob.c.feng@intel.com Signed-off-by: Yuting Yang yuting2.yang@intel.com Signed-off-by: Yuwei Chen yuwei.chen@intel.com

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage has no change and project coverage change: -1.05% :warning:

Comparison is base (8d9b898) 4.27% compared to head (696b221) 3.23%.

:exclamation: Current head 696b221 differs from pull request most recent head 091d77d. Consider uploading reports for the commit 091d77d to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #108 +/- ## ========================================== - Coverage 4.27% 3.23% -1.05% ========================================== Files 182 194 +12 Lines 81605 107838 +26233 ========================================== Hits 3490 3490 - Misses 78115 104348 +26233 ``` | [Flag](https://app.codecov.io/gh/tianocore/edk2-basetools/pull/108/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore) | Coverage Δ | | |---|---|---| | [Linux](https://app.codecov.io/gh/tianocore/edk2-basetools/pull/108/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore) | `3.23% <0.00%> (-1.05%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files Changed](https://app.codecov.io/gh/tianocore/edk2-basetools/pull/108?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore) | Coverage Δ | | |---|---|---| | [edk2basetools/VfrCompiler/IfrCommon.py](https://app.codecov.io/gh/tianocore/edk2-basetools/pull/108?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore#diff-ZWRrMmJhc2V0b29scy9WZnJDb21waWxlci9JZnJDb21tb24ucHk=) | `0.00% <0.00%> (ø)` | | | [edk2basetools/VfrCompiler/IfrCompiler.py](https://app.codecov.io/gh/tianocore/edk2-basetools/pull/108?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore#diff-ZWRrMmJhc2V0b29scy9WZnJDb21waWxlci9JZnJDb21waWxlci5weQ==) | `0.00% <0.00%> (ø)` | | | [edk2basetools/VfrCompiler/IfrCtypes.py](https://app.codecov.io/gh/tianocore/edk2-basetools/pull/108?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore#diff-ZWRrMmJhc2V0b29scy9WZnJDb21waWxlci9JZnJDdHlwZXMucHk=) | `0.00% <0.00%> (ø)` | | | [edk2basetools/VfrCompiler/IfrError.py](https://app.codecov.io/gh/tianocore/edk2-basetools/pull/108?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore#diff-ZWRrMmJhc2V0b29scy9WZnJDb21waWxlci9JZnJFcnJvci5weQ==) | `0.00% <0.00%> (ø)` | | | [edk2basetools/VfrCompiler/IfrFormPkg.py](https://app.codecov.io/gh/tianocore/edk2-basetools/pull/108?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore#diff-ZWRrMmJhc2V0b29scy9WZnJDb21waWxlci9JZnJGb3JtUGtnLnB5) | `0.00% <0.00%> (ø)` | | | [edk2basetools/VfrCompiler/IfrPreProcess.py](https://app.codecov.io/gh/tianocore/edk2-basetools/pull/108?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore#diff-ZWRrMmJhc2V0b29scy9WZnJDb21waWxlci9JZnJQcmVQcm9jZXNzLnB5) | `0.00% <0.00%> (ø)` | | | [edk2basetools/VfrCompiler/IfrTree.py](https://app.codecov.io/gh/tianocore/edk2-basetools/pull/108?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore#diff-ZWRrMmJhc2V0b29scy9WZnJDb21waWxlci9JZnJUcmVlLnB5) | `0.00% <0.00%> (ø)` | | | [edk2basetools/VfrCompiler/IfrUtility.py](https://app.codecov.io/gh/tianocore/edk2-basetools/pull/108?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore#diff-ZWRrMmJhc2V0b29scy9WZnJDb21waWxlci9JZnJVdGlsaXR5LnB5) | `0.00% <0.00%> (ø)` | | | [edk2basetools/VfrCompiler/VfrSyntaxLexer.py](https://app.codecov.io/gh/tianocore/edk2-basetools/pull/108?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore#diff-ZWRrMmJhc2V0b29scy9WZnJDb21waWxlci9WZnJTeW50YXhMZXhlci5weQ==) | `0.00% <ø> (ø)` | | | [edk2basetools/VfrCompiler/VfrSyntaxParser.py](https://app.codecov.io/gh/tianocore/edk2-basetools/pull/108?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore#diff-ZWRrMmJhc2V0b29scy9WZnJDb21waWxlci9WZnJTeW50YXhQYXJzZXIucHk=) | `0.00% <ø> (ø)` | | | ... and [2 more](https://app.codecov.io/gh/tianocore/edk2-basetools/pull/108?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.