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

Re: Show progress in post-commit hook to user

From: Lars Tiefland <ltiefland_at_gmail.com>
Date: Tue, 11 Aug 2009 08:56:51 +0200

Thanks for the info to all of you.
I just wanted to tell the user the progress of the update of our production
machines from inside the hook on screen. As that does not work, I will try
the solution with a cronjob which runs every minute, or so, and checks what
has to be updated. Most projects can be updated on the fly, because there's
only one server involved. One projects howevever involves four servers, from
which one is very slow. I could just create a small file which the cronjob
can parse and initiate the updates, could I not? That's best way.
At first we had branching enabled, but my boss said: "That's too complex!"
and therefore every commit is mirrored online. That way it's the same, as if
we were still working with Dreamweaver and published the content with
pressing "CTRL+Shift+U".
We are a very small webagency with only 6 employees (boss included) and
therefore do not have a QA department or some such.

2009/8/11 Ryan Schmidt <subversion-2009b_at_ryandesign.com>

> On Aug 10, 2009, at 10:00, Mark Phippard wrote:
> There is no way to do this. The best thing would be to run the hook
>> in the background so that the user does not have to wait. If the user
>> needs to know when the process is done, then send them an email from
>> the hook.
> Or you could use a more-immediate method of informing the committer. For
> example, the hook script could post information to IRC or ICQ or AIM or
> Jabber or Twitter.

Live Long And Prosper,
Lars Tiefland
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-11 08:57:41 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.