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

opam show could support --repos #4851

Open
zapashcanon opened this issue Sep 30, 2021 · 2 comments
Open

opam show could support --repos #4851

zapashcanon opened this issue Sep 30, 2021 · 2 comments

Comments

@zapashcanon
Copy link
Contributor

zapashcanon commented Sep 30, 2021

In case you have two packages with the same name/version in two repositories, it would be great to be able to choose which one you want using --repos, as it's possible for e.g. opam list.

Actually, we need this in software heritage and for now we have to use a hack based on opam internals, which will not work anymore with 2.1 so having --repos available would be much cleaner ! :)

@dra27
Copy link
Member

dra27 commented Oct 8, 2021

Cross-referencing #4555 - when we add it to one, it's worth considering all the places where --repositories makes sense!

@zapashcanon
Copy link
Contributor Author

I'm not sure --repositories in #4555 and --repos here and in opam list have the same meaning.

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

No branches or pull requests

3 participants