Skip to content
Snippets Groups Projects
Commit 78f4ef88 authored by Hans Fangohr's avatar Hans Fangohr
Browse files

Good point raised by Ashwin. Add marker so we don't forget.

parent 531d7fde
No related branches found
No related tags found
1 merge request!35refactor create-directory-structure, and create 'clone_repo' function
Pipeline #370482 failed
...@@ -644,6 +644,8 @@ def prepare_environment(mpsd_release: str, root_dir: Path) -> List[str]: ...@@ -644,6 +644,8 @@ def prepare_environment(mpsd_release: str, root_dir: Path) -> List[str]:
repo_path = release_base_dir / "spack-environments" repo_path = release_base_dir / "spack-environments"
if repo_path.exists(): if repo_path.exists():
logging.debug(f"directory {repo_path} exists already, not touching") logging.debug(f"directory {repo_path} exists already, not touching")
logging.debug(
"XXX TODO: should we run a git pull here to get the latest version? XXX")
else: else:
repo_url = config_vars["spack_environments_repo"] repo_url = config_vars["spack_environments_repo"]
logging.info(f"cloning repository {repo_path} from {repo_url}") logging.info(f"cloning repository {repo_path} from {repo_url}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment