chiark / gitweb /
index.xml cannot handle APKs with the same packageName/versionCode
authorHans-Christoph Steiner <hans@eds.org>
Wed, 31 May 2017 19:43:40 +0000 (21:43 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Thu, 1 Jun 2017 14:01:05 +0000 (16:01 +0200)
commitceac6d25cba7991a717cb7f1f287b46f369bd331
tree85197f100269ac530454b45817713e0a3d52a763
parent4053f03d77e99b24bccf6f43ce63287cef410e37
index.xml cannot handle APKs with the same packageName/versionCode

Really, it is the fdroidclient parser of index.xml that fails, due to the
hardcoded expectation that there will only ever be a single APK for any
given versionCode.  We keep index.xml backwards compatible for old
clients, and use index-v1.json to support new things.  Having multiple
APKs that have the same packageName and versionCode will break the client
v0.103.* since that version uses index-v1.json, but still has the hard-
coded database parsing stuff.

#153
fdroidserver/index.py
tests/run-tests