mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 15:30:28 +03:00
Warn about branches used in commit=
This commit is contained in:
parent
e19ef06671
commit
c9d8146f9e
1 changed files with 9 additions and 0 deletions
|
|
@ -109,6 +109,15 @@ def main():
|
||||||
if m.match(app[f]):
|
if m.match(app[f]):
|
||||||
warn("%s url '%s': %s" % (f, app[f], r))
|
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:
|
if not appid:
|
||||||
print
|
print
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue