- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Re: Re: Problem with deploy_branch
- Date: Thu, 26 Sep 2013 12:07:15 -0700
On Thursday, September 26, 2013 at 11:58 AM, Jenn Fountain wrote:
It is creating a copy of repository_cache but seems to be keeping older files and causing code conflicts and issues. I am running nginx and php_fpm.
Can you be more specific? Is Chef giving you an error message? What behavior are you expecting, and how is it different from the behavior you're observing?
We removed certain modules in the .gitmodules file but they still existed in the new revisions and existed in cache-copy.
Git submodules are generally a huge headache. As you can see here: https://git.wiki.kernel.org/index.php/GitSubmoduleTutorial (at the bottom) git doesn't automatically remove them, they become untracked files. So you'll need custom code to remove them, probably in one of the deploy resource callbacks. You may be able to accomplish this using `git clean` but that could remove files you want to keep. You probably will need to experiment a bit to find the best approach for your application and team.
Archive powered by MHonArc 2.6.16.