On 01/23/2016 04:14 PM, Orion Poplawski wrote:
> It would be very helpful to have information on what packages are
> pulling in what dependencies in the root.log of koji builds.  Is this
> possible with dnf?

I've quickly hacked a proof-of-concept script to do that:

  https://gist.github.com/mizdebsk/21e5fd776aa4ba577582

The script is ran with taskId of buildArch Koji task as argument.
It should print on stdout list of packages in buildroot with dependency
information. Each line of output is in form:

  A: B, C, D

which means that package A pulled in packages B, C and D.
The script can be easily adjusted to do more interesting stuff.

-- 
Mikolaj Izdebski
Software Engineer, Red Hat
IRC: mizdebsk
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to