chiark / gitweb /
Merge branch 'support-xml-json-yaml-for-metadata' into 'master'
authorDaniel Martí <mvdan@mvdan.cc>
Tue, 1 Sep 2015 17:29:11 +0000 (17:29 +0000)
committerDaniel Martí <mvdan@mvdan.cc>
Tue, 1 Sep 2015 17:29:11 +0000 (17:29 +0000)
commitca8ab7675db68add4b4c3e6e28718e4c4b762f09
tree1739db0ab5e9d68f3756bb48dfbe5d7b8886b5d9
parent64baa558bf4dddf02e3e28cb90346652682afc99
parent325db909187e75966ea70388c0621409e4ae93e6
Merge branch 'support-xml-json-yaml-for-metadata' into 'master'

Support XML, JSON, and YAML for metadata

Add support for app metadata files in JSON, XML, and YAML data formats.  All of the formats use the exact same metadata tags, so there is no translation layer needed.  They all just parse the data into the same internal data format: Python dicts.  Supporting these standard formats will make it much easier for people to write recipes since they can choose a data format that they are familiar with.  It also makes it much easier to generate metadata programmatically, since there are good libraries for working with all three formats in basically every language (unlike FDroid's .txt format).

Here are the same tags in .txt, JSON, XML, and YAML:

    Source Code:https://github.com/SMSSecure/SMSSecure
    "Source Code": "https://github.com/SMSSecure/SMSSecure",
    <string name="Source Code">https://github.com/SMSSecure/SMSSecure</string>
    Source Code: https://github.com/SMSSecure/SMSSecure

Looking for comments, suggestions, flames, etc. from @CiaranG, @mvdan, and everyone else.

See merge request !57