Skip to content

Conversation

@pirj
Copy link
Member

@pirj pirj commented Aug 20, 2020

Better viewed as https://github.com/rubocop-hq/rubocop-rspec/blob/add-v2-migration-docs/docs/modules/ROOT/pages/upgrade_to_version_2.adoc

TODO


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).

@pirj pirj self-assigned this Aug 20, 2020
@pirj pirj requested review from Darhazer and bquorning August 20, 2020 21:10
@pirj pirj added this to the 2.0 milestone Aug 20, 2020
@pirj
Copy link
Member Author

pirj commented Aug 20, 2020

@sl4vr appreciate if you could take a look.

@pirj pirj force-pushed the add-v2-migration-docs branch from ba1735a to 625a296 Compare August 20, 2020 23:29
Copy link
Member

@Darhazer Darhazer left a comment

Choose a reason for hiding this comment

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

Great job! 🙇

@pirj
Copy link
Member Author

pirj commented Aug 22, 2020

Extended the guide in regards to this change rubocop/rubocop#8490

@pirj pirj force-pushed the add-v2-migration-docs branch from edef2bb to d4a8412 Compare August 23, 2020 10:06
@pirj pirj mentioned this pull request Oct 22, 2020
4 tasks
@pirj pirj changed the base branch from master to release-2.0 October 22, 2020 17:31
@pirj pirj force-pushed the add-v2-migration-docs branch from d4a8412 to 494ee04 Compare October 22, 2020 19:31
@pirj
Copy link
Member Author

pirj commented Oct 22, 2020

@bquorning Green.
Besides all, this includes information on how to migrate to 2.0 given we decide to merge #956 in its current form.

Copy link
Collaborator

@bquorning bquorning left a comment

Choose a reason for hiding this comment

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

Sorry about the many nitpick comments here.

I believe this PR should be the last one to be merged into release-2.0, as it may still change depending on the other PRs getting merged.

@pirj pirj force-pushed the add-v2-migration-docs branch from a07ba4c to beb0438 Compare October 22, 2020 20:19
@bquorning bquorning mentioned this pull request Oct 22, 2020
@pirj
Copy link
Member Author

pirj commented Oct 22, 2020

Thanks for proofreading, @bquorning !

I believe this PR should be the last one to be merged into release-2.0

Agree 👍

@pirj pirj force-pushed the add-v2-migration-docs branch 2 times, most recently from d155443 to 01e4e2b Compare October 22, 2020 21:35
@pirj
Copy link
Member Author

pirj commented Oct 22, 2020

All review notes applied ✔️

@pirj pirj requested a review from bquorning October 22, 2020 21:36
@pirj pirj mentioned this pull request Oct 27, 2020
9 tasks
@pirj pirj force-pushed the add-v2-migration-docs branch 2 times, most recently from cc41715 to 03e1a97 Compare November 3, 2020 20:03
@pirj
Copy link
Member Author

pirj commented Nov 3, 2020

@bquorning Ready for the review. There are changes since the last review, the list is in TODO section of the ticket description.
I've rearranged all the commits.

Copy link
Contributor

@sl4vr sl4vr left a comment

Choose a reason for hiding this comment

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

Just found a few inaccuracies.

@pirj
Copy link
Member Author

pirj commented Nov 4, 2020

Eagle eye, @sl4vr, thanks a lot!

@pirj pirj force-pushed the add-v2-migration-docs branch from 17126e2 to 5e3d7de Compare November 4, 2020 21:11
- cop departments are nested for cops with a department that doesn’t match the extension name (`Capybara`, `FactoryBot`, `Rails`)
- `AllCops/RSpec/Patterns`/`AllCops/FactoryBot/Patterns` options are removed
- Calling `super` from `on_new_investigation` defined in a cop is mandatory now
- Avoid explicit definition of `cop` as `described_class.new`
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don’t understand this sentence. Could you explain a bit more, please?

@pirj pirj force-pushed the add-v2-migration-docs branch from c0bd4cb to 5a9714e Compare November 5, 2020 07:07
@pirj
Copy link
Member Author

pirj commented Nov 5, 2020

Suggestions applied, clarifications made, fixups pushed, later squashed. Thanks for the review, @bquorning !

@pirj
Copy link
Member Author

pirj commented Nov 5, 2020

edge-rubocop is back to green! 💚

@pirj pirj merged commit 38be753 into release-2.0 Nov 5, 2020
@pirj pirj deleted the add-v2-migration-docs branch November 5, 2020 09:08
@sl4vr sl4vr mentioned this pull request Nov 5, 2020
16 tasks
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.

5 participants