Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/falsyvalues/post-receive-watchdog

Git post-receive hook for tracking changes which you would like to know about
https://github.com/falsyvalues/post-receive-watchdog

git hook python watch

Last synced: 25 days ago
JSON representation

Git post-receive hook for tracking changes which you would like to know about

Awesome Lists containing this project

README

        

## post-receive-watchdog
Git post-receive hook for tracking (email notifications) changes which you would like to know about.

This tool helps to track changes in certain files (only*) in your git repository.

Configuration is dead simple. It's based on ini file and python [regular expression](https://docs.python.org/2/library/re.html) for file matching:

### config example:

```
[AllChanges]
recipients:
[email protected]
files:
.*

[OtherGroup]
recipients:
[email protected]
files:
single-file.py
```

### features under development

* tracking on specyfic branch
* tracking operations on branches / tags (create, delete)
* moving some of configuration to git

### helpful links

* [Ben Tasker post-receive hook](https://www.bentasker.co.uk/documentation/development-programming/288-sending-commit-notifications-on-receive-using-git-post-hooks)
* [Original post-receive-email hook](https://github.com/git/git/blob/master/contrib/hooks/post-receive-email)

### others
Thanks to [@stachjankowski](https://github.com/stachjankowski) for help.