recursive_build_report: Show what to_repo has
This commit is contained in:
parent
166cd3125b
commit
56c981c56e
@ -375,7 +375,11 @@ def recursive_build_report(from_repo, to_repo, *source_names,
|
||||
while stack:
|
||||
cur = stack.pop()
|
||||
report = _raw_build_report(from_repo, to_repo, cur, ignore)
|
||||
reports.append(format_triplet_report(report, cur.decode()))
|
||||
cur_in_to = to_repo.binaries.get(cur)
|
||||
cur_source_srpm = cur_in_to.source_rpm if cur_in_to else b'NONE'
|
||||
reports.append('\n== %s ==\n%s has %s\n' % (
|
||||
cur.decode(), to_repo.name, cur_source_srpm.decode()))
|
||||
reports.append(format_triplet_report(report))
|
||||
|
||||
# find all sources in the report
|
||||
bld_deps = set(p.source_name for k, _d, p in report if k == _BUILDREQ)
|
||||
|
Loading…
Reference in New Issue
Block a user