[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How to push updates to a development server?

From: Nico Kadel-Garcia <nkadel_at_gmail.com>
Date: Sun, 17 May 2009 23:12:23 -0400

Allen Fowler wrote:
>>> Am i the only one using SVN for web site / web app development?
>>>
>> Most assuredly not. :)
>>
>>
>
> That's good to hear. :)
>
>
>
>> What problems have you encountered with your rsynced export strategy?
>>
>>
>
> The problems are:
>
> 1) It requires rsync. More specifically, it precludes the use of FTP / SFTP.
>
> 2) Windows. While it may be possible to use rsync under Cygwin, etc, I'd rather a more native solution.
>
>
Well, you *could* switch to using git, which has a much better "push to
an active repository that actually has working files in it" model, one
which also supports the synchronization of tags among multiple, slightly
distinct repositories.

But rsync can be set up in a reasonably secure fashion with SSH keys and
a 'validate-rsync' script, along with careful thought about file system
ownership. And depending on your website requiresments, it might be
feasible to make the website itself a Subversion repository, with
'write' access on a secrured channel or even a distinct URL. I've
actually done that, and used to use 'Amaya' for WebDAV access to
manipulate it. I had to be careful with PHP scripts to access them over
a WebDAV enabled channel that didn't try to interpret those as CGI
scripts for me, but it worked reasonably well.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2296160

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-18 07:37:58 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.