From 2845cb56cc77eada03601a2457d87c2db4a37e0a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Mart=C3=AD?= Date: Fri, 15 Aug 2014 12:29:03 +0200 Subject: [PATCH] Also warn about HEAD, ignore disabled builds --- fdroidserver/lint.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index 9656452a..3c6ae6ed 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -226,7 +226,9 @@ def main(): # Build warnings for build in app['builds']: - for s in ['master', 'origin/', 'default', 'trunk']: + if build['disable']: + continue + for s in ['master', 'origin', 'HEAD', 'default', 'trunk']: if build['commit'] and build['commit'].startswith(s): warn("Branch '%s' used as commit in build '%s'" % ( s, build['version'])) -- 2.30.2