From 934037fe3c07db393481a7987bb095d14666de81 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Wed, 15 Jan 2014 11:25:31 -0500 Subject: [PATCH] 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 --- fdroidserver/checkupdates.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/fdroidserver/checkupdates.py b/fdroidserver/checkupdates.py index 8adaf297..fbaf5684 100644 --- a/fdroidserver/checkupdates.py +++ b/fdroidserver/checkupdates.py @@ -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 -- 2.30.2