support "What's New" and "Video" fields from index-v1

fdroidserver currently only supports a single WhatsNew field that
comes from the CurrentVersionCode of the app.  Google Play and
fastlane supply support a WhatsNew field per-release, but we don't use
that data anywhere, and implementing that in the data structures would
add a lot of complexity since Apk would then need to have its own
"localized" section like App does.

The "Video" field is just a URL pointing to a video.

closes #910
This commit is contained in:
Hans-Christoph Steiner
2017-04-14 01:31:33 +02:00
parent 656b3185b2
commit 97fd3f0bad
5 changed files with 50 additions and 15 deletions

View File

@@ -251,6 +251,7 @@ public class IndexV1UpdaterTest extends FDroidProviderTest {
"upstreamVersionCode",
"upstreamVersionName",
"video",
"whatsNew",
"wearScreenshots",
"webSite",
};