News for hackers. Stuff that matters.
Re:Poll: How often do you deploy to production? by bendavis381 on Thursday June 27, 2013 @06:31AM (#5951529)
Have a look at Fabric (http://docs.fabfile.org/en/1.6/)

I wrote a quick fabfile yesterday that automatically commits/merges my local changes, pushes to a private GitHub repo, then SSHs into my production server, pulls down the latest code and restarts the web server. Gives me feedback along the way too.

Re:Poll: How often do you deploy to production? by StavrosK on Thursday June 27, 2013 @06:57AM (#5951618)
No, don't look at fabric! Fabric is good for some stuff, but deployments should be repeatable, automated and idempotent. Look at ansible.cc instead.

Don't use fabric for deployment (even though it's a fantastic tool for many use cases).

Re:Poll: How often do you deploy to production? by mbeattie on Thursday June 27, 2013 @08:45AM (#5951986)
I don't understand... how is that a knock on fabric? I have software built into packages and then config templates and some key/value stuff to substitute in. My fabric scripts log in, install a package, put the generated config files, and then restart the server. I can run this over and over again (repeatable) with one command (automated) and it always ends up at the same current version (idempotent).
Re:Poll: How often do you deploy to production? by StavrosK on Thursday June 27, 2013 @08:52AM (#5952012)
It's not a knock on fabric, the same way using a hammer on screws isn't a knock on hammers. It works sometimes, but you generally want to use the right tool for the job.