chiark / gitweb /
lint: error on `fdroid import` disable line
authorDaniel Martí <mvdan@mvdan.cc>
Thu, 3 Mar 2016 14:19:32 +0000 (14:19 +0000)
committerDaniel Martí <mvdan@mvdan.cc>
Thu, 3 Mar 2016 14:19:32 +0000 (14:19 +0000)
fdroidserver/lint.py

index 8760e1db527dc0e4f999f6807b5c69b8b3ace0d5..94cb81fc5fd4575f7ccd5871e4ca5eae3aafd896 100644 (file)
@@ -297,6 +297,8 @@ def check_bulleted_lists(app):
 def check_builds(app):
     for build in app.builds:
         if build.disable:
+            if build.disable.startswith('Generated by import.py'):
+                yield "Build generated by `fdroid import` - remove disable line once ready"
             continue
         for s in ['master', 'origin', 'HEAD', 'default', 'trunk']:
             if build.commit and build.commit.startswith(s):