leaper: do not add review team for SLE requests for FORK'd packages.

This commit is contained in:
Jimmy Berry 2017-04-20 22:18:25 -05:00
parent 52d356db29
commit 585a9d1f84

View File

@ -225,10 +225,11 @@ class Leaper(ReviewBot.ReviewBot):
is_fine_if_factory = True is_fine_if_factory = True
# fall through to check history and requests # fall through to check history and requests
elif origin == 'FORK': elif origin == 'FORK':
is_fine_if_factory = True if not src_project.startswith('SUSE:SLE-'):
not_in_factory_okish = True is_fine_if_factory = True
not_in_factory_okish = True
self.needs_check_source = True
self.needs_release_manager = True self.needs_release_manager = True
self.needs_check_source = True
# fall through to check history and requests # fall through to check history and requests
elif origin.startswith('openSUSE:Leap:42.2'): elif origin.startswith('openSUSE:Leap:42.2'):
if self.must_approve_maintenance_updates: if self.must_approve_maintenance_updates: