On 01/25/2016 11:37 AM, Michael Schroeder wrote:
> On Sat, Jan 23, 2016 at 04:26:43PM +0100, Dan Horák wrote:
>> On Sat, 23 Jan 2016 08:14:44 -0700
>> Orion Poplawski <or...@cora.nwra.com> 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'm worried it's similar to the issue discussed in
>> https://bugzilla.redhat.com/show_bug.cgi?id=1148627 where libsolv
>> provides only the top level result.
> 
> It's not libsolv that only provides the top level result. libsolv provides
> all the needed data, it's dnf/hawkey that only displays the top level.
> 
> Regarding the pulled in dependencies, libsolv also provides that, but
> hawkey doesn't have an API for it (yet?).

It is possible to reconstruct dependency graph from hawkey sack.

(Koschei does that to compute "dependency distance" - minimal number of
edges you need to traverse in order to get from SRPM to given
build-dependency package. [1])

[1]
https://github.com/msimacek/koschei/blob/fd48addd9f401889916dc7e58893bc563dcca909/koschei/util.py#L312

-- 
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