From cd01c0e765da41e9ff8cc71d968f266236f94636 Mon Sep 17 00:00:00 2001 From: Hans Fangohr <hans.fangohr@mpsd.mpg.de> Date: Mon, 12 Jun 2023 12:39:12 +0200 Subject: [PATCH] reinstallation functionality missing - let's hide it from the users --- mpsd-software.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/mpsd-software.py b/mpsd-software.py index 5247512..cd55d54 100755 --- a/mpsd-software.py +++ b/mpsd-software.py @@ -818,7 +818,7 @@ def install_environment( mpsd_release: str, toolchains: List[str], root_dir: Path, - force_reinstall: bool = False, + # force_reinstall: bool = False, enable_build_cache: bool = False, ) -> None: """ @@ -836,9 +836,6 @@ def install_environment( root_dir : pathlib.Path A Path object representing the path to the directory where the release and toolchains will be installed. - force_reinstall : bool, optional - A boolean indicating whether to force a reinstallation - even if the release and toolchains already exist. Defaults to False. enable_build_cache : bool, optional A boolean indicating whether to build the build cache when installing toolchains. Defaults to False. @@ -1048,7 +1045,7 @@ def main(): ("available", "Show toolchains available"), ("prepare", "Prepare the environment for installation on the disk"), ("install", "Install a software environment"), - ("reinstall", "Reinstall a software environment"), + # ("reinstall", "Reinstall a software environment"), ("remove", "Remove a software environment or toolchains from an environment"), ("start-new", "Start a new software environment version"), ("status", "Show the status of the software environment"), -- GitLab