mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 15:30:28 +03: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:
parent
01c45a054d
commit
934037fe3c
1 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue