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

foodcritic error on cookbook under supermarket.chef.io #6

Closed
siwy202 opened this issue Apr 13, 2015 · 1 comment
Closed

foodcritic error on cookbook under supermarket.chef.io #6

siwy202 opened this issue Apr 13, 2015 · 1 comment

Comments

@siwy202
Copy link

siwy202 commented Apr 13, 2015

Looks like the cookbook located under supermarket.chef.io is missing metadata.rb.

Please see error here: https://supermarket.chef.io/cookbooks/xmledit#foodcritic

@martinb3
Copy link
Contributor

Hello! My understanding is that foodcritic via supermarket is basically unusable at this point. This is because the tarball uploaded as a release is not the same as cloning the source repository and running foodcritic.

You're running into the fact that Supermarket requires metadata.json (and chef server and chef client all use metadata.json), but Foodcritic uses metadata.rb. See these issues for more information:

chef-boneyard/openssl#9
chef-boneyard/stove#69

As you can see in those issues, they are going to disable the metadata.rb check on Supermarket.

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

No branches or pull requests

2 participants