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

Re: Linux post commit script help

From: joncarl <jon_at_fmfever.com>
Date: Mon, 26 May 2008 12:56:30 -0700 (PDT)

Hi, Thanks for the replies.

"Jon probably wants to _update_ a working copy as soon as a new commit
enters"

That's exactly what I want to do. Database migrations aren't an issue at
this stage. I've just read the post-commit section of the book
(http://svnbook.red-bean.com/en/1.4/svn.ref.reposhooks.post-commit.html) but
it doesn't go into any detail of how to construct such a script.

Any pointers?

Regards,
Jon

paul r-2 wrote:
>
> "Rudy Godoy Guillén" <rudygodoyg_at_gmail.com> writes:
>
>> I'm afraid that what you need isn't a post-commit but a script which
>> syncs the webserver with the current
>> revision. Syncing in a postcommit might lead to issues and could be error
>> prone.
>> This will depende, of course, of your development setup.
>>
>
> Still, Jon probably wants to _update_ a working copy as soon as a new
> commit enters, and post-commit hook is the way to go. But Rudy point
> is probably that you might want to do some more interventions
> (database migrations etc) before propagating changes to your running
> instance.
> You have to read to svnbook at redbean. It contains all you need for
> such a common hook.
>
> --
> Paul
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
>

-- 
View this message in context: http://www.nabble.com/Linux-post-commit-script-help-tp17474092p17478224.html
Sent from the Subversion Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-26 21:56:52 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.