miketheman / knife-community

A Knife plugin to assist with deploying completed Chef cookbooks to the Chef Supermarket
http://miketheman.github.io/knife-community/
MIT License
25 stars 3 forks source link

Include default ignore file #4

Closed sethvargo closed 11 years ago

sethvargo commented 11 years ago

There should be a list of files that are ignored by default:

# Put files/directories that should be ignored in this file when uploading
# or sharing to the community site

# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
*/rdoc/

# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# Logs and databases #
######################
*.log
*.sql
*.sqlite

# OS generated files #
######################
.DS_Store
ehthumbs.db
Icon?
Thumbs.db

# SASS #
########
.sass-cache

# Bundler #
###########
.bundle

# POW #
#######
.pow
.powrc
.powenv

# Other Stuff #
###############
.project
.settings

# Editor #
##########
*~
*.sw[a-z]

# Subversion #
##############
.svn
*/.svn

# Git #
#######
.git
*/.git
.gitignore
.gitmodules
.gitconfig
.gitattributes

# Spec #
########
.rspec

# Ruby #
########
.rvmrc
.rbenv-version
Gemfile
Gemfile.lock
Rakefile

# Travis #
##########
.travis.yml

# Cookbook #
############
CONTRIBUTING*
CHANGELOG*
Colanderfile
Berksfile
Berksfile.lock
.colander
tmp
miketheman commented 11 years ago

Can you elaborate on this?

In using Chef::Knife::CookbookSiteShare.new from here, which in turn uses the StreamingUploader, neither of them seem to support a chefignore. This might be a bug upstream.

sethvargo commented 11 years ago

http://tickets.opscode.com/browse/CHEF-3627