From: Ciaran Gultnieks Date: Wed, 13 Nov 2013 14:56:58 +0000 (+0000) Subject: A couple of wiki improvements X-Git-Tag: 0.1~191 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=17f6e4d169657370ab9b9c19091334a3c92657aa;p=fdroidserver.git A couple of wiki improvements --- diff --git a/fdroidserver/update.py b/fdroidserver/update.py index ce2fbf41..27f87296 100644 --- a/fdroidserver/update.py +++ b/fdroidserver/update.py @@ -79,6 +79,7 @@ def update_wiki(apps, apks): if 'Maintainer Notes' in app: wikidata += "=Maintainer Notes=\n" wikidata += common.description_wiki(app['Maintainer Notes']) + "\n" + wikidata += "\nMetadata: [https://gitorious.org/f-droid/fdroiddata/source/master:metadata/{0}.txt current] [https://gitorious.org/f-droid/fdroiddata/history/metadata/{0}.txt history]\n".format(app['id']) # Get a list of all packages for this application... apklist = [] @@ -112,7 +113,7 @@ def update_wiki(apps, apks): apklist.append({ 'versioncode': int(thisbuild['vercode']), 'version': thisbuild['version'], - 'buildproblem': "The build for this version appears to have failed. Check the build logs." + 'buildproblem': "The build for this version appears to have failed. Check the [[{0}/lastbuild|build log]].".format(app['id']) }) # Sort with most recent first... apklist = sorted(apklist, key=lambda apk: apk['versioncode'], reverse=True)