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

Re: Use SVN to Publish to FTP?

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-06-26 18:03:04 CEST

On 6/26/07, Larry Martell <larry.martell@gmail.com> wrote:
> On 6/26/07, Joshua Brickner <joshua@rocketjones.com> wrote:
> > On Jun 26, 2007, at 7:49 AM, Larry Martell wrote:
> >
> > > On 6/26/07, Joshua Brickner <joshua@rocketjones.com> wrote:
> > >>
> > >> Greetings All,
> > >>
> > >> Is it possible to run SVN on a server inside my companies LAN and
> > >> have it
> > >> nightly publish any changes to the repository to a FTP server?
> > >
> > > Yes.
> > >
> > >> What would it take to make this happen?
> > >
> > > I would write a perl script and run it from cron.
>
> > Do you have any suggestions on further steps? I program in PHP
> > mostly. How would I gather a list of files from SVN to upload?
>
> Use svn log.

Or, in Subversion 1.4+, svn diff --summarize

> > Can SVN automatically keep track of what versions are on the FTP site?
>
> Yes, if those files are under subversions control.

At this point, you're better off (IMO) making the remote server a
working copy and running svn up to pull updates from your Subversion
server, instead of pushing with FTP.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 26 18:02:55 2007

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.