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

archive-mirrors in the repo file takes over archive-mirrors from the opam config #4411

Closed
kit-ty-kate opened this issue Oct 31, 2020 · 2 comments · Fixed by #4830
Closed

Comments

@kit-ty-kate
Copy link
Member

ocaml/opam-repository#17355 (comment)

@AltGr
Copy link
Member

AltGr commented Nov 2, 2020

Indeed, ignoring customisation matters, it made sense at the time to try the more specific cache (just this repo) before the more general one. Changing the order wouldn't be difficult, but we need to make sure there won't be other downsides.

A reasonable possibility would be to actually have two fields in opamroot/config: e.g. global-cache and fallback-cache, or something like that.

@AltGr
Copy link
Member

AltGr commented Nov 2, 2020

The change would otherwise be as trivial as changing the order on this line:

repo_cache @ global_cache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Opam 2.2.0
  
Done
Development

Successfully merging a pull request may close this issue.

3 participants