mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-27 10:16:14 +01:00
- added config option to disable the filelist check before commit permanently
This commit is contained in:
parent
101bcef086
commit
ddd9e0206d
@ -1663,7 +1663,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
|
||||
pacs = findpacs(args)
|
||||
|
||||
if not opts.force:
|
||||
if conf.config['check_filelist'] and not opts.force:
|
||||
check_filelist_before_commit(pacs)
|
||||
|
||||
if not msg:
|
||||
|
@ -70,8 +70,10 @@ DEFAULTS = { 'apiurl': 'https://api.opensuse.org',
|
||||
'extra-pkgs': 'vim gdb strace',
|
||||
# default platform
|
||||
'build_platform': 'openSUSE_Factory',
|
||||
# check for unversioned/removed files before commit
|
||||
'check_filelist': True,
|
||||
}
|
||||
boolean_opts = ['debug', 'do_package_tracking', 'http_debug', 'post_mortem', 'traceback']
|
||||
boolean_opts = ['debug', 'do_package_tracking', 'http_debug', 'post_mortem', 'traceback', 'check_filelist']
|
||||
|
||||
new_conf_template = """
|
||||
[general]
|
||||
@ -115,7 +117,10 @@ apiurl = %(apiurl)s
|
||||
|
||||
# use GNOME keyring for credentials if available
|
||||
#gnome_keyring = 0
|
||||
|
||||
|
||||
# check for unversioned/removed files before commit
|
||||
#check_filelist = 1
|
||||
|
||||
[%(apiurl)s]
|
||||
user = %(user)s
|
||||
pass = %(pass)s
|
||||
|
Loading…
Reference in New Issue
Block a user