so after discussion with @jkaluza we come to an agreement that to have a blacklist and a whitelist in configuration is not such a good idea. So i removed the blacklist option from the config and refactored the allow_build method. Now if you want your artifact to be build you need it whitelisted. Also allow_build method now raises an UnprocessableEntity error when the provided regex in whitelist is not a valid regex. So WDYT?
Hi All,
issue: https://pagure.io/freshmaker/issue/107
so after discussion with @jkaluza we come to an agreement that to have a blacklist and a whitelist in configuration is not such a good idea. So i removed the blacklist option from the config and refactored the allow_build method. Now if you want your artifact to be build you need it whitelisted. Also allow_build method now raises an UnprocessableEntity error when the provided regex in whitelist is not a valid regex. So WDYT?
Signed-off-by: Martin Curlej mcurlej@redhat.com