Sends emails with diff info
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
templates
.gitignore
Procfile
README.md
config.example.yaml
gitdiff.py
requirements.txt

README.md

About

Accepts github PUSH requests with information about commits beeing pushed to repository and sends emails with diffs. May be run as Heroku app.

Installation

This app is built on top of Flask thus runs like a typical WSGI application.

The installation is simple:

# clone repository
git clone git://github.com/kalimatas/gitdiff.git

# make a virtual environment and activate it
virtualenv --distribute --system-site-packages venv
source venv/bin/activate

# install requirements
pip install -r requirements.txt

# copy sample config and edit it
cp config.example.yaml config.yaml 

If you use Heroku you can run a development server:

# starts a server at http://0.0.0.0:5000
foreman start

Usage

Add a webhook to your Github repository as described here and point it to your running app.