On Wed, Jun 8, 2011 at 1:28 AM, Matt <[email protected]> wrote:

> Hi - got webhooks working and they are really handy.  Now I'd like to
> get more events pushed over that same interface, such as when a new
> merge request is created.
>

Matt,
Good to hear you discovered this hidden feature :-) Did you have any issues
with them?

As for supporting web hooks for merge requests, you should have a look in
app/processors/push_processor.rb. The process_push method that's called for
"regular pushes" calls trigger_hooks at the end. I suppose you could try
calling the same inside process_merge_request, which is called for merge
request pushes. I can't promise it will work, but it just might.

Let us know what you find out!

PS: Did you add a UI for managing web hooks?

Cheers,
- Marius

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to