Cron job to pull repository commits into Redmine?
I noticed that repo commits are only pulled into Redmine from the repo when I click on the "Repository" tab, hence I cannot just subscribe to the Activities feed and wait for commits to come in. I'd like to setup a cron job to hook on to some Redmine API call to pull in commits on a periodic basis. Is there any known way to do this? Googling for "redmine svn update" brings a lot of unrelated stuff.
ok, I found this URL: http://www.simonecarletti.com/blog/2009/07/configuring-git-repository-with-redmine/
/usr/bin/ruby1.8 script/runner "Repository.fetch_changesets" -e production
Wonder if anyone knows whether this will update for all projects that are defined?
That will fetch changesets for all projects. This FAQ item has more information.