mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-09 02:41:06 +03:00
A couple of wiki improvements
This commit is contained in:
parent
0876c52e55
commit
17f6e4d169
1 changed files with 2 additions and 1 deletions
|
@ -79,6 +79,7 @@ def update_wiki(apps, apks):
|
||||||
if 'Maintainer Notes' in app:
|
if 'Maintainer Notes' in app:
|
||||||
wikidata += "=Maintainer Notes=\n"
|
wikidata += "=Maintainer Notes=\n"
|
||||||
wikidata += common.description_wiki(app['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...
|
# Get a list of all packages for this application...
|
||||||
apklist = []
|
apklist = []
|
||||||
|
@ -112,7 +113,7 @@ def update_wiki(apps, apks):
|
||||||
apklist.append({
|
apklist.append({
|
||||||
'versioncode': int(thisbuild['vercode']),
|
'versioncode': int(thisbuild['vercode']),
|
||||||
'version': thisbuild['version'],
|
'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...
|
# Sort with most recent first...
|
||||||
apklist = sorted(apklist, key=lambda apk: apk['versioncode'], reverse=True)
|
apklist = sorted(apklist, key=lambda apk: apk['versioncode'], reverse=True)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue