mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
Merge branch 'git-push-logging' into 'master'
Show debug messages to give clue why pushing git mirror failed See merge request fdroid/fdroidserver!731
This commit is contained in:
commit
e85573d0e1
1 changed files with 4 additions and 0 deletions
|
|
@ -438,6 +438,10 @@ def update_servergitmirrors(servergitmirrors, repo_section):
|
||||||
| git.remote.PushInfo.REJECTED
|
| git.remote.PushInfo.REJECTED
|
||||||
| git.remote.PushInfo.REMOTE_FAILURE
|
| git.remote.PushInfo.REMOTE_FAILURE
|
||||||
| git.remote.PushInfo.REMOTE_REJECTED):
|
| git.remote.PushInfo.REMOTE_REJECTED):
|
||||||
|
# Show potentially useful messages from git remote
|
||||||
|
for line in progress.other_lines:
|
||||||
|
if line.startswith('remote:'):
|
||||||
|
logging.debug(line)
|
||||||
raise FDroidException(remote.url + ' push failed: ' + str(pushinfo.flags)
|
raise FDroidException(remote.url + ' push failed: ' + str(pushinfo.flags)
|
||||||
+ ' ' + pushinfo.summary)
|
+ ' ' + pushinfo.summary)
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue