I just started to use Fabric to automate my deployments to my staging server. (and when I'm ready, to the production server as well). I have just a few questions for more experienced folks:
Do you clone your whole git repository onto your server, or upload a new archive each time you release? Seems like it would be easier to switch versions of the running code, by switching tags, but it would use up a lot more disk space. I'd also have to have an ssh key to the central git repository on the web server. Sounds like that could be a security issue. At the moment I'm programming Fabric to upload an archive, untar it, and symlink it to a fixed directory where the web server expects it to be.
Do you log out all users or just reset the sessions (manage.py reset sessions)?
thanks!