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

path_utilities: Remove Nested package exceptions #430

Merged
merged 3 commits into from
Oct 12, 2023

Conversation

Javagedes
Copy link
Contributor

Removes Nested package exceptions from path_utilities.py in favor of a warning. This is being done as the exception has served its purpose and those willing to update their nested packages have had a year to do so. Any nested packages will now only be a warning logged at logging.DEBUG and issues with converting from an absolute path to an edk2 package path relative path will be accepted.

A new CI Check has been added so that packages managed by that specific repository will still be checked by nested packages, but nested packages outside of the control of that specific repository will not be checked and thus not result in an exception being raised.

closes #200

@Javagedes Javagedes requested a review from makubacki October 9, 2023 18:48
@codecov
Copy link

codecov bot commented Oct 9, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (000f4c8) 81.07% compared to head (cf33e36) 81.03%.

❗ Current head cf33e36 differs from pull request most recent head f604863. Consider uploading reports for the commit f604863 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #430      +/-   ##
==========================================
- Coverage   81.07%   81.03%   -0.04%     
==========================================
  Files          57       57              
  Lines        7285     7270      -15     
==========================================
- Hits         5906     5891      -15     
  Misses       1379     1379              
Files Coverage Δ
edk2toollib/uefi/edk2/path_utilities.py 99.28% <100.00%> (-0.08%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Removes Nested package exceptions from path_utilities.py in favor of a
warning.  This is being done as the exception has served its purpose and
those willing to update their nested packages have had a year to do so.
Any nested packages will now only be a warning logged at logging.DEBUG
and issues with converting from an absolute path to an edk2 package path
relative path will be accepted.

A new CI Check has been added so that packages managed by that specific
repository will still be checked by nested packages, but nested packages
outside of the control of that specific repository will not be checked
and thus not result in an exception being raised.
@Javagedes Javagedes merged commit 98e8c5a into tianocore:master Oct 12, 2023
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.

[Bug]: Remove PYTOOL_TEMPORARILY_IGNORE_NESTED_EDK_PACKAGES
2 participants