Bug 1377880 - The dependency analyser loads repositories first instead of packages
Summary: The dependency analyser loads repositories first instead of packages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: rpmdeplint
Classification: Community
Component: general
Version: 1.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: 1.2
Assignee: Roman Joost
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-20 22:01 UTC by Roman Joost
Modified: 2016-10-17 03:29 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-17 03:29:52 UTC


Attachments (Terms of Use)

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.


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