Skip to content

Commit

Permalink
edk2_initialize: add edk2_initialize
Browse files Browse the repository at this point in the history
Add the edk2_initialize invocable, which replaces edk2_setup and
edk2_ci_setup. stuart_init is able to initialize both repositories and
submodules.

Integration instructions:
* import from edk2toolext.invocables.edk2_initialize rather than
  .edk2_setup or .edk2_ci_setup inside the configuration file
* import Submodule and/or Repository instead of RequiredSubmodule
* Where the parent class is specified, switch from SetupSettingsManager
  or CiSetupSettingsManager to InitializeSettingsManager
* Use get_required_repositories and get_required_submodules instead of
  GetDependencies and GetRequiredSubmodules respectively
* Use Submodule instead of RequiredSubmodule and Repository instead of
  a dictionary.
  • Loading branch information
Javagedes committed May 19, 2023
1 parent 39305e5 commit ec7fb6f
Show file tree
Hide file tree
Showing 8 changed files with 356 additions and 461 deletions.
126 changes: 0 additions & 126 deletions edk2toolext/invocables/edk2_ci_setup.py

This file was deleted.

Loading

0 comments on commit ec7fb6f

Please sign in to comment.