This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
LICENSE.txt | ||
| |
README.markdown | ||
| |
notify-webhook.py |
README.markdown
notify-webhook
notify-webhook is a git post-receive hook script that posts JSON data to a web hook capable server.
This implements the GitHub Web hooks API as closely as possible. It allows arbitrary git repositories to use Web hook capable services.
As an example, this script works very well with commitbot which sends commit notifications to XMPP group chat rooms.
License
This code is copyright (c) 2008 by Jack Moffitt jack@metajack.im and
is available under the GPLv3.
See LICENSE.txt for details.
Dependencies
Usage
To use notify-webhook, just copy notify-webhook.py to your
repository's .git/hooks dir and call it post-receive. Be sure to
set it executable with chmod 755 post-receive as well.
You'll need to edit the very top of the file where the constants are
defined.
POST_URLis the URL of the web hook serverREPO_URLis the URL of your repository browserCOMMIT_URLis the URL of a commit in your respository browser. '%s' in this string will be replaced with the SHA1 hash.REPO_NAMEis the name of the repositoryREPO_OWNER_NAMEis name of the repository ownerREPO_OWNER_EMAILis the repository owner's e-mail addressREPO_DESCis the repository description








