mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-26 01:46:13 +01:00
- move 'builtin_signature_check' into conf module
This commit is contained in:
parent
3ceef4d4f2
commit
03ad610caf
@ -79,6 +79,7 @@ DEFAULTS = { 'apiurl': 'https://api.opensuse.org',
|
||||
'build-vmdisk-swapsize': '', # optional for VM builds
|
||||
|
||||
'build-jobs': os.sysconf('SC_NPROCESSORS_ONLN'), # compile with N jobs
|
||||
'builtin_signature_check': '1', # by default use builtin check for verify pkgs
|
||||
'icecream': '0',
|
||||
|
||||
'debug': '0',
|
||||
@ -135,7 +136,7 @@ config = DEFAULTS.copy()
|
||||
|
||||
boolean_opts = ['debug', 'do_package_tracking', 'http_debug', 'post_mortem', 'traceback', 'check_filelist', 'plaintext_passwd',
|
||||
'checkout_no_colon', 'check_for_request_on_action', 'linkcontrol', 'show_download_progress', 'request_show_interactive',
|
||||
'use_keyring', 'gnome_keyring', 'no_verify']
|
||||
'use_keyring', 'gnome_keyring', 'no_verify', 'builtin_signature_check']
|
||||
|
||||
api_host_options = ['user', 'pass', 'passx', 'aliases', 'http_headers', 'email', 'sslcertck', 'cafile', 'capath', 'trusted_prj']
|
||||
|
||||
|
@ -313,7 +313,7 @@ def verify_pacs(bi):
|
||||
"""
|
||||
|
||||
pac_list = [ i.fullfilename for i in bi.deps ]
|
||||
if not conf.config.get('builtin_signature_check', True):
|
||||
if not conf.config['builtin_signature_check']:
|
||||
return verify_pacs_old(pac_list)
|
||||
|
||||
if not pac_list:
|
||||
|
Loading…
Reference in New Issue
Block a user