From b94a772ad9a290088c0d074583c7828ec97bd445 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Tue, 18 Mar 2014 12:46:40 +0100 Subject: [PATCH] Print version names and srclibs for reference --- fdroidserver/lint.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index 0492b77a..079c2baf 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -200,12 +200,14 @@ def main(): for n in ['master', 'origin/', 'default', 'trunk']: if 'commit' in build: if build['commit'].startswith(n): - warn("Branch '%s' used as commit" % n) + warn("Branch '%s' used as commit in build '%s'" % ( + n, build['version'])) if 'srclibs' in build: for srclib in build['srclibs']: ref = srclib.split('@')[1].split('/')[0] if ref.startswith(n): - warn("Branch '%s' used as srclib commit" % n) + warn("Branch '%s' used as commit in srclib '%s'" % ( + n, srclib)) if not appid: print