Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>NO! NO! NO!</p> <p>The last thing you should be doing is executing an <code>ssh</code> on a post commit!</p> <p>I'm not sure what your intentions are, and I assume them to be honorable. However, remember that Subversion won't return control to the client until the post-commit hook finishes executing. If your <code>ssh</code> command takes just ten seconds to execute, then the user is seeing that <code>svn commit</code> hanging there for ten seconds before they can do anything.</p> <p>In those ten seconds, the user will develop a seething hatred of you, the company, and Subversion. They will become embittered shells of their former selves, and it will be <em>your fault</em>! Do you want that guilt hanging over your head? Didn't think so.</p> <p>The best solution is to use a continuous build server like <a href="http://jenkins-ci.org" rel="nofollow">Jenkins</a> and have that do your SSH command. It can take the results of the command, and if it fails, emails the results to the developer and their team. Jenkins is extremely easy to setup and use, and doing this through Jenkins (i.e., the correct way) shouldn't take more than a few hours (at most) to do.</p> <p>Thus, the users commits won't be hanging there, yet they'll still get the information they need. And, since you have it tied to Jenkins, you'll probably find all sorts of plugins to Jenkins that do all sorts of marvelous things you didn't think possible. You'll be a hero and revered as a god. Isn't that better than seething hatred?</p> <p>The choice is yours.</p> <p>(By the way, you can get the commit message by doing a <code>svn propget --rev-prop -r $REV svn:log</code>)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload