mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-11 17:50:29 +03:00
App.comments is no more since !772
This commit is contained in:
parent
dbe21b2b94
commit
2b81a66b79
7 changed files with 2 additions and 16 deletions
|
|
@ -878,7 +878,7 @@ def make_v1(apps, packages, repodir, repodict, requestsdict, fdroid_signing_key_
|
|||
for k, v in sorted(appdict.items()):
|
||||
if not v:
|
||||
continue
|
||||
if k in ('Builds', 'comments', 'metadatapath',
|
||||
if k in ('Builds', 'metadatapath',
|
||||
'ArchivePolicy', 'AutoName', 'AutoUpdateMode', 'MaintainerNotes',
|
||||
'Provides', 'Repo', 'RepoType', 'RequiresRoot',
|
||||
'UpdateCheckData', 'UpdateCheckIgnore', 'UpdateCheckMode',
|
||||
|
|
|
|||
|
|
@ -159,7 +159,6 @@ class App(dict):
|
|||
self.id = None
|
||||
self.metadatapath = None
|
||||
self.Builds = []
|
||||
self.comments = {}
|
||||
self.added = None
|
||||
self.lastUpdated = None
|
||||
|
||||
|
|
@ -607,16 +606,6 @@ def read_metadata(appids={}, sort_by_time=False):
|
|||
return apps
|
||||
|
||||
|
||||
# Known keys not originating from the metadata are:
|
||||
#
|
||||
# 'comments' - a list of comments from the metadata file. Each is
|
||||
# a list of the form [field, comment] where field is
|
||||
# the name of the field it preceded in the metadata
|
||||
# file. Where field is None, the comment goes at the
|
||||
# end of the file. Alternatively, 'build:version' is
|
||||
# for a comment before a particular build version.
|
||||
|
||||
|
||||
def parse_metadata(metadatapath):
|
||||
"""Parse metadata file, also checking the source repo for .fdroid.yml.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue