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

Replacements should allow for version mismatch #3309

Closed
vvuk opened this issue Nov 21, 2016 · 1 comment
Closed

Replacements should allow for version mismatch #3309

vvuk opened this issue Nov 21, 2016 · 1 comment

Comments

@vvuk
Copy link

vvuk commented Nov 21, 2016

Right now, if I'm developing updates to package A that package B depends on, if I use the replacements mechanism, I cannot bump the version number in package A -- even if the work I'm doing is intertwined, and I'm not going to bump the version that B requires until A is ready. For example, I may have introduced a new api in A that I want to use in B -- but B's usage is uncovering issues in A, that need patching (after the original PR would have already been accepted in A).

Replacements would be far more useful if I could specify "foo:0.1" = { git="..." } and have this mean "assume whatever is in the git dir is 0.1, even if it indicates otherwise in a version. A warning can get printed (e.g. "Warning: replacement create 'foo' has version 0.2, but it's replacing version 0.1") so that when this isn't desirable it's easily caught.

@alexcrichton
Copy link
Member

I believe this is a dupe of #2649, but thanks for the report!

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