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

Add a --download-only option to pull #213

Open
samoht opened this issue Oct 20, 2021 · 3 comments
Open

Add a --download-only option to pull #213

samoht opened this issue Oct 20, 2021 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@samoht
Copy link
Collaborator

samoht commented Oct 20, 2021

Similar to opam install --download-only that'd be great to have an option to only populate the (opam) caches.

The use-case is to repopulate caches early, so that opam monorepo pull could be run in a container with network access.

@samoht
Copy link
Collaborator Author

samoht commented Jan 7, 2022

Just a heads-on up on this - we'll release mirage 4.0-beta next week without this feature and 4.0 probably before the end of January. Would be nice if that'd be part of the next release (I'd be happy to have a go at it if nobody else is available nor interested to implement this).

@NathanReb
Copy link
Contributor

Just to clarify, in the original issue message, you meant that this should make it possible to run in a container, without network access right?

We had a recent discussion with @emillon and Raphael Proust about cache mgmt with opam-monorepo for tezos and I think we should think about using the same solutions for mirage if that's possible!

@emillon
Copy link
Collaborator

emillon commented Jan 10, 2022

More precisely what we discussed was a command that reads a lockfile, and has access to the network, such that opam monorepo pull later can work without network access. Would that fit the mirage use case too?

@tmattio tmattio added enhancement New feature or request good first issue Good for newcomers labels Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants