Open phindmarsh opened 12 years ago
Hi, as I had the same problem, I extended the plugin to include this kind of functionality. You can find it in commit a397f16. However, since this repository doesn't seem to be the upstream anymore, I did a pull request on the kubitron/redmine_git_hosting repository.
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).