1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-19 16:56:17 +02:00

add build --verbose option for build script

shows kernel messages (only) atm
This commit is contained in:
Adrian Schröter 2022-01-13 11:57:54 +01:00
parent dd3908c56f
commit dc253ed212
No known key found for this signature in database
GPG Key ID: 918D8C954C08DB67
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',