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

Switch to voxpupuli-rubocop #458

Merged
merged 1 commit into from
Jun 28, 2024
Merged

Switch to voxpupuli-rubocop #458

merged 1 commit into from
Jun 28, 2024

Conversation

bastelfreak
Copy link
Collaborator

In the past puppetlabs_spec_helper pulls in an undefined version of RuboCop. RuboCop is known for introducing breaking changes in minor releases. voxupuli-rubocop provides a curated version of rubocop + dependencies + a RuboCop config based on community best practices. In addition dependabot is used to inform people about new voxpupuli-rubocop updates. This will ensure that puppetlabs_spec_helper won't randomly pull in new RuboCop versions that break CI again.

Summary

Provide a detailed description of all the changes present in this pull request.

Additional Context

Add any additional context about the problem here.

  • Root cause and the steps to reproduce. (If applicable)
  • Thought process behind the implementation.

Related Issues (if any)

Mention any related issues or pull requests.

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified.

@bastelfreak bastelfreak requested a review from a team as a code owner June 9, 2024 12:49
# Include: **/*.gemspec
Gemspec/RequireMFA:
# Configuration parameters: Width, AllowedPatterns.
Layout/IndentationWidth:
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I can work on cleaning this up after the PR got accepted. I didn't want to invest too much time right now.

@bastelfreak
Copy link
Collaborator Author

the rubocop rake task should also run in CI, but I'm not sure how Puppet would like to have their CI setup. Example setup how we do it at Vox Pupuli: https://github.com/voxpupuli/voxpupuli-release/blob/master/.github/workflows/test.yml

Copy link
Member

@david22swan david22swan left a comment

Choose a reason for hiding this comment

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

LGTM

If you could resolve the conflict I would be happy to go ahead and merge.

In the past puppetlabs_spec_helper pulls in an undefined version of
RuboCop. RuboCop is known for introducing breaking changes in minor
releases. voxupuli-rubocop provides a curated version of rubocop +
dependencies + a RuboCop config based on community best practices. In
addition dependabot is used to inform people about new voxpupuli-rubocop
updates. This will ensure that puppetlabs_spec_helper won't randomly
pull in new RuboCop versions that break CI again.
@bastelfreak
Copy link
Collaborator Author

@david22swan conflict resolved

@david22swan david22swan merged commit 58aa94b into puppetlabs:main Jun 28, 2024
7 of 8 checks passed
@bastelfreak bastelfreak deleted the vr branch June 28, 2024 12:32
@pmcmaw pmcmaw added feature and removed maintenance labels Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants