update: include "What's New" texts when they are available

This uses the "What's New" entry for the CurrentVersionCode and includes it
as the current WhatsNew metadata for the App class.

Things like fastlane supply and Google Play support a "What's New" entry
per-APK, but fdroidclient does not current use anything but the current
version of this data.  Right now, it seems we probably only want to have
the latest WhatsNew in the index to save space.

In theory, we could make the WhatsNew data structure follow the structure
of fastlane/Play, but that would quite a bit of complexity for something
that might never be used.

fdroidclient#910
This commit is contained in:
Hans-Christoph Steiner 2017-04-13 23:36:46 +02:00
parent 822c2d3992
commit 9589d13ef2
7 changed files with 66 additions and 2 deletions

View file

@ -0,0 +1 @@
full description