Open pacho2 opened 6 years ago
I have tried to add it... but for some reason I still get: 'package_list is not a valid parameter for the Bugzilla::Bug::create function.'
Hence, probably I missed something :/ ` --- bugz/cli.py.orig 2018-10-21 11:55:58.890240355 +0200 +++ bugz/cli.py 2018-10-21 11:56:14.675644510 +0200 @@ -190,6 +190,14 @@ else: log_info('Enter alias (optional): %s' % settings.alias)
if not hasattr(settings, 'assigned_to'): assign_msg = 'Enter assignee (eg. liquidx@gentoo.org) (optional): ' line = input(assign_msg) @@ -232,6 +240,7 @@ def show_bug_info(bug, settings): FieldMap = { 'alias': 'Alias',
params['package_list'] = settings.package_list
result = settings.call_bz(settings.bz.Bug.create, params) log_info('Bug %d submitted' % result['id']) @@ -648,7 +663,7 @@ valid_keys = ['alias', 'assigned_to', 'component', 'creator', 'limit', 'offset', 'op_sys', 'platform', 'priority', 'product', 'resolution', 'severity',
'version', 'whiteboard', 'package_list']
params = {} d = vars(settings) `
cly.py.txt I attach the diff
I have tried to add it... but for some reason I still get: 'package_list is not a valid parameter for the Bugzilla::Bug::create function.'
Hence, probably I missed something :/ ` --- bugz/cli.py.orig 2018-10-21 11:55:58.890240355 +0200 +++ bugz/cli.py 2018-10-21 11:56:14.675644510 +0200 @@ -190,6 +190,14 @@ else: log_info('Enter alias (optional): %s' % settings.alias)
if not hasattr(settings, 'assigned_to'): assign_msg = 'Enter assignee (eg. liquidx@gentoo.org) (optional): ' line = input(assign_msg) @@ -232,6 +240,7 @@ def show_bug_info(bug, settings): FieldMap = { 'alias': 'Alias',
params['package_list'] = settings.package_list
result = settings.call_bz(settings.bz.Bug.create, params) log_info('Bug %d submitted' % result['id']) @@ -648,7 +663,7 @@ valid_keys = ['alias', 'assigned_to', 'component', 'creator', 'limit', 'offset', 'op_sys', 'platform', 'priority', 'product', 'resolution', 'severity',
'version', 'whiteboard', 'package_list']
params = {} d = vars(settings) `