1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-03 17:50:11 +02:00
fdroidserver/tests/metadata
Hans-Christoph Steiner c0bc3afda9 convert metadata.Build to a subclass of dict
Like with the App class in the commit before, this makes it a lot
easier to work with this data when converting between the internal
formats and external formats like YAML, JSON, MsgPack, protobuf, etc.

The one unfortunate thing here is Build.update. It becomes
dict.update(), which is a method not an attribute.
build.get('update') or build['update'] could be used, but that would
be oddly inconsistent. So instead the field is renamed to
'androidupdate', except for in the .txt v0 metadata files. This better
describes what field does anyway, since it runs `android update`.

Build.update is only referenced in two places right next to each other
for the ant builds, so this change still seems worthwhile.
2017-02-24 11:01:01 +01:00
..
dump convert metadata.Build to a subclass of dict 2017-02-24 11:01:01 +01:00
info.guardianproject.checkey.txt allow metadata to be embedded in source repos via .fdroid.yml 2016-11-16 23:28:03 +01:00
info.guardianproject.urzip.txt use utf-8 as default encoding for config.py 2016-02-17 00:26:16 +01:00
obb.main.oldversion.txt tests for finding the proper OBB files for each APK 2016-07-07 22:34:41 +02:00
obb.main.twoversions.txt tests for finding the proper OBB files for each APK 2016-07-07 22:34:41 +02:00
obb.mainpatch.current.txt tests for finding the proper OBB files for each APK 2016-07-07 22:34:41 +02:00
org.adaway.json convert metadata.Build to a subclass of dict 2017-02-24 11:01:01 +01:00
org.fdroid.ci.test.app.txt allow metadata to be embedded in source repos via .fdroid.yml 2016-11-16 23:28:03 +01:00
org.smssecure.smssecure.txt convert metadata.Build to a subclass of dict 2017-02-24 11:01:01 +01:00
org.videolan.vlc.yml convert metadata.Build to a subclass of dict 2017-02-24 11:01:01 +01:00
raw.template.txt allow metadata to be embedded in source repos via .fdroid.yml 2016-11-16 23:28:03 +01:00