mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Print version names and srclibs for reference
This commit is contained in:
parent
03975808a3
commit
b94a772ad9
1 changed files with 4 additions and 2 deletions
|
|
@ -200,12 +200,14 @@ def main():
|
||||||
for n in ['master', 'origin/', 'default', 'trunk']:
|
for n in ['master', 'origin/', 'default', 'trunk']:
|
||||||
if 'commit' in build:
|
if 'commit' in build:
|
||||||
if build['commit'].startswith(n):
|
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:
|
if 'srclibs' in build:
|
||||||
for srclib in build['srclibs']:
|
for srclib in build['srclibs']:
|
||||||
ref = srclib.split('@')[1].split('/')[0]
|
ref = srclib.split('@')[1].split('/')[0]
|
||||||
if ref.startswith(n):
|
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:
|
if not appid:
|
||||||
print
|
print
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue