Re: In need of CVS/SVN checkout script for Production servers
| From: | David Otton | Date: | Fri, 30 Apr 2010 10:56:20 +0000 |
| Subject: | Re: In need of CVS/SVN checkout script for Production servers | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-304770@lists.php.net to get a copy of this message | ||
On 29 April 2010 20:32, Daevid Vincent <daevid@daevid.com> wrote:
> I'm looking for a script (bash or php) that I would run on my production
> web server that would do this or close to it:
>
> 1. do a CVS/SVN checkout to a new timestamped directory
> 2. change the symlink from the old directory
> 3. change permissions to www-data:www-data on new directory
> 4. and possibly tarball up the old directory.
Phing has SVN tools out-of-the-box.
http://phing.info/
http://morethanseven.net/2008/01/30/simple-deployment-with-svn-and-phing.html