chiark / gitweb /
Don't take placeholders commits as possible tags
authorDaniel Martí <mvdan@mvdan.cc>
Thu, 5 Mar 2015 14:25:21 +0000 (15:25 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Thu, 5 Mar 2015 14:25:21 +0000 (15:25 +0100)
fdroidserver/lint.py

index 8cf1bf61d903d340f44c8f121f7ae1f8dbbd71d5..9d6e521ae742d797dc1a6e852f9903ac2c8cdbea 100644 (file)
@@ -178,8 +178,9 @@ def main():
 
         # Potentially incorrect UCM
         if (curbuild and curbuild['commit']
-                and app['Update Check Mode'] == 'RepoManifest' and
-                any(s in curbuild['commit'] for s in '.,_-/')):
+                and app['Update Check Mode'] == 'RepoManifest'
+                and curbuild['commit'] != 'unknown - see disabled'
+                and any(s in curbuild['commit'] for s in '.,_-/')):
             pwarn("Last used commit '%s' looks like a tag, but Update Check Mode is '%s'" % (
                 curbuild['commit'], app['Update Check Mode']))