Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mirrors in uberenv cannot be defined with an url (http or oci) #132

Open
adrienbernede opened this issue May 2, 2024 · 3 comments
Open

Comments

@adrienbernede
Copy link
Member

The mirror concept in uberenv is currently bound to mirrors for packages source tarballs.

If an url is passed:

  • if it starts with https: uberenv will not check that the path exists, but uberenv will try to create the mirror and push the tarballs to it.
  • if it starts with oci: uberenv will check make that an absolute path...

Desired behavior:
For now, I don’t need anything specific, but I found it worth noting (documenting ?).
What I miss, essentially, is a way to stop uberenv after the environment was created, but before anything is installed, so that I could configure a binary cache into it on command line.
I may be able to just define my binary cache in the spack.yaml directly.

@white238
Copy link
Member

white238 commented May 2, 2024

We do have an option --setup-only. Does that help?

https://uberenv.readthedocs.io/en/latest/#build-configuration

@adrienbernede
Copy link
Member Author

--setup-only stops before the environment is create. I need to stop after the environment is created, so that I can customize it before installing.

@white238
Copy link
Member

white238 commented May 3, 2024

hmm.. thought it did but honestly was rushed and didn't check. Guess we need a new option...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants