Write maintainer notes to wiki

This commit is contained in:
Ciaran Gultnieks committed 2013-11-05 16:40:23 +00:00
1 parent ceee4c0e95
commit 356f12ab2f
2 files changed
+6 -1

No files matched your search

+2 -1
View File
@@ -1057,7 +1057,8 @@ def description_plain(lines, linkres):
return ps.text_plain
# Parse multiple lines of description as written in a metadata file, returning
# a single string in wiki format.
# a single string in wiki format. Used for the Maintainer Notes field as well,
# because it's the same format.
def description_wiki(lines):
ps = DescriptionFormatter(None)
for line in lines:
+4
View File
@@ -76,6 +76,10 @@ def update_wiki(apps, apks):
wikidata += "=Description=\n"
wikidata += common.description_wiki(app['Description']) + "\n"
if 'Maintainer Notes' in app:
wikidata += "=Maintainer Notes=\n"
wikidata += common.description_wiki(app['Maintainer Notes']) + "\n"
# Get a list of all packages for this application...
apklist = []
gotcurrentver = False