hook scripts for redmine events
Added by mich heimann over 14 years ago
hi,
you probably know from svn, git etc hook scripts that are executed on specific events. so i was wondering if that exists in redmine. for example when you create, archive or delete a project in redmine an according shell script is executed. this way i could hook up my repository creation with redmine. i know there is the reposman.rb but instead of the cronjob you could execute that within the shell script.
maybe that already exist and i couldn't find it?
or is this a problem because the script would run as a different user?
let me know what you think of this idea..
thanks
mich
Replies (4)
RE: hook scripts for redmine events - Added by Felix Schäfer over 14 years ago
You could basically implement such functionality in a plugin by wrapping the methods you want to extend and add a shell-out to the call chain.
RE: hook scripts for redmine events - Added by mich heimann over 14 years ago
yes, i thought that would be possible with a plugin - but i was more thinking of adding these as a feature.
but maybe its also to specific - i dont know if a lot of peoples would use this - in my case, it would be very practical.
was just an idea ..
RE: hook scripts for redmine events - Added by Felix Schäfer over 14 years ago
Well, if you think this should be a core feature, file a feature request :-)