chiark / gitweb /
properly parse build metadata list types like gradle=
authorHans-Christoph Steiner <hans@eds.org>
Mon, 7 Nov 2016 20:21:32 +0000 (21:21 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Wed, 16 Nov 2016 22:28:03 +0000 (23:28 +0100)
commit1f55a40caab2114fef088c683a86f47072be9e6f
tree1e41811645846cab1a5407aa81946b6da5bb63af
parent3fb4cba178167c97ef11c100d5422a3ec857adb7
properly parse build metadata list types like gradle=

Something like `gradle: yes` in YAML will be parsed as a boolean, since
'yes' is officially defined as a boolean true in YAML.  For metadata fields
that need to be lists, this needs to be converted.  Same goes for a single
string like `gradle: customFlavor`.
fdroidserver/metadata.py
tests/metadata/net.osmand.plus.pickle
tests/metadata/org.adaway.pickle
tests/metadata/org.videolan.vlc.pickle