The permissions on this repository are being updated. This may take a while.
During this time, you or some of the project's contributors may not be able
to push to this repository.
3dde4bbAllow limiting handlers to handle some build targets on some events
Allow limiting handlers to handle some build targets on some events
Add HANDLER_BUILD_WHITELIST and HANDLER_BUILD_BLACKLIST options to
support whitelist and blacklist the build target by checking its
name and branch.
For example:
HANDLER_BUILD_WHITELIST = {
"MBS": {
"RPMSpecUpdated": {
"module": [
{
'name': 'base-.*',
},
],
},
},
}
HANDLER_BUILD_BLACKLIST = {
"MBS": {
"RPMSpecUpdated": {
"module": [
{
'name': 'base-test-module',
},
{
'branch': 'rawhide',
},
],
},
},
}
This will allow MBS handler to build any module on 'RPMSpecUpdated'
event that name matches 'base-.*' but not:
1. name is not 'base-test-module',
2. branch is not 'rawhide'.
so in this example:
1. "base-mymodule' from any branch can be built
2. "base-test-module" from any branch can not be built
3. any module from 'rawhide' branch can not be built
The two options are empty dicts by default.