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

Support cops on policyfiles in addition to cookbooks. #857

Open
7 tasks
Swathisivakumar opened this issue May 24, 2021 · 1 comment
Open
7 tasks

Support cops on policyfiles in addition to cookbooks. #857

Swathisivakumar opened this issue May 24, 2021 · 1 comment
Labels
New Cop Proposal A proposal for a new Cookstyle cop Status: Untriaged An issue that has yet to be triaged.

Comments

@Swathisivakumar
Copy link

What category of cop is this?:

Please try to select as few as possible.

  • Chef/Deprecations - A cop that alerts on a deprecation in the Chef Infra Client
  • Chef/Correctness - A cop that alerts when incorrect coding behavior is being used
  • Chef/Sharing - A cop that alerts to missing functionality necessary for sharing cookbooks with others
  • Chef/Style - A cop that alerts to a style best practice
  • Chef/Modernize - A cop that alerts when a cookbook can be simplified or modernized with new functionality
  • Chef/Effortless - A cop that alerts on code that must be resolved to move to the Effortless pattern
  • Chef/RedundantCode - A cop that detects redundant code regardless of Chef Infra release

Describe the new cop:

This is a request for cookstyle to also support cops on policyfiles in addition to cookbooks.. ex: native cookbooks

What it would trigger on:

cookbook 'poise-hoist', '~> 1.2'
            or
run_list ['poise-hoist']
@Swathisivakumar Swathisivakumar added New Cop Proposal A proposal for a new Cookstyle cop Status: Untriaged An issue that has yet to be triaged. labels May 24, 2021
@Swathisivakumar
Copy link
Author

#351 - we want this to be applied to all deprecated and moved-into-client cookbooks, but checking in the policyfiles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Cop Proposal A proposal for a new Cookstyle cop Status: Untriaged An issue that has yet to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant