or download this
The ignores_type is a new feature that allows one to create SCM-specif
+ic ignore files. These are the mappings:
...
ignores_type => 'git' # creates .gitignore
ignores_type => 'hg' # creates .hgignore
ignores_type => 'manifest' # creates MANIFEST.SKIP