Bug 1377880

Summary: The dependency analyser loads repositories first instead of packages
Product: [Community] rpmdeplint Reporter: Roman Joost <rjoost>
Component: generalAssignee: Roman Joost <rjoost>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.1CC: bmcivor, dcallagh, jorris, rjoost
Target Milestone: 1.2   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-17 03:29:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Roman Joost 2016-09-20 22:01:36 UTC
Description of problem:

If we've passed packages to rpmdeplint which can not be loaded, the dependency analyser bails out after it has loaded all repository information. Loading the repository information first can take quite a while consuming network resources. 

Version-Release number of selected component (if applicable):

1.1


How reproducible:

100%

Steps to Reproduce:
1. invoke rpmdeplint with a set of repositories and packages, which one of them doesn't exist
2. rpmdeplint loads repository information first
3. bails out with: IOError: Can not load RPM file: <rpm to load>

Actual results:

Network resources consumed even tho, some packages under test are not available.

Expected results:

First load the packages, then repository information.

Additional info:

Comment 1 Roman Joost 2016-09-21 03:14:37 UTC
Path available:

https://gerrit.beaker-project.org/#/c/5251/

Comment 2 Dan Callaghan 2016-10-17 03:29:52 UTC
rpmdeplint 1.2 has been released.