Bug 703878

Summary: RFE Include list of missing dependencies on /services/dependencies/ api.
Product: [Retired] Pulp Reporter: Justin Sherrill <jsherril>
Component: z_otherAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: skarmark, tsanders
Target Milestone: ---Keywords: Triaged
Target Release: Sprint 25   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-24 20:13:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Justin Sherrill 2011-05-11 14:02:40 UTC
Description of problem:

Currently the /services/dependencies/ api call does not tell you if there were any missing dependencies found or what they were.  If it could also return a list of packages and their missing dependencies, that would be awesome.  

Something like

"missing_deps":{"foo-1.2.3":["dep1", "dep2"]}

Comment 1 Pradeep Kilambi 2011-07-08 14:42:14 UTC
fixed! commit e054cc06c4f2b5e977daed0bdabfb5e85c99cb8d

The result should return additional field in rsult dict named 'unresolved_dependencies'

Comment 2 Jeff Ortel 2011-07-14 20:34:24 UTC
Build 0.206, CR14.

Comment 3 Preethi Thomas 2011-09-27 19:14:22 UTC
verified
[root@preethi integration]# rpm -q pulp
pulp-0.0.234-1.fc15.noarch

[root@preethi integration]# python deptest.py upload zsh
starting recursive solve Tue Sep 27 15:23:45 2011
========= Non Recursive Results ============

# of deps: 0

========= Missing Dependencies =========

{'mktemp': [], 'libdl.so.2(GLIBC_2.2.5)(64bit)': [], 'grep': [], 'libtinfo.so.5()(64bit)': [], 'libdl.so.2()(64bit)': [], 'libc.so.6(GLIBC_2.11)(64bit)': [], 'libncursesw.so.5()(64bit)': [], 'rtld(GNU_HASH)': [], 'coreutils': [], '/bin/sh': [], 'fileutils': [], 'libm.so.6(GLIBC_2.2.5)(64bit)': [], '/sbin/install-info': [], 'libm.so.6()(64bit)': []}
========= Recursive Results ============

# of deps: 0

========= Missing Dependencies =========

{'mktemp': [], 'libdl.so.2(GLIBC_2.2.5)(64bit)': [], 'grep': [], 'libtinfo.so.5()(64bit)': [], 'libdl.so.2()(64bit)': [], 'libc.so.6(GLIBC_2.11)(64bit)': [], 'libncursesw.so.5()(64bit)': [], 'rtld(GNU_HASH)': [], 'coreutils': [], '/bin/sh': [], 'fileutils': [], 'libm.so.6(GLIBC_2.2.5)(64bit)': [], '/sbin/install-info': [], 'libm.so.6()(64bit)': []}
========= Dependency Tree =========

{'zsh-4.3.10-5.fc14.x86_64': {('coreutils', None, (None, None, None)): [], ('grep', None, (None, None, None)): [], ('libdl.so.2()(64bit)', None, (None, None, None)): [], ('/sbin/install-info', None, (None, None, None)): [], ('libtinfo.so.5()(64bit)', None, (None, None, None)): [], ('mktemp', None, (None, None, None)): [], ('libc.so.6(GLIBC_2.11)(64bit)', None, (None, None, None)): [], ('libdl.so.2(GLIBC_2.2.5)(64bit)', None, (None, None, None)): [], ('libm.so.6()(64bit)', None, (None, None, None)): [], ('rtld(GNU_HASH)', None, (None, None, None)): [], ('fileutils', None, (None, None, None)): [], ('libncursesw.so.5()(64bit)', None, (None, None, None)): [], ('/bin/sh', None, (None, None, None)): [], ('libm.so.6(GLIBC_2.2.5)(64bit)', None, (None, None, None)): []}}
1
End recursive solve Tue Sep 27 15:23:45 2011
[root@preethi integration]#

Comment 4 Preethi Thomas 2012-02-24 20:13:07 UTC
Pulp v1.0 is released
Closed Current Release.