mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-14 06:17:18 +01:00
Merge pull request #1638 from Thaodan/build_notimestamp
Add --no-timestamps parameter to build
This commit is contained in:
commit
430ffcfc90
@ -880,6 +880,8 @@ def main(apiurl, store, opts, argv):
|
|||||||
pac = pac + ":" + opts.multibuild_package
|
pac = pac + ":" + opts.multibuild_package
|
||||||
if opts.verbose_mode:
|
if opts.verbose_mode:
|
||||||
buildargs.append('--verbose=%s' % opts.verbose_mode)
|
buildargs.append('--verbose=%s' % opts.verbose_mode)
|
||||||
|
if opts.no_timestamps:
|
||||||
|
buildargs.append('--no-timestamps')
|
||||||
if opts.wipe:
|
if opts.wipe:
|
||||||
buildargs.append("--wipe")
|
buildargs.append("--wipe")
|
||||||
|
|
||||||
|
@ -7313,6 +7313,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
help='Do not use preinstall images for creating the build root.')
|
help='Do not use preinstall images for creating the build root.')
|
||||||
@cmdln.option("--just-print-buildroot", action="store_true",
|
@cmdln.option("--just-print-buildroot", action="store_true",
|
||||||
help="Print build root path and exit.")
|
help="Print build root path and exit.")
|
||||||
|
@cmdln.option('--no-timestamps', '-s', '--strip-time', action='store_true',
|
||||||
|
help='Hide the time prefix in output.')
|
||||||
@cmdln.alias('chroot')
|
@cmdln.alias('chroot')
|
||||||
@cmdln.alias('shell')
|
@cmdln.alias('shell')
|
||||||
@cmdln.alias('wipe')
|
@cmdln.alias('wipe')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user