chiark / gitweb /
build: raise VCS client version logging level
authorrelan <email@hidden>
Thu, 2 Nov 2017 05:47:48 +0000 (08:47 +0300)
committerrelan <email@hidden>
Thu, 2 Nov 2017 05:52:02 +0000 (08:52 +0300)
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
fdroidserver/common.py

index a4ca67af0acf6be530be30d17253db6892f7d994..a9ee02d7d84d7f12a5dbb47fbd63fe0bbe091291 100644 (file)
@@ -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)
index 634de8b5f9847af00b8f60cd85e1fcf7a35ec848..8f1cfe04d7bc2f10ce77f68615a8891954b4af8c 100644 (file)
@@ -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