Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edk2Path: Add an env variable to allow nested packages #199

Merged
merged 4 commits into from Nov 9, 2022

Conversation

makubacki
Copy link
Member

@makubacki makubacki commented Nov 9, 2022

Adds an environment variable called PYTOOL_TEMPORARILY_IGNORE_NESTED_EDK_PACKAGES
that a platform can set to "true" to allow nested packages.

Nested packages are a violation of EDK II package rules and should
be fixed. This is provided for backward compatibility and temporary
use until the variable is no longer needed.

Signed-off-by: Michael Kubacki michael.kubacki@microsoft.com

Adds an environment variable called `STUART_IGNORE_EDK_NESTED_PACKAGES`
that a platform can set to `"true"` to allow nested packages.

Nested packages are a violation of EDK II package rules and should
be fixed. This is provided for backward compatibility and temporary
use until the variable is no longer needed.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
@codecov
Copy link

codecov bot commented Nov 9, 2022

Codecov Report

Base: 78.40% // Head: 78.42% // Increases project coverage by +0.02% 🎉

Coverage data is based on head (6201278) compared to base (69910d4).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #199      +/-   ##
==========================================
+ Coverage   78.40%   78.42%   +0.02%     
==========================================
  Files          91       91              
  Lines       10114    10125      +11     
==========================================
+ Hits         7930     7941      +11     
  Misses       2184     2184              
Flag Coverage Δ
Linux 75.76% <100.00%> (+0.02%) ⬆️
Windows_NT 78.39% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
edk2toollib/uefi/edk2/path_utilities.py 99.31% <100.00%> (+0.03%) ⬆️
edk2toollib/uefi/edk2/test_path_utilities.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants