1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00

checkupdates --gplay: inform if not bigger but different version

Could be useful to detect some potential issues.
eg. if comparison with LooseVersion is too lose or if there is some
renumbering in the application.

This is activated only if options.verbose is set

Signed-off-by: Jean Privat <jean@pryen.org>
This commit is contained in:
Jean Privat 2014-01-15 11:25:31 -05:00
parent 01c45a054d
commit 934037fe3c

View File

@ -322,8 +322,12 @@ def main():
print "%s has version %s on the Play Store, which is bigger than %s" % (
common.getappname(app), version, stored)
elif options.verbose:
print "%s has the same version %s on the Play Store" % (
common.getappname(app), version)
if stored != version:
print "%s has version %s on the Play Store, which differs from %s" % (
common.getappname(app), version, stored)
else:
print "%s has the same version %s on the Play Store" % (
common.getappname(app), version)
return