| |
@@ -347,8 +347,9 @@
|
| |
# here, it'd have to be accompanied by a Bugzilla bug for the "Fedora EPEL"
|
| |
# product. So this will only trigger if the reviewer made a mistake.
|
| |
if is_epel(branch_name) and not valid_epel_package(repo, branch_name):
|
| |
- prompt_to_close_bad_ticket(issue_json, INVALID_EPEL_ERROR)
|
| |
- return
|
| |
+ if not force:
|
| |
+ prompt_to_close_bad_ticket(issue_json, INVALID_EPEL_ERROR)
|
| |
+ return
|
| |
|
| |
issue_id = issue_json['id']
|
| |
issue_owner = issue_json['user']['name']
|
| |
@@ -525,8 +526,9 @@
|
| |
|
| |
branch_name = issue_body_json['branch'].strip()
|
| |
if is_epel(branch_name) and not valid_epel_package(repo, branch_name):
|
| |
- prompt_to_close_bad_ticket(issue_json, INVALID_EPEL_ERROR)
|
| |
- return
|
| |
+ if not force:
|
| |
+ prompt_to_close_bad_ticket(issue_json, INVALID_EPEL_ERROR)
|
| |
+ return
|
| |
# Pagure uses plural names for namespaces, but PDC does not use the
|
| |
# plural version for branch types
|
| |
branch_type = fedscm_admin.pdc.component_type_to_singular(namespace)
|
| |
Sometimes we need to skip epel check.
For ex: https://pagure.io/releng/issue/9360
Signed-off-by: Mohan Boddu mboddu@bhujji.com