chiark / gitweb /
support app metadata in XML format
authorHans-Christoph Steiner <hans@eds.org>
Thu, 23 Jul 2015 01:40:31 +0000 (18:40 -0700)
committerHans-Christoph Steiner <hans@eds.org>
Tue, 1 Sep 2015 09:39:51 +0000 (11:39 +0200)
commitab145de6bc50568b185827acb75931ea2b1a7a02
treea20d047a227ebc4b7b531478b1fdb7c7cb8cf7cb
parent2831b3e93f5cdf0f91d87936b721976da327529f
support app metadata in XML format

While the current text metadata format is good for human readability and
editability, it is difficult to produce and parse using code.  XML is a
widespread standard format for easy automatic parsing and creating, while
having decent human readability.

The .pickle for testing is a lightly edited version of the real metadata
for net.osmand.plus:

* comments were removed
* "NonFreeNet" was added as an AntiFeature
fdroidserver/metadata.py
tests/metadata.TestCase
tests/metadata/net.osmand.plus.pickle [new file with mode: 0644]
tests/metadata/net.osmand.plus.xml [new file with mode: 0644]