YellLabs/yellfabric — pull request #30 by nachoalonso (2012-12-13 13:02:49+00:00)
Title: File 'version' is created in the directory that is rsynced to the server

Fixes an issue in yellfabric. 'version' (the file with SCM information) was created in the project folder and then the temp folder was rsynced to the server.

If the deployment uses 'dirty=True' that is not a problem because the temp folder is the project folder, but, for a non-dirty deployment, this means that 'version' doesn't make it to the server and in the version page, the user gets {"Error": "build info not available"}

This has been unnoticed until now because there is another file (ci_props.json) that takes precedence over 'version' and, probably, because most deployments use 'dirty=True' anyway.