1
0
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:
Marcus Hüwe 2009-08-04 14:12:45 +00:00
parent 101bcef086
commit ddd9e0206d
2 changed files with 8 additions and 3 deletions

View File

@ -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:

View File

@ -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