1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00

Warn about branches used in commit=

This commit is contained in:
Daniel Martí 2014-01-20 11:10:00 +01:00
parent e19ef06671
commit c9d8146f9e

View File

@ -109,6 +109,15 @@ def main():
if m.match(app[f]):
warn("%s url '%s': %s" % (f, app[f], r))
# Build warnings
for build in app['builds']:
for n in ['master', 'origin/', 'default', 'trunk']:
if 'commit' not in build:
continue
if build['commit'].startswith(n):
warn("Branch '%s' used as commit" % n)
if not appid:
print