Add hooks module, containing utility functions common to hook scripts.
Review Request #5543 — Created Feb. 24, 2014 and submitted — Latest diff uploaded
This is a new 'hooks' module in RBTools. rbtools/hooks/common.py contains functions common to all hook scripts, and rbtools/hooks/git.py contains functions for Git hook scripts.
- Tested the functions individually, and got the expected results.
- More testing was done in https://reviews.reviewboard.org/r/5403/ for the Git post-receive and pre-receive hook scripts that use this new module.
Diff Revision 3
This is not the most recent revision of the diff. The latest diff is revision 7. See what's changed.
orig
1
2
3
4
5
6
7
rbtools/hooks/common.py |
---|
rbtools/hooks/git.py |
---|