Skip to content

work-in-progress - Web Hooks

Matthias Käppler requested to merge github/fork/ariejan/web_hooks into master

Created by: ariejan

This is a work-in-progress for adding web hooks and other push-triggered events. Just to keep everyone updated.

At this time my branch includes:

  • Resque, possible resque-web at /info/resque, but disabled by default.
  • The possibility to install a post-receive hook ( Repository#update_hook, lib/post-receive-hook ) in a git repository.
  • The post-receive hook posts a job of PostReceive in the redis 'post-receive' queue.
  • The working currently only puts some debugging values.

TODO:

  • Make sure the post-receive hook is installed automatically for repositories when they're created or updated.
  • Web hooks (post JSON to some URL)
  • Parse commit messages to add notes / close issues

Comments are very welcome while I continue work on this feature.

Merge request reports

Loading