ericpaulbishop/redmine_git_hosting — Issue #131: Post-receive hook does not support chaining
Author: phindmarsh
Created: 2011-12-09 04:01:24+00:00
State: open

I'm writing a hook to automatically push a mirror of my repository to Bitbucket when committed, however because redmine_git_hosting uses a post-receive hook the only place I can insert my hook is on update.

This works, however it means the bitbucket repository is alway one commit behind the redmine repository.

By default gitolite has 'update hooklets' which allow you to create a folder and place multiple update hooks to be parsed and executed when the update hook is fired.

I propose something similar to be built into this plugin so one have other post-receive hooks to be executed at the correct time. I would love to write this myself, but I have no idea where to start (not knowing my way around rails).