Sunil Mohan Adapa 9368504da5
*.py: Use SPDX license identifier
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-02-19 14:38:55 +02:00

40 lines
946 B
Python

# SPDX-License-Identifier: AGPL-3.0-or-later
from django.utils.translation import ugettext_lazy as _
from plinth.modules.backups.api import validate as validate_backup
from plinth.clients import store_url, validate
clients = validate([{
'name':
_('Tiny Tiny RSS (Fork)'),
'platforms': [{
'type': 'store',
'os': 'android',
'store_name': 'f-droid',
'url': store_url('f-droid', 'org.fox.tttrss')
}]
}, {
'name':
_('Tiny Tiny RSS'),
'platforms': [{
'type': 'store',
'os': 'android',
'store_name': 'google-play',
'url': store_url('google-play', 'org.fox.ttrss')
}, {
'type': 'web',
'url': '/tt-rss'
}]
}])
backup = validate_backup({
'data': {
'files': ['/var/lib/plinth/backups-data/ttrss-database.sql']
},
'secrets': {
'files': ['/etc/tt-rss/database.php']
},
'services': ['tt-rss']
})