mirror of
https://github.com/openSUSE/osc.git
synced 2025-10-08 10:00:05 +02:00
fix and rename osc pr --show-non-building
fix osc pr --show-non-building to actually do what it is supposed to do. Change default to not do filtering by renaming the option to --hide-disabled
This commit is contained in:
@@ -3335,8 +3335,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
help='show results only for specified repo(s)')
|
||||
@cmdln.option('-V', '--vertical', action='store_true',
|
||||
help='list packages vertically instead horizontally')
|
||||
@cmdln.option('-S', '--show-non-building', action='store_true',
|
||||
help='Show also packages which are build disabled or excluded')
|
||||
@cmdln.option('--hide-disabled', action='store_true',
|
||||
help='hide packages that are disabled or excluded in all repos, also hide repos that have only disabled or excluded packages')
|
||||
@cmdln.alias('pr')
|
||||
def do_prjresults(self, subcmd, opts, *args):
|
||||
"""${cmd_name}: Shows project-wide build results
|
||||
@@ -3358,7 +3358,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
wd = os.curdir
|
||||
project = store_read_project(wd)
|
||||
|
||||
print '\n'.join(get_prj_results(apiurl, project, hide_legend=opts.hide_legend, csv=opts.csv, status_filter=opts.status_filter, name_filter=opts.name_filter, repo=opts.repo, arch=opts.arch, vertical=opts.vertical, show_non_building=opts.show_non_building))
|
||||
print '\n'.join(get_prj_results(apiurl, project, hide_legend=opts.hide_legend, csv=opts.csv, status_filter=opts.status_filter, name_filter=opts.name_filter, repo=opts.repo, arch=opts.arch, vertical=opts.vertical, hide_disabled=opts.hide_disabled))
|
||||
|
||||
|
||||
@cmdln.option('-q', '--hide-legend', action='store_true',
|
||||
|
Reference in New Issue
Block a user