From 0c3edd3fa04549e7178e793869f7b25c814550ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 27 Apr 2018 14:59:34 +0200 Subject: [PATCH] always run build using --statistics. I could have made this yet another option, but * only very old build scripts don't know it, we should just require a recent one * build script is ignoring it for chroot case so why bother with another option? --- NEWS | 1 + osc/build.py | 1 + 2 files changed, 2 insertions(+) diff --git a/NEWS b/NEWS index df60fb51..efc603f0 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,7 @@ 0.163 - add sendsysrq command (requires OBS 2.10) - add addcontainers command (requires OBS 2.10) + - enable statistics for local builds - add new options to diff command: --unexpand for local diffs only (bsc#1089025) --meta for diffing meta files diff --git a/osc/build.py b/osc/build.py index 35362422..b2ab7e0f 100644 --- a/osc/build.py +++ b/osc/build.py @@ -542,6 +542,7 @@ def main(apiurl, opts, argv): raise oscerr.WrongArgs('Error: build description file named \'%s\' does not exist.' % build_descr) buildargs = [] + buildargs.append('--statistics') if not opts.userootforbuild: buildargs.append('--norootforbuild') if opts.clean: