mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-09 02:41:06 +03:00
New field: Provides
This commit is contained in:
parent
c1b43ab9d4
commit
4935496f48
3 changed files with 21 additions and 0 deletions
|
@ -71,6 +71,9 @@ def update_wiki(apps, apks):
|
|||
app['License'],
|
||||
app.get('Requires Root', 'No'))
|
||||
|
||||
if app['Provides']:
|
||||
wikidata += "This app provides: %s" % ', '.join(app['Summary'].split(','))
|
||||
|
||||
wikidata += app['Summary']
|
||||
wikidata += " - [http://f-droid.org/repository/browse/?fdid=" + app['id'] + " view in repository]\n\n"
|
||||
|
||||
|
@ -580,6 +583,9 @@ def make_index(apps, apks, repodir, archive, categories):
|
|||
af.remove('UpstreamNonFree')
|
||||
if af:
|
||||
addElement('antifeatures', ','.join(af), doc, apel)
|
||||
if app['Provides']:
|
||||
pv = app['Provides'].split(',')
|
||||
addElement('provides', ','.join(pv), doc, apel)
|
||||
if app['Requires Root']:
|
||||
addElement('requirements', 'root', doc, apel)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue