unselect: only set origin-manager for whitelist cleanup

anything else needs to be defined in attribute
This commit is contained in:
Ludwig Nussel 2019-11-11 10:27:30 +01:00
parent 6b1fd61800
commit d78e4306d7
2 changed files with 1 additions and 8 deletions

View File

@ -89,10 +89,6 @@ DEFAULT = {
'splitter-staging-age-max': '57600',
# No special packages since they will pass through SLE first.
'splitter-special-packages': '',
# Allow `unselect --cleanup` to operate immediately on:
# - Update crawler requests (leaper)
# - F-C-C submitter requests (maxlin_factory)
'unselect-cleanup-whitelist': 'leaper maxlin_factory',
'pkglistgen-archs': 'x86_64',
'pkglistgen-scopes': 'target rings staging',
'pkglistgen-locales-from': 'openSUSE.product',
@ -139,9 +135,6 @@ DEFAULT = {
'splitter-staging-age-max': '57600',
# No special packages since they will pass through Leap first.
'splitter-special-packages': '',
# Allow `unselect --cleanup` to operate immediately on:
# - Update crawler requests (leaper)
'unselect-cleanup-whitelist': 'leaper',
},
r'openSUSE:(?P<project>Backports:SLE-[^:]+(?::Update)?)$': {
# Skip SLE related projects maintenance projects to avoid processing

View File

@ -4,7 +4,7 @@ from osclib.request_finder import RequestFinder
class UnselectCommand(object):
CLEANUP_WHITELIST = 'leaper'
CLEANUP_WHITELIST = 'origin-manager'
def __init__(self, api):
self.api = api