diff --git a/docs/user/integrate/reporting.md b/docs/user/integrate/reporting.md index c1c589c8c..bdd545f98 100644 --- a/docs/user/integrate/reporting.md +++ b/docs/user/integrate/reporting.md @@ -1,6 +1,6 @@ -# Reporting on a EDKII workspace +# Reporting on a EDK2 workspace -Stuart provides both a library implementation and an invocable for parsing an EDKII workspace, creating a database, and +Stuart provides both a library implementation and an invocable for parsing an EDK2 workspace, creating a database, and running generic reports against the database. Reporting is supported both on regular packages (built with `stuart_ci_build`) and platform packages (built with `stuart_build`). diff --git a/docs/user/using/reporting.md b/docs/user/using/reporting.md index e60c3703c..6d378b68d 100644 --- a/docs/user/using/reporting.md +++ b/docs/user/using/reporting.md @@ -1,8 +1,8 @@ # Reporting -Top take your EDKII workspace from freshly cloned, to parsed and ready to be reported on, you only need to execute three commands. -If you've properly [installed](/using/install) edk2-pytool-extensions, then these commands will be available to execute as seen -below: +Top take your EDK2 workspace from freshly cloned, to parsed and ready to be reported on, you only need to execute three +commands. If you've properly [installed](/using/install) edk2-pytool-extensions, then these commands will be available +to execute as seen below: ```cmd stuart_setup (or stuart_ci_setup) -c path/to/SettingsFile.py diff --git a/edk2toolext/invocables/edk2_parse.py b/edk2toolext/invocables/edk2_parse.py index f93a4422a..3db7ba9d8 100644 --- a/edk2toolext/invocables/edk2_parse.py +++ b/edk2toolext/invocables/edk2_parse.py @@ -109,6 +109,8 @@ def Go(self): pathobj = Edk2Path(self.GetWorkspaceRoot(), self.GetPackagesPath()) env = shell_environment.GetBuildVars() + logging.info(f"Generating database at {db_path}") + if self.clear: db_path.unlink(missing_ok=True)