Bug 703878 - RFE Include list of missing dependencies on /services/dependencies/ api.
Summary: RFE Include list of missing dependencies on /services/dependencies/ api.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: Sprint 25
Assignee: Pradeep Kilambi
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-11 14:02 UTC by Justin Sherrill
Modified: 2012-02-24 20:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-24 20:13:07 UTC


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.