e3_build_tools.process

Module for processes.

Attributes

Classes

EnvironmentBuildProcess

Class for building an e3 environment from a specification.

SpecificationGenerationProcess

Class for generating an e3 specification file.

Module Contents

e3_build_tools.process.logger: e3_build_tools.logging.CustomLogger[source]
class e3_build_tools.process.EnvironmentBuildProcess(specification: pathlib.Path, build_dir: pathlib.Path, install_path: pathlib.Path, use_ssh: bool, token: str, verbose: bool, log_file: pathlib.Path, jobs: int)[source]

Class for building an e3 environment from a specification.

log_file[source]
verbose[source]
specification[source]
install_path[source]
registry[source]
builder[source]
setup() None[source]

Do an initial setup necessary in order to build an environment.

fetch() None[source]

Fetch data from remotes sources.

curate() None[source]

Remove installed module versions from build definition.

resolve() None[source]

Resolve dependencies and construct the build order.

build() None[source]

Build and install each module from the definition.

class e3_build_tools.process.SpecificationGenerationProcess(formula: pathlib.Path, build_dir: pathlib.Path, install_path: pathlib.Path, use_ssh: bool, group_id: int, token: str, verbose: bool, log_file: pathlib.Path, branch: str)[source]

Bases: EnvironmentBuildProcess

Class for generating an e3 specification file.

formula[source]
install_path[source]
verbose[source]
log_file[source]
branch[source]
builder[source]
setup() None[source]

Do an initial setup in order to generate a specification file from a formula.

curate() None[source]

Rename ‘latest’ references in definition, and update the version substitutions.

build() None[source]

Build and install each module from the definition.

teardown() None[source]

Delete installed environment.

generate(dry_run: bool = False) None[source]

Generate the specification file.