djoos-cookbooks / composer

Repository for composer cookbook
http://community.opscode.com/cookbooks/composer
MIT License
27 stars 38 forks source link

Cache folder problem #36

Closed dkushnikov closed 9 years ago

dkushnikov commented 10 years ago

It's very very very very bad idea to store important files in cache directory. Cache directories can easily be cleaned. Is this any reason why you not store file at "install_dir"?

djoos commented 10 years ago

Hi @dkushnikov,

would you be able to elaborate this issue a bit more? I think you're especially worried about https://github.com/escapestudios-cookbooks/composer/blob/master/recipes/install.rb#L28-L55, is that correct?

Please do send me a PR with an alternative suggestion over - always happy to get it merged in!

Kind regards, David