gather: Print full unresolved dependency
We should not lose the flag and version. The name is not sufficient to fully determine the problem. The log information printed in `pungi/gather.py` is parsed by regex in `pungi/wrappers/pungi.py`. It handles the dependency with spaces and versions fine. JIRA: COMPOSE-2880 Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
9278008ba0
commit
a5fa4457c3
@ -631,7 +631,10 @@ class Pungi(PungiBase):
|
||||
deps = self.ayum.whatProvides(r, f, v).returnPackages()
|
||||
deps = self.excludePackages(deps)
|
||||
if not deps:
|
||||
self.logger.warn("Unresolvable dependency %s in %s.%s" % (r, po.name, po.arch))
|
||||
self.logger.warn(
|
||||
"Unresolvable dependency %s in %s.%s"
|
||||
% (Req(req), po.name, po.arch)
|
||||
)
|
||||
continue
|
||||
|
||||
if self.greedy_method == "all":
|
||||
|
Loading…
Reference in New Issue
Block a user