chiark / gitweb /
preserve metadata when copying APK signatures
authorHans-Christoph Steiner <hans@eds.org>
Fri, 20 Oct 2017 20:07:28 +0000 (22:07 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Wed, 25 Oct 2017 21:01:25 +0000 (23:01 +0200)
commitdd6d4b20121a51431df186d0de4dac2f95b0b5c2
tree135a4850814c2e0b5772b87ed4f86b1696a994c7
parent17efa13183561af7aa39270f8718eadb7eb8fb32
preserve metadata when copying APK signatures

Since this code was not setting the "create system" and "compress type",
Python uses it's defaults.  Those will be different than what the Android
tools produces if this is run on UNIX.  The Android tools uses the bare
bones "Windows" ZIP format, e.g. no permissions, etc.

For example:
https://verification.f-droid.org/eu.siacs.conversations_234.apk.diffoscope.html
fdroidserver/common.py