plugin hooks for repo modification
Fixes: https://pagure.io/koji/issue/2636
This commit is contained in:
parent
3e8f8000c8
commit
6ad2bccec3
3 changed files with 13 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ from koji.util import encode_datetime_recurse
|
|||
# the available callback hooks and a list
|
||||
# of functions to be called for each event
|
||||
callbacks = {
|
||||
# hub
|
||||
'prePackageListChange': [],
|
||||
'postPackageListChange': [],
|
||||
'preTaskStateChange': [],
|
||||
|
|
@ -54,8 +55,11 @@ callbacks = {
|
|||
'postRepoDone': [],
|
||||
'preCommit': [],
|
||||
'postCommit': [],
|
||||
# builder
|
||||
'preSCMCheckout': [],
|
||||
'postSCMCheckout': [],
|
||||
'postCreateDistRepo': [],
|
||||
'postCreateRepo': [],
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue