From: relan Date: Thu, 2 Nov 2017 05:47:48 +0000 (+0300) Subject: build: raise VCS client version logging level X-Git-Tag: 0.9~37^2 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=cd8a86a2a2b9f849410c6677fe96d0d212b17fcb;p=fdroidserver.git build: raise VCS client version logging level Debug logging is not saved in buildserver logs. Also move this line into build.py's main() to avoid duplication: common.setup_vcs(app) may be called from parse_metadata() too. --- diff --git a/fdroidserver/build.py b/fdroidserver/build.py index a4ca67af..a9ee02d7 100644 --- a/fdroidserver/build.py +++ b/fdroidserver/build.py @@ -1156,6 +1156,7 @@ def main(): # there are any. if first: vcs, build_dir = common.setup_vcs(app) + logging.info("Using %s" % vcs.clientversion()) first = False logging.debug("Checking " + build.versionName) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 634de8b5..8f1cfe04 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -623,7 +623,6 @@ def setup_vcs(app): else: remote = app.Repo vcs = getvcs(app.RepoType, remote, build_dir) - logging.debug("Using %s" % vcs.clientversion()) return vcs, build_dir