chiark / gitweb /
scanner: allow running without versionCode and as API
authorHans-Christoph Steiner <hans@eds.org>
Tue, 23 Jan 2018 20:55:37 +0000 (21:55 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Fri, 26 Jan 2018 09:18:41 +0000 (10:18 +0100)
commit32213ef040a39bab88f44d1227f13a4c07ed4fae
tree5bb4876eb5525305f9e5761370e9800ac712fe98
parent53f603bf3026a66b0e31abffb74da6921d1e9a34
scanner: allow running without versionCode and as API

This lets `fdroid scanner my.package.name` run without requiring that the
versionCode is also specified.  It also allows scanner.scan_source() to be
called as a function in the public API of fdroidserver.
fdroidserver/scanner.py