1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-20 13:50:12 +01:00

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.
This commit is contained in:
relan 2017-11-02 08:47:48 +03:00
parent 349bcb0e8e
commit cd8a86a2a2
2 changed files with 1 additions and 1 deletions

View File

@ -1156,6 +1156,7 @@ def main():
# there are any. # there are any.
if first: if first:
vcs, build_dir = common.setup_vcs(app) vcs, build_dir = common.setup_vcs(app)
logging.info("Using %s" % vcs.clientversion())
first = False first = False
logging.debug("Checking " + build.versionName) logging.debug("Checking " + build.versionName)

View File

@ -623,7 +623,6 @@ def setup_vcs(app):
else: else:
remote = app.Repo remote = app.Repo
vcs = getvcs(app.RepoType, remote, build_dir) vcs = getvcs(app.RepoType, remote, build_dir)
logging.debug("Using %s" % vcs.clientversion())
return vcs, build_dir return vcs, build_dir