Re: dnf dependency information for koji builds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <orion@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux