diff options
author | Bundlerbot <bot@bundler.io> | 2019-02-22 07:37:41 +0000 |
---|---|---|
committer | Bundlerbot <bot@bundler.io> | 2019-02-22 07:37:41 +0000 |
commit | 552d0952828ecd3f1e50b3345f5293096139d8ae (patch) | |
tree | b874f7de6616779776bb4703976095a403a6b4b0 /spec/support/artifice/vcr_cassettes/realworld/index.rubygems.org/info/json/GET/request | |
parent | 6ce532267500a13cb855021fad93920e9f940baa (diff) | |
parent | fda9db6b3cd5af72f4d11927116ca5f027c16eb4 (diff) | |
download | bundler-552d0952828ecd3f1e50b3345f5293096139d8ae.tar.gz |
Merge #6965
6965: Turn on deprecations by default r=indirect a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was we've had deprecations in place for a long time, but we've never displayed them to users by default.
### What was your diagnosis of the problem?
My diagnosis was that the current strategy doesn't work because:
* Printing deprecations as an optin feature almost never get enabled, so most users don't know about the stuff we'll be deprecating in the future.
* Printing deprecations in "deprecation releases" doesn't work well either, because it's unclear how long the deprecation release should last and thus how long we need to hold the final release (that will inhibit installation of the deprecation release).
### What is your fix for the problem, implemented in this PR?
My fix is to remove the concept of deprecation releases, and to add a feature flag for printing major deprecations that it's enabled by default.
As a extra related change, I also reworded the deprecation messages, because I find the current message "[DEPRECATED FOR 2.0] <Message about the deprecation>" a bit confusing because it's unclear what the version printed is referring to (deprecation horizon? current running version?), so I changed it to just "[DEPRECATED] <Message about the deprecation>".
### Why did you choose this fix out of the possible options?
I chose this fix because it (once released) finally makes it so that users will know about our deprecations.
Co-authored-by: David RodrÃguez <deivid.rodriguez@riseup.net>
Diffstat (limited to 'spec/support/artifice/vcr_cassettes/realworld/index.rubygems.org/info/json/GET/request')
0 files changed, 0 insertions, 0 deletions