mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
Merge branch 'disabled_failed' into 'master'
Excluded disabled metadata in failedBuilds See merge request fdroid/fdroidserver!897
This commit is contained in:
commit
81fb9d4d63
1 changed files with 16 additions and 15 deletions
|
|
@ -166,6 +166,9 @@ def status_update_json(apps, apks):
|
||||||
gotcurrentver = True
|
gotcurrentver = True
|
||||||
apklist.append(apk)
|
apklist.append(apk)
|
||||||
validapks = 0
|
validapks = 0
|
||||||
|
if app.get('Disabled'):
|
||||||
|
output['disabled'].append(appid)
|
||||||
|
else:
|
||||||
for build in app.get('Builds', []):
|
for build in app.get('Builds', []):
|
||||||
if not build.get('disable'):
|
if not build.get('disable'):
|
||||||
builtit = False
|
builtit = False
|
||||||
|
|
@ -181,8 +184,6 @@ def status_update_json(apps, apks):
|
||||||
failedBuilds[appid].append(build.versionCode)
|
failedBuilds[appid].append(build.versionCode)
|
||||||
if validapks == 0:
|
if validapks == 0:
|
||||||
output['noPackages'].append(appid)
|
output['noPackages'].append(appid)
|
||||||
if app.get('Disabled'):
|
|
||||||
output['disabled'].append(appid)
|
|
||||||
if not gotcurrentver:
|
if not gotcurrentver:
|
||||||
output['needsUpdate'].append(appid)
|
output['needsUpdate'].append(appid)
|
||||||
if app.get('UpdateCheckMode') == 'None' and not app.get('Disabled'):
|
if app.get('UpdateCheckMode') == 'None' and not app.get('Disabled'):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue