From cd8a86a2a2b9f849410c6677fe96d0d212b17fcb Mon Sep 17 00:00:00 2001 From: relan Date: Thu, 2 Nov 2017 08:47:48 +0300 Subject: [PATCH] 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. --- fdroidserver/build.py | 1 + fdroidserver/common.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2