Track install state by installation id
This commit is contained in:
@@ -189,7 +189,17 @@ def resolve_runtime_config(
|
||||
) -> RuntimeConfig:
|
||||
repo = root or repo_root()
|
||||
local_config, loaded_path, loaded = load_local_config(config_path_value, root=repo)
|
||||
profile = _select_profile(local_config, profile_id)
|
||||
explicit_runtime_paths = bool(
|
||||
instances_root_value
|
||||
or state_dir_value
|
||||
or _env_instances_roots(repo)
|
||||
or _env_state_root(repo)
|
||||
)
|
||||
profile = (
|
||||
_select_profile(local_config, profile_id)
|
||||
if profile_id or not explicit_runtime_paths
|
||||
else None
|
||||
)
|
||||
|
||||
resolved_instances = (
|
||||
_resolve_path_list(instances_root_value, repo)
|
||||
|
||||
Reference in New Issue
Block a user