Redmine Refresh Repository API Plugin

For a project I’m running Redmine, an open source project management webapp, with nice Subversion integration as one of its prime features. It’s a really cool app, which does a good job of showing project activity. Unfortunately it suffers from the minor annoyance that it does not automatically refresh commits when something changes on the repository end. You have to do that manually, or you don’t see the commits. As a heavy user of the Activity feed, I felt this should be fixed.

On the Redmine forums, I found this can be fixed by adding a script that uses Rails’ script/runner to invoke Redmine commands to a Cron job or to a post-commit hook. However, the former means the server running Redmine is continuously polling your SCM server, while the latter is much more elegant yet requires your SCM server to be the same as the one running Redmine. If this is not the case, you’re screwed. Out of this need, the Redmine Refresh Repository API Plugin was born.

You can find more information on this plugin at its own page, or on its GitHub page.

3 Responses to “Redmine Refresh Repository API Plugin”

  1. Paul says:

    I tried this plugin, but unfortunately it does not work for projects which require login to view the project. I can see that the rss feed has some way around that, but it doesn’t seem to extend to this plugin. I’m no good at rails or I’d fix it myself… any hints?

  2. Michel says:

    You are right about having to jump through some hoops to get it to work on private projects, but the RSS authentication key is exactly what is used by this plugin. Did you follow the usage instructions from this page? If those won’t work for you, please let me know :)

  3. Jeff says:

    I tried the plugin, but I get a 404 Not Found on the URL. I’m using v0.9.4, which appears to use an ATOM feed (not sure if that’s the issue here or not.)

Leave a Reply

Your email address will not be published. Required fields are marked *