tag:help.lighthouseapp.com,2008-09-20:/discussions/api-developers/23-automatic-svn-changeset-integrationLighthouse: Discussion 2011-04-07T05:34:26Ztag:help.lighthouseapp.com,2008-09-20:Comment/114722008-02-20T12:23:29Z2009-06-20T20:56:11ZAutomatic svn changeset integration?<div><p>Hi AR team,</p>
<p>Thanks for your great product, I'm discovering new parts
everyday, it's fun to play with :)</p>
<p>I've just set the svn integration on our project, and I'd like
to know if someone has already found a solution to make it
automatic after each commit.</p>
<p>Solutions in mind: - a cron job that parse svn log once in a
while; - extend textmate svn plugin, that'll run the ruby script on
svn server after each commit (not really multi-platfom
compatible).</p>
<p>Have fun :)</p>
<p>Alex</p></div>alxtag:help.lighthouseapp.com,2008-09-20:Comment/114722008-02-20T18:02:54Z2009-06-20T20:56:11ZAutomatic svn changeset integration?<div><p>You can use subversion with a <a href=
"http://lighthouseapp.com/help/setting-up-subversion-integration">post-commit
hook</a> (or a git post-receive hook, or any other scm, lighthouse
doesn't specifically support any of them).</p>
<p>I'm not sure extending the textmate plugin is a great idea since
it requires every user on your team to do the same setup.</p></div>Ricktag:help.lighthouseapp.com,2008-09-20:Comment/114722008-02-20T18:25:12Z2009-06-20T20:56:11ZAutomatic svn changeset integration?<div><p>Hi Rick,</p>
<p>Thanks, I didn't understand that the script needed to be renamed
as svn-dir/hooks/post-commit.rb</p>
<p>Hope it will work now :)</p></div>alxtag:help.lighthouseapp.com,2008-09-20:Comment/114722008-02-20T21:08:29Z2009-06-20T20:56:11ZAutomatic svn changeset integration?<div><p>It might need to be named svn-dir/hooks/post-commit, with a
proper shebang to ruby and executable permissions.</p>
<p>p. <code>#!/usr/bin/ruby</code>. Type 'which ruby' to see what
the path on your system is.</p>
<p>p. <code>$ chmod +x svn-dir/hooks/post-commit</code></p></div>Ricktag:help.lighthouseapp.com,2008-09-20:Comment/114722008-02-21T09:58:28Z2009-06-20T20:56:11ZAutomatic svn changeset integration?<div><p>Cool, working great now :)</p>
<p>The only problem was with SVNLOOK variable that was not set
correctly, I had to set it without using 'which' command.</p></div>alx