chiark / gitweb /
regexs for getting packageName and versionCode from filenames
authorHans-Christoph Steiner <hans@eds.org>
Wed, 31 May 2017 21:02:28 +0000 (23:02 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Thu, 1 Jun 2017 14:01:05 +0000 (16:01 +0200)
commit9471bf273117694bf671ae627d0e7dcc956562d3
treec7578f15b91a52d5f664548b250e58c1c3f482d7
parentceac6d25cba7991a717cb7f1f287b46f369bd331
regexs for getting packageName and versionCode from filenames

This is useful for parsing APK files, which can include packageName,
versionCode, and optionally 7 char signing key ID (i.e. <sig>).
This also can set the packageName and versionCoe for non APK files, so
that it is easy to assign them to metadata files, and to allow for
upgrades by setting the versionCode in the filename.
fdroidserver/common.py
fdroidserver/update.py
tests/common.TestCase
tests/stats/known_apks.txt