chiark / gitweb /
set "accepted formats" for metadata in config.py
authorHans-Christoph Steiner <hans@eds.org>
Thu, 27 Aug 2015 09:43:17 +0000 (11:43 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Tue, 1 Sep 2015 09:53:37 +0000 (11:53 +0200)
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']


No differences found