-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Deprecate --install flag to bundle remove and trigger install by default
#4891
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
Conversation
6f2666a to
29365c5
Compare
deivid-rodriguez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job! My only concern here, is that to be nice citizens we should deprecate the --install flag instead of abruptly removing it.
|
@deivid-rodriguez I agree with you, then we should:
What do you think? |
|
I'd go with
And in the deprecation warning tell the user to not use it, since it's the default behaviour of
Yes, we can remove it in bundler 3. |
2485947 to
050b27e
Compare
deivid-rodriguez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple of minor comments, but other than that looks good!
|
@deivid-rodriguez, do you think it makes sense to add a pending test for bundler 3 like |
deivid-rodriguez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One final nitpick 😝
Sure, yeah! |
deivid-rodriguez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
--install flag to bundle remove and trigger install by default
|
@deivid-rodriguez Do you need me to squash the commits or can you do it on merge? |
|
Actually, if you can do that it'd be awesome! I suspect our backport scripts require explicit merge commits, so we have "squash and merge" disabled. |
99ad588 to
9c452d9
Compare
9c452d9 to
2b17544
Compare
|
Thanks! |
|
@deivid-rodriguez thanks to you. I learn a lot about how the test suite works inside bundler. |
Deprecate `--install` flag to `bundle remove` and trigger install by default (cherry picked from commit a5f5d32)
Closes #4889
What was the end-user or developer problem that led to this PR?
bundle removedoes not update lockfile.What is your fix for the problem, implemented in this PR?
installcommand by default onbundle remove--installfrom the cli