chiark / gitweb /
lint: remove "no recommended build" check
authorDaniel Martí <mvdan@mvdan.cc>
Fri, 11 Sep 2015 00:54:27 +0000 (17:54 -0700)
committerDaniel Martí <mvdan@mvdan.cc>
Fri, 11 Sep 2015 00:54:41 +0000 (17:54 -0700)
In some cases we do want to not recommend any version. The client should more
or less gracefully handle this.

fdroidserver/lint.py

index 94abdcc90ba857b8b42e2107d1d6d659e3885558..f5ac89758209e860309a162956b6c28ae2f428a1 100644 (file)
@@ -228,10 +228,6 @@ def main():
         if app['Update Check Name'] == appid:
             warn("Update Check Name is set to the known app id - it can be removed")
 
-        cvc = int(app['Current Version Code'])
-        if cvc > 0 and cvc < lowest_vercode:
-            warn("Current Version Code is lower than any enabled build")
-
         # Missing or incorrect categories
         if not app['Categories']:
             warn("Categories are not set")