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
Fix deprecation messages for bundle install
flags, the config should be --local as before
#3917
Fix deprecation messages for bundle install
flags, the config should be --local as before
#3917
Conversation
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.
Looks good! Being explicit is a good step forward for now, and makes it easier to change the default in the future.
d6a4a87
to
aac87f3
Compare
aac87f3
to
eff9bba
Compare
eff9bba
to
fed953c
Compare
@deivid-rodriguez I think I addressed everything now, and I added a CHANGELOG entry, should be good to go, except that regeneration of |
FWIW I like |
You can skip the changelog message since I plan to start generating the changelog automatically from merge PR titles and labels in the next version.
I'm also unsure about deprecating the old |
Also, I think we can ignore the annoying txt diff for this PR, and try to get rid of txt files at all as you suggested. |
Should I remove that change then?
Is there some good place to discuss that? I feel this deprecation is going to be rather annoying (and require verbose commands) for very little gains. The only conflict would be if one needs to set a key named
Will you make a PR or is there a plan for that then? 😃 I think this PR should be merged for the next Bundler 2 release, it's quite bad if people configure globally when they do not intend to (can cause confusion, or an impression that the deprecation messages are just broken and due to that might be ignored more). |
It will be overwritten unless the PR title matches the current wording exactly, so yeah I'd rather remove it!
Feel free to open a new ticket, investigate why the new interface was added, and explain why you think the reasons for making it compulsory are wrong.
I like your idea, but it came up literally 1 hour ago, so I'm not sure when I (or anybody) will get to it. Better not to block this PR on that.
Sure, just be patient! :) |
…d be --local as before * See rubygems#3916 * Always show --local or --global for `bundle config set` commands as the default is global which can be not intuitive (rubygems#3916).
fed953c
to
ff64295
Compare
OK, CHANGELOG entry removed. I worked around and now the diff for |
Thanks! |
…ld-wrongly-config-globally Fix deprecation messages for `bundle install` flags, the config should be --local as before (cherry picked from commit dc133dc)
…ld-wrongly-config-globally Fix deprecation messages for `bundle install` flags, the config should be --local as before (cherry picked from commit dc133dc)
…ld-wrongly-config-globally Fix deprecation messages for `bundle install` flags, the config should be --local as before (cherry picked from commit dc133dc)
…ld-wrongly-config-globally Fix deprecation messages for `bundle install` flags, the config should be --local as before (cherry picked from commit dc133dc)
…ld-wrongly-config-globally Fix deprecation messages for `bundle install` flags, the config should be --local as before (cherry picked from commit dc133dc)
…ld-wrongly-config-globally Fix deprecation messages for `bundle install` flags, the config should be --local as before (cherry picked from commit dc133dc)
bundle config
don't have the same effect as the old persisted flags #3916.bundle config set
commands asthe default is global which can be not intuitive (Deprecation messages recommending
bundle config
don't have the same effect as the old persisted flags #3916).Tasks:
I will abide by the code of conduct.