-
Notifications
You must be signed in to change notification settings - Fork 153
Conversation
It no longer makes sense now that solo uses local mode and search works with that. Update the test helper to no longer use FC003 since we tested with that in several places Signed-off-by: Tim Smith <[email protected]>
Signed-off-by: Tim Smith <[email protected]>
@@ -16,7 +16,7 @@ def assertions | |||
WARNINGS = { | |||
"FC001" => "Use strings in preference to symbols to access node attributes", | |||
"FC002" => "Avoid string interpolation where not required", | |||
"FC003" => "Check whether you are running with chef server before using server-specific features", | |||
# FC003 was yanked and is considered reserved, do not reuse it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yanked might not make sense to international audience. maybe "FC003 has been deprecated and is considered reserved.."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just copy pasta from the last FC rule we deprecated. The actual docs for FC word is differently. This is just a code comment to prevent devs from reusing the number
end | ||
end | ||
end | ||
# FC003 was yanked and the number should not be reused |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FC003 was a check for Chef server specific features that
did not interoperate with the implementation of chef-solo.
It has been deprecated, and should not be reused.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Making it a comment makes it think I meant this as a giant header. doh.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above these aren't actually seen by end users so the wording isn't the important part. That's for the PR against foodcritic-site
It no longer makes sense now that solo uses local mode and search works with that.
Signed-off-by: Tim Smith [email protected]