mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
New field: Provides
This commit is contained in:
parent
c1b43ab9d4
commit
4935496f48
3 changed files with 21 additions and 0 deletions
|
|
@ -472,6 +472,7 @@ def parse_metadata(metafile):
|
|||
|
||||
# Defaults for fields that come from metadata...
|
||||
thisinfo['Name'] = None
|
||||
thisinfo['Provides'] = None
|
||||
thisinfo['Auto Name'] = ''
|
||||
thisinfo['Categories'] = 'None'
|
||||
thisinfo['Description'] = []
|
||||
|
|
@ -641,6 +642,8 @@ def write_metadata(dest, app):
|
|||
writefield('Disabled')
|
||||
if app['AntiFeatures']:
|
||||
writefield('AntiFeatures')
|
||||
if app['Provides']:
|
||||
writefield('Provides')
|
||||
writefield('Categories')
|
||||
writefield('License')
|
||||
writefield('Web Site')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue