mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 15:32:30 +03:00
set "accepted formats" for metadata in config.py
For a bit repo like f-droid.org, it makes sense to standardize on a single format for metadata files. This adds support for enforcing a single data format, or a reduced set of data formats. So f-droid.org would run like this if it changed to YAML: accepted_formats = ['txt', 'yaml'] Then once everything was converted to YAML, it could look like this: accepted_formats = ['yaml']
This commit is contained in:
parent
19ac44c189
commit
325db90918
4 changed files with 37 additions and 19 deletions
|
@ -59,6 +59,7 @@ default_config = {
|
|||
'ant': "ant",
|
||||
'mvn3': "mvn",
|
||||
'gradle': 'gradle',
|
||||
'accepted_formats': ['txt', 'yaml'],
|
||||
'sync_from_local_copy_dir': False,
|
||||
'per_app_repos': False,
|
||||
'make_current_version_link': True,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue