From: Daniel Martí Date: Sat, 5 Sep 2015 14:09:25 +0000 (-0400) Subject: Specify that disabled builds aren't failing builds X-Git-Tag: 0.5.0~128 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=f4e96cfd7afe16f2ca9fe5e041619eef2399cdd4;p=fdroidserver.git Specify that disabled builds aren't failing builds --- diff --git a/fdroidserver/update.py b/fdroidserver/update.py index 7f322922..d332222b 100644 --- a/fdroidserver/update.py +++ b/fdroidserver/update.py @@ -148,7 +148,7 @@ def update_wiki(apps, sortedids, apks): # TODO: Nasty: vercode is a string in the build, and an int elsewhere apklist.append({'versioncode': int(thisbuild['vercode']), 'version': thisbuild['version'], - 'buildproblem': thisbuild['disable'] + 'buildproblem': "The build for this version was manually disabled. Reason: {0}".format(thisbuild['disable']), }) else: builtit = False @@ -160,7 +160,7 @@ def update_wiki(apps, sortedids, apks): buildfails = True apklist.append({'versioncode': int(thisbuild['vercode']), 'version': thisbuild['version'], - 'buildproblem': "The build for this version appears to have failed. Check the [[{0}/lastbuild_{1}|build log]].".format(appid, thisbuild['vercode']) + 'buildproblem': "The build for this version appears to have failed. Check the [[{0}/lastbuild_{1}|build log]].".format(appid, thisbuild['vercode']), }) if app['Current Version Code'] == '0': cantupdate = True