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

improve verbosity flag override #938

Merged
merged 2 commits into from
Feb 22, 2025

Conversation

Javagedes
Copy link
Contributor

@Javagedes Javagedes commented Feb 20, 2025

Improves the verbosity command line argument for stuart commands in the following ways:

  1. Moves when the flag is registered, so that the flag can be seen with the --help flag, even if a configuration file is not used.
  2. Passes the verbosity flag to the edk2 build command.

Additionally, as a part of (2), platforms can now also control verbosity of EDKII Build in their platform configuration files via the EDK2_BUILD_VERBOSE env variable.

Resolves #935

Improves the verbosity command line argument for stuart commands in
the following ways:

1. Moves when the flag is registered, so that the flag can be seen with
   the --help flag, even if a configuration file is not used.
2. Passes the verbosity flag to the edk2 build command.

Additionally, as a part of (2), platforms can now set the --verbose flag
in their platform configuration files via the EDK2_BUILD_VERBOSE env
variable.
@Javagedes Javagedes requested a review from makubacki February 20, 2025 22:24
Copy link

codecov bot commented Feb 20, 2025

Codecov Report

Attention: Patch coverage is 87.50000% with 1 line in your changes missing coverage. Please review.

Project coverage is 79.49%. Comparing base (bf643b0) to head (3803063).
Report is 130 commits behind head on master.

Files with missing lines Patch % Lines
edk2toolext/environment/uefi_build.py 66.66% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #938      +/-   ##
==========================================
+ Coverage   78.75%   79.49%   +0.74%     
==========================================
  Files          49       41       -8     
  Lines        4909     5063     +154     
==========================================
+ Hits         3866     4025     +159     
+ Misses       1043     1038       -5     
Files with missing lines Coverage Δ
edk2toolext/edk2_invocable.py 76.06% <100.00%> (+0.65%) ⬆️
edk2toolext/environment/uefi_build.py 63.89% <66.66%> (-0.08%) ⬇️

... and 47 files with indirect coverage changes

@Javagedes Javagedes merged commit 25eb311 into tianocore:master Feb 22, 2025
25 checks passed
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.

[Feature]: Add edk build verbose option
2 participants