You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Lars Tiefland <lt...@gmail.com> on 2009/08/10 14:58:00 UTC

Show progress in post-commit hook to user

Hi all,
I've got a problem. At our company we use SVN to publish our Websites /
Online-Shops etc. to our production servers. This takes some time
(sometimes).
How can I show the progress to the developwer who is committing something.
Background: Some projects need to be published to several servers. I want to
show on which server the update is in progress at the very moment. For this
I have tried to echo the command to stdout / stderr. But that does NOT work.
What am I doing wrong?
Thanks for your help.

-- 
Live Long And Prosper,

Lars Tiefland

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Show progress in post-commit hook to user

Posted by Lars Tiefland <lt...@gmail.com>.
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 <su...@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

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Show progress in post-commit hook to user

Posted by Ryan Schmidt <su...@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.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Show progress in post-commit hook to user

Posted by Mark Phippard <ma...@gmail.com>.
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.



On Mon, Aug 10, 2009 at 10:58 AM, Lars Tiefland<lt...@gmail.com> wrote:
> Hi all,
> I've got a problem. At our company we use SVN to publish our Websites /
> Online-Shops etc. to our production servers. This takes some time
> (sometimes).
> How can I show the progress to the developwer who is committing something.
> Background: Some projects need to be published to several servers. I want to
> show on which server the update is in progress at the very moment. For this
> I have tried to echo the command to stdout / stderr. But that does NOT work.
> What am I doing wrong?
> Thanks for your help.
> --
> Live Long And Prosper,
>
> Lars Tiefland
>



-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].