1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-08-16 03:10:09 +02:00

lint: error on fdroid import disable line

This commit is contained in:
Daniel Martí 2016-03-03 14:19:32 +00:00
parent d4f7097638
commit 920f11d047

View 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):