chiark / gitweb /
fix "Archive Policy:" field, APKs can move in/out of archive
authorHans-Christoph Steiner <hans@eds.org>
Fri, 23 Jun 2017 21:55:12 +0000 (23:55 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Wed, 28 Jun 2017 21:53:42 +0000 (23:53 +0200)
commite1492148fad46fa0a4b6183562442fc994514df8
tree15ce388a5e33f5b36f6345678b4a08fffa036cf3
parentbe2926ffc88ddc8b72d27f29086869da79848248
fix "Archive Policy:" field, APKs can move in/out of archive

The original logic was checking keepversions against the len() of ALL the
APKs in the repo/archive.  The correct thing is to check against the
number of APKs available for the given packageName/appid.

closes #166
fdroidserver/update.py
tests/run-tests