Koodimonni / Composer-Dropin-Installer

Use composer for installing dropin dependencies
Do What The F*ck You Want To Public License
45 stars 12 forks source link

Filter ignored files #5

Open pablo-sg-pacheco opened 8 years ago

pablo-sg-pacheco commented 8 years ago

Is it possible to filter ignored files ?

I've seen that you made this list of ignored files: ".ds_store",".git",".gitignore","composer.json","composer.lock","readme.md","readme.txt","license","phpunit.xml"

But i really wanted to get .gitignore from one repository. It would be possible?

Or to specify that from one repository it's ok to get one of these files

pablo-sg-pacheco commented 8 years ago

I've found out what I want is possible:

"dropin-paths": {
      "/": ["package:proj/projname","package:proj/projname:.gitignore"]
}

Don't need to worry :)

pablo-sg-pacheco commented 8 years ago

Actually if I do this it doesn't work so well. gitignore is copied to where i want but all the other files aren't.

onnimonni commented 8 years ago

Atm I really don't have time to develop features, but I will gladly accept pull request. This is really simple plugin Maybe you could add a parameter to extra section which could be used to white label or unignore certain files?