ezmobius/chef-deploy

Changing the repo in the deploy block doesn't get reflected in deployment

contentfree opened this issue · 0 comments

The simplest example is changing branches (with SVN). The URL of the repo changes but since the directory already exists on the server it just updates the cached-copy. Not sure if this is SVN-related only.

The basic fix would be to compare the cached-copy repo to the repository in the configuration. If they don't match, delete the cached copy and export.

Wanted to get it noted here so that it doesn't get lost (since I can't fix it right now)