Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/falsyvalues/post-receive-watchdog
- Owner: falsyvalues
- License: mit
- Created: 2015-01-09T18:27:31.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-02-08T09:23:27.000Z (over 7 years ago)
- Last Synced: 2023-03-13T08:50:33.548Z (over 1 year ago)
- Topics: git, hook, python, watch
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.