osclib/conf: convert all non-string defaults to string equivalents.
Python3 osc config parsing explodes on non-strings.
This commit is contained in:
parent
e4b5f68fa0
commit
e66fa4c404
@ -73,7 +73,7 @@ DEFAULT = {
|
||||
'lock': 'openSUSE:%(project)s:Staging',
|
||||
'lock-ns': 'openSUSE',
|
||||
'leaper-override-group': 'leap-reviewers',
|
||||
'delreq-review': None,
|
||||
'delreq-review': '',
|
||||
'main-repo': 'standard',
|
||||
'pseudometa_package': 'openSUSE:%(project)s:Staging/dashboard',
|
||||
'download-baseurl': 'http://download.opensuse.org/distribution/leap/%(version)s/',
|
||||
@ -130,7 +130,7 @@ DEFAULT = {
|
||||
'staging-archs': 'x86_64',
|
||||
'lock': 'openSUSE:%(project)s:Staging',
|
||||
'lock-ns': 'openSUSE',
|
||||
'onlyadi': True,
|
||||
'onlyadi': 'True',
|
||||
'leaper-override-group': 'backports-reviewers',
|
||||
'review-team': 'opensuse-review-team',
|
||||
'legal-review-group': 'legal-auto',
|
||||
@ -155,20 +155,20 @@ DEFAULT = {
|
||||
# Allows devel projects to utilize tools that require config, but not
|
||||
# complete StagingAPI support.
|
||||
r'(?P<project>.*$)': {
|
||||
'staging': None,
|
||||
'staging-group': None,
|
||||
'staging': '',
|
||||
'staging-group': '',
|
||||
'staging-archs': '',
|
||||
'staging-dvd-archs': '',
|
||||
'staging-required-checks-adi': '',
|
||||
'onlyadi': False,
|
||||
'rings': None,
|
||||
'nonfree': None,
|
||||
'rebuild': None,
|
||||
'product': None,
|
||||
'openqa': None,
|
||||
'lock': None,
|
||||
'lock-ns': None,
|
||||
'delreq-review': None,
|
||||
'onlyadi': '',
|
||||
'rings': '',
|
||||
'nonfree': '',
|
||||
'rebuild': '',
|
||||
'product': '',
|
||||
'openqa': '',
|
||||
'lock': '',
|
||||
'lock-ns': '',
|
||||
'delreq-review': '',
|
||||
'_priority': '0', # Apply defaults first
|
||||
},
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user