I use Redmine to keep track of most of Substance Labs projects. It’s a nifty, open source project management/issue tracking system, and I am quite happy with it.
I also use Git for most my source control management needs, and I tend to push my repositories to Github when I need to share them with others.
If you too fit this description, I have a little treat for you; a Redmine plugin that makes Github integration easy.
Redmine has built-in support for Git repositories, allowing you to browse your code and view your changesets directly in Redmine. For this purpose, it relies on local clones of the Git repositories.
If your shared repository is on a remote machine - for example on Github - this unfortunately means a bit of legwork to keep the local, Redmine-accessible repository up-to-date. The common approach is to set up a cronjob that pulls in any changes with regular intervals and updates Redmine with them.
The cronjob approach works perfectly fine, but is a bit heavy-handed and cumbersome for my taste. So I created the Github Hook plugin for Redmine, which allows your Redmine installation to be notified when changes have been pushed to a Github repository.
That’s it. Using the magic of Post-Receive Hooks” Github will now send a HTTP POST to the Redmine Github Hook plugin whenever changes are pushed to Github. The plugin then takes care of pulling the changes to the local repository and updating the Redmine database with them.
You can grab the plugin at http://github.com/koppen/redmine_github_hook/
Woho, nice - will definitely try this out on my own Redmine installation - thanks :)
Would this plugin work securely as here : http://github.com/blog/237-basic-auth-post-receives, plus https/SSL ?
S Reid, I haven't actually tested that, but I don't see any reason it should not work. Basic Auth is basically handled by Github and your webserver in that case.