-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Only update the specified shards #58
Comments
In Bundler, if the version of a gem is changed in the Gemfile, a In other words, Don't you think we should mimic that behaviour? I guess it would require saving the version specification in the shard.lock too, so |
I don't recall such a behaviour in Bundler. I always have to run I think I prefer to have |
Yeah, |
I think the rationale is: if you change the version in the Gemfile, the version is now unlocked. That's why @waterlink: I cannot make my mind with this yet, because I like the @ysbaddaden statement, of making |
@waj Wouldn't the behavior of |
@waterlink: if the change in the Gemfile requires to update other gems stated in the Gemfile too, then you're forced to update. It seems Bundler will unlock the gem changed in the Gemfile and other dependencies of that gem (not in the Gemfile) and will try to update with that. If the dependencies cannot be satisfied, then you're forced to update. |
Yeah, that is exactly how it works |
👍 when shards count > 10, it very slow when need to update 1 shard often. |
It would be nice to be able to only update a specified set of shards, instead of everything. The update command would also do its best to only update nested dependencies to satisfy new requirements, keeping as much as possible the locked versions.
The text was updated successfully, but these errors were encountered: