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
Mark deprecation to ubygems.rb
for RubyGems 4
#2269
Conversation
Where’s the RubyGems issue where we decided to deprecate this? |
@segiddins I don't know. PS. I already removed its file from ruby core at Ruby 2.5. |
But it’s installed when I |
@segiddins Please give a reasonable reason to me to keep its file in the future. I already decided to remove it in RubyGems 4. |
I don’t think that’s fair — it’s for the RubyGems team to collectively make decisions, not just you or me. As to my aversion to removing this file? I run |
with Ruby 1.8? I wonder why you add |
I think your opinion is only your experience. It's not reasonable. |
It’s not reasonable to want a discussion, rather than just making changes, saying “a decision has been made”? |
@segiddins I'm waiting "your reasonable reason for this removable change" yet. After Ruby 1.9, rubygems is automatically activated by the prelude of Ruby. You should not add |
My problem isn't the change per-se, it's the assertion of this has been decided when no discussion has taken place.
a) I run 1.8 occasionally |
The current master branch was not supported Ruby 1.8. It was not related this.
Why you add |
Aliases
It is related. I have scripts that are meant to work on all versions of ruby, and this feels like a breaking change for no good reason |
It's your personal problem. |
ubygems.rb
for RubyGems 4
@segiddins is there any reasons your scripts can't be updated to use @hsbt I'm in favor of deprecating this, but i'd appreciate it if you would consider re-adding it to Ruby until RubyGems removes it. This was a feature for at least 12 years(!), and removing it abruptly like you did in Ruby 2.5 seems risky. We want to provide time for people to adjust their scripts. |
lib/ubygems.rb
Outdated
@@ -7,5 +7,8 @@ | |||
# See LICENSE.txt for permissions. | |||
#++ | |||
|
|||
# TODO: Remove this file at RubyGems 4.0 | |||
# Based by https://bugs.ruby-lang.org/issues/14322#note-4 | |||
warn "`ubygems.rb' is deprecated, It will be removed on or after 2018-12-01. remove `-rubygems' from your command-line" |
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.
@hsbt what do you think of this message?:
warn "`ubygems.rb' is deprecated, and will be removed on or after 2018-12-01. Remove `-rubygems' from your command-line, or use `-r rubygems' instead"
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.
👍
Early deprecation notices in advance are good, IMO. It gives people more time to transition (with a transition period |
@hsbt are you going to change the warning? you've got a +1 from me on the deprecation either way, but i don't want to merge it before it's ready if you're changing it. |
@bundlerbot r+ |
📌 Commit 5f5a0be has been approved by |
Mark deprecation to `ubygems.rb` for RubyGems 4 # Description: I'm going to mark deprecate status to obsoleted methods for RubyGems 4 ______________ # Tasks: - [ ] Describe the problem / feature - [ ] Write tests - [ ] Write code to solve the problem - [ ] Get code review from coworkers / friends I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).
☀️ Test successful - status-travis |
Mark deprecation to `ubygems.rb` for RubyGems 4 # Description: I'm going to mark deprecate status to obsoleted methods for RubyGems 4 ______________ # Tasks: - [ ] Describe the problem / feature - [ ] Write tests - [ ] Write code to solve the problem - [ ] Get code review from coworkers / friends I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).
Description:
I'm going to mark deprecate status to obsoleted methods for RubyGems 4
Tasks:
I will abide by the code of conduct.