chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c21040
)
Don't auto update apps with the latest build disabled
author
Daniel Martí
<mvdan@mvdan.cc>
Wed, 19 Feb 2014 10:05:55 +0000
(11:05 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Wed, 19 Feb 2014 10:05:55 +0000
(11:05 +0100)
fdroidserver/checkupdates.py
patch
|
blob
|
history
diff --git
a/fdroidserver/checkupdates.py
b/fdroidserver/checkupdates.py
index a7413643c33b6b0541338b8ee001bebf85b2eb21..18f5abb7f10e1f8121437a34b1853cd37bae8b6f 100644
(file)
--- a/
fdroidserver/checkupdates.py
+++ b/
fdroidserver/checkupdates.py
@@
-446,7
+446,10
@@
def main():
gotcur = True
if not latest or int(build['vercode']) > int(latest['vercode']):
latest = build
- if not gotcur:
+
+ if 'disable' in latest:
+ logging.warn('Skipping %s since the latest build is disabled' % app['id'])
+ elif not gotcur:
newbuild = latest.copy()
if 'origlines' in newbuild:
del newbuild['origlines']