Automatic svn changeset integration?
Hi AR team,
Thanks for your great product, I'm discovering new parts everyday, it's fun to play with :)
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.
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).
Have fun :)
Alex
Discussions are closed to public comments.
If you need help with Lighthouse please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Rick on 20 Feb, 2008 06:02 PM
You can use subversion with a post-commit hook (or a git post-receive hook, or any other scm, lighthouse doesn't specifically support any of them).
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.
2 Posted by alx on 20 Feb, 2008 06:25 PM
Hi Rick,
Thanks, I didn't understand that the script needed to be renamed as svn-dir/hooks/post-commit.rb
Hope it will work now :)
3 Posted by Rick on 20 Feb, 2008 09:08 PM
It might need to be named svn-dir/hooks/post-commit, with a proper shebang to ruby and executable permissions.
p.
#!/usr/bin/ruby
. Type 'which ruby' to see what the path on your system is.p.
$ chmod +x svn-dir/hooks/post-commit
4 Posted by alx on 21 Feb, 2008 09:58 AM
Cool, working great now :)
The only problem was with SVNLOOK variable that was not set correctly, I had to set it without using 'which' command.