News for hackers. Stuff that matters.
Re:Ask HN: How do you deploy your PHP apps to production? by jacquesm on Thursday October 14, 2010 @01:00PM (#1791630)
Same here, not as nicely automated though (still need to actually type 'svn update').

What I really like is the ability to instantly roll back to any version.

Don't forget to block .svn directories in your apache config!

Re:Ask HN: How do you deploy your PHP apps to production? by wvenable on Thursday October 14, 2010 @01:34PM (#1791756)
The other advantage is sometimes, in emergency situations, I've had to edit the production code directly on the server. It's nice to be able to see what's changed, commit if necessary, or rollback to the original production version.
Re:Ask HN: How do you deploy your PHP apps to production? by jumby on Thursday October 14, 2010 @04:02PM (#1792365)
umm, isn't that what svn export is for :)

why stop at .svn, how about .~, .bak, .tmp, .swp !

Re:Ask HN: How do you deploy your PHP apps to production? by wvenable on Thursday October 14, 2010 @05:28PM (#1792700)
The problem with export is that you're deploying every single file. With svn update, you're only deploying the changed files.