-
-
Notifications
You must be signed in to change notification settings - Fork 16
[IMPORTANT ANNOUNCEMENT] Transfer rubocop-rails gem to RuboCop Team #31
Comments
I'm not sure how much benefit that gives, vs breaking everyone's ability to install historical bundles that have included the gem under its old name. 😕 As for the new name: I suggest we consider |
@matthewd The version scheme of the new gem is obviously going to be different, so yanking all those releases would be best. I realize this is unfortunate, but I don't really think it's going to be particularly painful.
It'd be better to adopt some more meaningful naming scheme for such gems - e.g. |
@matthewd, Thanks for your proposal!! Currently, I'm going to name the gem I'd say |
Migraion version v1.5.0 has been released. |
Have yanked old versions except for v1.5.0. https://rubygems.org/gems/rubocop-rails/versions |
@toshimaru Thank you! @koic I guess now you can start with the extraction process. |
@toshimaru I confirmed that. Thank you for processing it! @bbatsov Sure! I will go ahead with extracting Rails department from RuboCop Core. |
@toshimaru yanking old gems breaks
@bbatsov since we still have |
@veelenga I was actually planning for the initial release to 0.9 (or lower) and eventually yank 1.5 as well. Otherwise the version schema would get pretty confusing (you get one gem with one version and another gem with a different version). It's a pity we won't be able to have |
@veelenga It was tough decision for me. The gem functionality is going to be totally changed and it's going to be a big surprise for @bbatsov I'd be nice if we use |
Not to muddy the waters, but I can't see a reasonable rationale for yanking old versions of a library which work and are not a security concern. If the direction is to rewrite the library to behave differently, why name it the same? It's not the same, right? If the concern is that developers won't know there's a completely new version of a new library that behaves entirely differently, wouldn't it instead be better to release a new version of this library with a deprecation message? That message could contain a link to details about the new library, the reason for the change, the benefits, and maybe even upgrade guide, eventually? Which, I guess this was the intended direction with the 1.5 release... ? Not that I think it can be fixed now, but yanking the old versions forces all projects to immediately update (because new project devs can't This seems like an explicit attempt to circumvent semantic versioning and I'm not seeing any good rationale or benefit to be had in exchange for that. |
@toshimaru I'm currently in the process of extracting RuboCop Rails from RuboCop Core. I have a question. When can rubocop-hq/rubocop-rails use rubygems.org/gems/rubocop-rails? That means the timing when the content of rubocop-rails gem changes. |
The last release(v1.5.0) with deprecation message has been release on July and I've yanked the older gems(refs. #31 (comment)), so I'd say it's nice timing to use rubocop-rails gem for rubocop-hq/rubocop-rails. When you release the brand-new gem, Bumping major version would be good ideas, so the next version will be v2.0.0. |
@toshimaru I see. Thanks for your kindness. |
`Rails/HelperInstanceVariable` cop added by #29 isn't backported to RuboCop core. 2.0 has been proposed as the release version of RuboCop Rails, it did so. toshimaru/rubocop-rails#31 (comment) Cops importing from the RuboCop core has lower than 1.0 so I think it works.
`Rails/HelperInstanceVariable` cop added by #29 isn't backported to RuboCop core. 2.0 has been proposed as the release version of RuboCop Rails, it did so. toshimaru/rubocop-rails#31 (comment) Cops importing from the RuboCop core has lower than 1.0 so I think it works. And this commit updates `rake yard_for_generate_documentation` task to add metadata and adds document regenerated by `rake yard_for_generate_documentation`.
@toshimaru RuboCop Rails 2.0.0 has been released. Thank you again for your kindness. |
@koic Great job! 🎉 Since 2.0 has been released, I'm going to archive this repo and make it read-only. Any issue or concern? |
Thanks. rubocop-rails 2.0.0 and 1.5.0(.rc) are different gems. By that, the following issue is opened. If possible, yanking 1.5.0 (and 1.5.0.rc) may reduce user confusion in the future. However, I'm worried about not knowing whether almost all rubocop-rails 1.5.0 users has migrated to rubocop-rails_config. |
True.
Much time has passed after the v1.5.0 release, so I think yanking gem is not a bad decision. (As far as I know. 🤔) Any opinion about this? |
I agree that archiving this repo and yanking the older releases is the best course of action. |
@toshimaru I removed your account from rubocop-rails gem owners. Let's keep hacking rubocop-rails_config. Thank you! |
Thank you, all. let me close this. P.S. |
As I and RuboCop team( @bbatsov, @koic ) discuss in rubocop/rubocop#5976, I decided to give up
rubocop-rails
gem to RuboCop team.rubocop-rails
gem.post_install_message
.💭 Others
The text was updated successfully, but these errors were encountered: