1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-09 14:26:15 +01:00

Merge commit 'refs/pull/990/head' of github.com:openSUSE/osc

Add a --verbose <mode> option to the "osc build" command (it is just
passed to the build script).
This commit is contained in:
Marcus Huewe 2022-01-13 19:00:22 +01:00
commit 5c2e1b039a
3 changed files with 5 additions and 1 deletions

2
NEWS
View File

@ -1,5 +1,5 @@
0.176.0
-
- add --verbose option to build command
0.175.0
- do not crash when running "osc search --binary --verbose foo"

View File

@ -742,6 +742,8 @@ def main(apiurl, opts, argv):
if opts.multibuild_package:
buildargs.append('--buildflavor=%s' % opts.multibuild_package)
pac = pac + ":" + opts.multibuild_package
if opts.verbose:
buildargs.append('--verbose=%s' % opts.verbose)
if opts.wipe:
buildargs.append("--wipe")

View File

@ -6541,6 +6541,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
help='only fetch packages from the api')
@cmdln.option('--oldpackages', metavar='DIR',
help='take previous build from DIR (special values: _self, _link)')
@cmdln.option('--verbose', metavar='VERBOSE',
help='set a verbose mode, arguments can be "all" or "vm"')
@cmdln.option('--wipe', action='store_true',
help=SUPPRESS_HELP)
@cmdln.option('--shell', action='store_true',