Merge branch 'checkupdate' into 'master'

checkupdates: adjust log level

See merge request fdroid/fdroidserver!1635
This commit is contained in:
Hans-Christoph Steiner 2025-04-09 07:01:34 +00:00
commit 07d499ce1f

View file

@ -724,7 +724,7 @@ def checkout_appid_branch(appid):
try:
git_repo.remotes.origin.fetch(f'{appid}:refs/remotes/origin/{appid}')
except Exception as e:
logging.warning('"%s" branch not found on origin remote:\n\t%s', appid, e)
logging.debug('"%s" branch not found on origin remote:\n\t%s', appid, e)
if appid in git_repo.remotes.origin.refs:
start_point = f"origin/{appid}"
for commit in git_repo.iter_commits(
@ -838,12 +838,12 @@ def push_commits(branch_name='checkupdates', verbose=False):
if progress:
for line in progress.other_lines:
if line.startswith('remote:'):
logging.debug(line)
logging.info(line)
raise FDroidException(
f'{remote.url} push failed: {pushinfo.flags} {pushinfo.summary}'
)
else:
logging.debug(remote.url + ': ' + pushinfo.summary)
logging.info(remote.url + ': ' + pushinfo.summary)
def prune_empty_appid_branches(git_repo=None, main_branch='main'):