Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
project-gen project should add .gitkeep files to empty directories #1717
referenced this issue
Jul 12, 2014
Hmm good point. I suppose that puts the responsibility on the server or the deployment process. The server can't always auto-create these directories, since it might not have write permission to the app's directory. That leaves the deployment process. If you are deploying via git/ssh, then you either have to add the
I'm split here. I often run into the problem that e.g. Capistrano doesn't attempt to create those folders, but needs them to set the correct symlinks.
As @ujifgc says, padrino doesn't need those folders and there are multiple parties that can be expected to set them up and make sure to keep them around (the framework generator, the deployment system, the user). As Padrino expects the users to be competent with their stacks, I think better documentation is necessary here. (BTW, the doc team starts on monday ;))
Also, I have to be a bit nitpicky: this is a git problem, not an SCM problem. Most SCMs track empty folders.
Yeah, there is no room for doubt about necessity of