-
Notifications
You must be signed in to change notification settings - Fork 84
Not respecting chefignore? #151
Comments
Okay. I traced this down. We actually are respecting chefignores. The problem is that File.fnmatch?("README.md", "README.md") #=> true
File.fnmatch?("README.md", "/Users/sethvargo/cookbooks/foo/README.md") #=> false So we'll need to generate the relative pathnames and then apply |
Just updated to 2.0.14:
And it looks like chefignore is being ignored again:
Uploading with chef works fine:
Uploading with berks/ridley ingores chefignore:
|
What about on the master branch? |
Not using berkshelf 3.0 for uploading cookbooks, needs a bunch of work to get it rolled everywhere. Stable berkshelf 2.0 is still doing a bunch of work here |
@sethvargo I'll consider switching to Berkshelf 3.0 in this case if it's not a quick fix. (looks like ridley (1.5.3) should have the fix, not sure why it's not working) |
berkshelf/berkshelf#587 indicates chefignore isn't being respected, and we call straight to ridley for upload.
The text was updated successfully, but these errors were encountered: