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

More expressive version constraints for pins #1351

Open
kit-ty-kate opened this issue Apr 21, 2014 · 2 comments
Open

More expressive version constraints for pins #1351

kit-ty-kate opened this issue Apr 21, 2014 · 2 comments

Comments

@kit-ty-kate
Copy link
Member

I would be awesome to have something like this:
opam pin apackage "< 9999"

This would allow in this case, to have upgrades for this package but without reaching the dev version.

@AltGr AltGr added this to the outgoing milestone Jun 26, 2014
@kit-ty-kate
Copy link
Member Author

Ping

@AltGr
Copy link
Member

AltGr commented Sep 2, 2014

Oh, I remember quite clearly writing an answer to this a while ago, must have skipped the "submit" button... Sorry.

That would be possible, but the pinning handling relies in quite a few places on a fixed version: the other versions of the same package are filtered out and hidden. That's actually the common ground between version and source pinning ; so adding this feature would be non-trivial, this would probably need a new mechanism.

At a much lower level, you could pin a virtual package and add this constraint to it ; not very convenient I admit.

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