chiark / gitweb /
update: include "What's New" texts when they are available
authorHans-Christoph Steiner <hans@eds.org>
Thu, 13 Apr 2017 21:36:46 +0000 (23:36 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Wed, 19 Apr 2017 08:05:24 +0000 (10:05 +0200)
commit9589d13ef2e10731771d4ce3ce8f16853ac80edc
treeb668d8410d73b3cd559e88c3000387ea7dfacfa3
parent822c2d39924c46fa78277c82c60af7537ef4cc6e
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
fdroidserver/update.py
tests/metadata/info.guardianproject.urzip/en-US/changelogs/100.txt [new file with mode: 0644]
tests/metadata/info.guardianproject.urzip/en-US/full_description.txt [new file with mode: 0644]
tests/metadata/info.guardianproject.urzip/en-US/short_description.txt [new file with mode: 0644]
tests/metadata/info.guardianproject.urzip/en-US/title.txt [new file with mode: 0644]
tests/metadata/info.guardianproject.urzip/en-US/video.txt [new file with mode: 0644]
tests/update.TestCase