mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
Print version names and srclibs for reference
This commit is contained in:
parent
03975808a3
commit
b94a772ad9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user