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

Add ChefStyle/UsePlatformHelpers cop #286

Merged
merged 1 commit into from
Sep 10, 2019
Merged

Add ChefStyle/UsePlatformHelpers cop #286

merged 1 commit into from
Sep 10, 2019

Conversation

tas50
Copy link
Contributor

@tas50 tas50 commented Sep 9, 2019

Move people towards our platform? and platform_family? helpers to simplify the platform checks in their recipes / resources.

Signed-off-by: Tim Smith tsmith@chef.io

@tas50 tas50 requested review from a team as code owners September 9, 2019 20:43
Move people towards our platform? and platform_family? helpers to simplify the platform checks in their recipes / resources.

Signed-off-by: Tim Smith <tsmith@chef.io>
#
# @example
#
# # bad
Copy link

Choose a reason for hiding this comment

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

uhmmmm. Is this a WARN or and ERROR? Meaning if this is a recommendation to make the code better or a thing the user /must/ change because it is a /bad/ usage?

It is a bit confusing to call a few cops bad/good. Maybe we can chat about it over zoom/standup. (thought just keep merging things since that has been the pattern we follow)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

At the moment everything is a warning. We're not failing builds with any new cops until April 2020 when some of these will move to failures and some will remain at the refactor level.

@tas50 tas50 added the Expeditor: Bump Version Minor Used by github.minor_bump_labels to bump the Minor version number. label Sep 10, 2019
@tas50 tas50 merged commit 369f489 into master Sep 10, 2019
@chef-ci chef-ci deleted the platform_helpers branch September 10, 2019 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Expeditor: Bump Version Minor Used by github.minor_bump_labels to bump the Minor version number.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants