1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 14:56: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) pacs = findpacs(args)
if not opts.force: if conf.config['check_filelist'] and not opts.force:
check_filelist_before_commit(pacs) check_filelist_before_commit(pacs)
if not msg: if not msg:

View File

@ -70,8 +70,10 @@ DEFAULTS = { 'apiurl': 'https://api.opensuse.org',
'extra-pkgs': 'vim gdb strace', 'extra-pkgs': 'vim gdb strace',
# default platform # default platform
'build_platform': 'openSUSE_Factory', '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 = """ new_conf_template = """
[general] [general]
@ -116,6 +118,9 @@ apiurl = %(apiurl)s
# use GNOME keyring for credentials if available # use GNOME keyring for credentials if available
#gnome_keyring = 0 #gnome_keyring = 0
# check for unversioned/removed files before commit
#check_filelist = 1
[%(apiurl)s] [%(apiurl)s]
user = %(user)s user = %(user)s
pass = %(pass)s pass = %(pass)s