Log In
bug
/
pagure
Clone
Source Code
GIT
Source
Issues
1
Pull Requests
0
Stats
History progit/hooks/__init__.py
Branch:
7e59abaab6bed7c3af2c1b0e6f80cb0bcaf3fce6
master
7e59abaab6bed7c3af2c1b0e6f80cb0bcaf3fce6
progit
hooks
__init__.py
We cannot test an interface so ignore the two methods in BaseHook
Pierre-Yves Chibon
• 10 years ago
4ae85f
Adjust the RequiredIf validator to be able to handle monitoring multiple fields
Pierre-Yves Chibon
• 10 years ago
aa9a3e
Add an utility validator allowing to mark a field mandatory if another is checked
Pierre-Yves Chibon
• 10 years ago
9ce34e
Before copying the hook of the plugin, make sure the hooks directory exists
Pierre-Yves Chibon
• 10 years ago
007ef8
Reduce code duplication by using the progit.get_repo_path when setting up the hooks
Pierre-Yves Chibon
• 10 years ago
92224b
pep8 fix in the headers of all the python files
Pierre-Yves Chibon
• 10 years ago
33b534
Add missing import
Pierre-Yves Chibon
• 11 years ago
c1b435
The hook's install method will require the db object storing the configuration
Pierre-Yves Chibon
• 11 years ago
a0391b
Add a global set_up method for the hooks
Pierre-Yves Chibon
• 11 years ago
3976d7
Project wide pep8 clean up
Pierre-Yves Chibon
• 11 years ago
05748c
Turn the install and remove method of the plugins into classmethod
Pierre-Yves Chibon
• 11 years ago
a3f816
The install and remove method of the hooks should receive a project object as argument
Pierre-Yves Chibon
• 11 years ago
daa5de
Add the BaseHook object that each plugin must inherit from
Pierre-Yves Chibon
• 11 years ago
a3add0