mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-02 09:10:11 +02:00
App.comments is no more since !772
This commit is contained in:
parent
dbe21b2b94
commit
2b81a66b79
@ -58,6 +58,7 @@ metadata_v0:
|
||||
- ../tests/dump_internal_metadata_format.py
|
||||
- sed -i
|
||||
-e "/buildozer/d"
|
||||
-e '/^comments\W /d'
|
||||
-e 's,maven\(\W\) false,maven\1 null,'
|
||||
metadata/dump_*/*.yaml
|
||||
- diff -uw metadata/dump_*
|
||||
|
@ -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.
|
||||
|
||||
|
@ -185,7 +185,6 @@ UpdateCheckName: null
|
||||
VercodeOperation: []
|
||||
WebSite: ''
|
||||
added: null
|
||||
comments: {}
|
||||
id: com.politedroid
|
||||
lastUpdated: null
|
||||
metadatapath: metadata/com.politedroid.yml
|
||||
|
@ -1136,7 +1136,6 @@ UpdateCheckName: null
|
||||
VercodeOperation: []
|
||||
WebSite: http://sufficientlysecure.org/index.php/adaway
|
||||
added: null
|
||||
comments: {}
|
||||
id: org.adaway
|
||||
lastUpdated: null
|
||||
metadatapath: metadata/org.adaway.yml
|
||||
|
@ -406,7 +406,6 @@ UpdateCheckName: null
|
||||
VercodeOperation: []
|
||||
WebSite: http://www.smssecure.org
|
||||
added: null
|
||||
comments: {}
|
||||
id: org.smssecure.smssecure
|
||||
lastUpdated: null
|
||||
metadatapath: metadata/org.smssecure.smssecure.yml
|
||||
|
@ -2643,7 +2643,6 @@ VercodeOperation:
|
||||
- '%c + 5'
|
||||
WebSite: http://www.videolan.org/vlc/download-android.html
|
||||
added: null
|
||||
comments: {}
|
||||
id: org.videolan.vlc
|
||||
lastUpdated: null
|
||||
metadatapath: metadata/org.videolan.vlc.yml
|
||||
|
Loading…
Reference in New Issue
Block a user