Skip to content
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

Enable pending cops – prepare for v3.0.0 release. #1245

Closed
wants to merge 1 commit into from

Conversation

bquorning
Copy link
Collaborator

As mentioned in the last release PR, it’s over a year since we released v2.0.0. Let’s enable all the pending cops and make a v3.0.0 release soon 🎉


Before submitting the PR make sure the following are checked:

  • Feature branch is up-to-date with master (if not - rebase it).
  • Squashed related commits together.
  • Added tests.
  • Updated documentation.
  • Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
  • The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

This commit can only be released in a major version bump.
@bquorning bquorning requested review from pirj and Darhazer March 4, 2022 15:15
Copy link
Member

@pirj pirj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@Darhazer
Copy link
Member

I wouldn't rush to release 3.0 just to enable the cops.

At the very least, it would be a good time to bump the minimum rubocop requirement to whatever is the latest at the time of the release, so we can safely use whatever the internal modules it provides.

@pirj
Copy link
Member

pirj commented Mar 24, 2022

It makes sense to synchronize the 3.0 release with the RuboCop 2.0 release.

I was believing that RuboCop planned major releases every year. For the reason of not forcing users with more than a year worth of new pending cops being enabled at once. It's been 1.5 years since 1.0 was released.

It's unlikely, though, that RuboCop 2.0 will happen anytime soon.

My reasoning for doing a major version update is not to utilize the new rubocop APIs that we did with a minor 2.5.0 update, or dropping unsupported Ruby versions that we did with a minor 2.3.0 update. But just to split the burden of dealing with the many new cops.

I clearly understand that there's .rubocop_todo.yml, but from what I've seen in my practice, those "temporarily" disabled cops remain there forever (see e.g. ours).

If this sentiment doesn't resonate with your vision @Darhazer @bquorning, I have no hard feelings to closing this and postponing the release to follow the parent RuboCop release cycle.

@bquorning bquorning marked this pull request as draft June 25, 2022 13:21
@bquorning bquorning closed this Apr 5, 2023
@bquorning bquorning deleted the prepare-major-version-bump branch April 5, 2023 17:56
@bquorning bquorning added this to the 3.0 milestone Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants