Application Cookbook and Deploys


Has anyone deployed code with the application cookbook on Ubuntu 14.04?

It works for Ubuntu 12.04. But on 14.04 I am seeing the following:

  • a deploy runs successfully.

  • change branches.

  • deploy again. an error.

==> default: ---- Begin output of git fetch origin && git fetch origin --tags
git reset --hard 456cd991ec3d018cd40d73730109a2202fefe7cd ----

  • try the commands in the error message, “git fetch origin” etc etc manually.
    they fail.

  • observe that .git config within the cached-copy dir and the deployed dir
    fetch = +refs/heads/master:refs/remotes/origin/master
    rather than
    fetch = +refs/heads/:refs/remotes/origin/

What’s happening is that git fetch does not fetch all branches and all objects.
Switching branches fails because all the objects have not been fetched, as a
wildcard * would have done.

The change could be anywhere in the stack - for example there is a new version
of git with Ubuntu 14.04.

Any ideas?