chiark / gitweb /
Specify that disabled builds aren't failing builds
authorDaniel Martí <mvdan@mvdan.cc>
Sat, 5 Sep 2015 14:09:25 +0000 (10:09 -0400)
committerDaniel Martí <mvdan@mvdan.cc>
Sat, 5 Sep 2015 14:10:48 +0000 (10:10 -0400)
fdroidserver/update.py

index 7f32292229c6dae60055ed3c80a6912f0341d672..d332222baeb3ad6da182f32fc49f92aa9bdd5d22 100644 (file)
@@ -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