The primary goal of this PR is to allow users to have Uberenv only setup Spack and create the environment (--setup-and-env-only).
Then users can customize the environment and resume the build process (--skip-setup-and-env).
This was necessary to add an OCI mirror to the environment. A bug in Spack is preventing me from adding an OCI mirror (using variables to set the authentication) to a Spack.yaml file and then use that file to create a Spack environment. (Issue not opened in Spack yet...).
Other changes
Support oci as a prefix for remote mirrors (in addition to http.
Improved message describing options to provide an environment.
Removed some trailing white spaces (sorry for the meaningless diffs).
Summary
The primary goal of this PR is to allow users to have Uberenv only setup Spack and create the environment (
--setup-and-env-only
). Then users can customize the environment and resume the build process (--skip-setup-and-env
).This was necessary to add an OCI mirror to the environment. A bug in Spack is preventing me from adding an OCI mirror (using variables to set the authentication) to a Spack.yaml file and then use that file to create a Spack environment. (Issue not opened in Spack yet...).
Other changes
oci
as a prefix for remote mirrors (in addition tohttp
.