mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +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']:
|
||||
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…
Add table
Add a link
Reference in a new issue