1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-14 19:10:11 +01:00

completed ordered yaml field list

This commit is contained in:
Michael Pöhn 2017-05-07 18:23:22 +02:00
parent f1e0089931
commit 7ab197be2e

View File

@ -1024,8 +1024,14 @@ def write_yaml(mf, app):
return builds return builds
yaml_app_field_order = [ yaml_app_field_order = [
'Disabled',
'AnitFeatures',
'Provides',
'Categories', 'Categories',
'License', 'License',
'AuthorName',
'AuthorEmail',
'AuthorWebSite',
'WebSite', 'WebSite',
'SourceCode', 'SourceCode',
'IssueTracker', 'IssueTracker',
@ -1033,21 +1039,34 @@ def write_yaml(mf, app):
'Donate', 'Donate',
'FlattrID', 'FlattrID',
'Bitcoin', 'Bitcoin',
'Litecoin',
'\n', '\n',
'Name',
'AutoName', 'AutoName',
'Summary', 'Summary',
'Description', 'Description',
'\n', '\n',
'RequiresRoot',
'\n',
'RepoType', 'RepoType',
'Repo', 'Repo',
'Binaries',
'\n', '\n',
'Builds', 'Builds',
'\n', '\n',
'MaintainerNotes',
'\n',
'ArchivePolicy', 'ArchivePolicy',
'AutoUpdateMode', 'AutoUpdateMode',
'UpdateCheckMode', 'UpdateCheckMode',
'UpdateCheckIgnore',
'VercodeOperation',
'UpdateCheckName',
'UpdateCheckData',
'CurrentVersion', 'CurrentVersion',
'CurrentVersionCode', 'CurrentVersionCode',
'\n',
'NoSourceSince',
] ]
yaml_app = _app_to_yaml(app) yaml_app = _app_to_yaml(app)