Refactor yum.py collecting packages functionality

Registered by Stanislav Kudriashev on 2013-10-18

Since yum.py functions to get desired packages from dependencies and from instances are quite similar - they need to be refactored to run common part only once. Generally, both function get list of requirements, convert them to rpm names and return list. This is what is very similar about them.
Moreover, it is required that both functions return Requirements objects instead of objects and strings to prevent additional checking and conversion before passing them to install transaction.
Possibly, convert_names_to_rpm should be able to work with Requirement objects, but this should be checked.

Blueprint information

Status:
Complete
Approver:
Ivan Melnikov
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
Stanislav Kudriashev
Definition:
New
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Stanislav Kudriashev on 2013-10-18
Completed by
Stanislav Kudriashev on 2013-10-24

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/yum-refactor-collecting-packages,n,z

Addressed by: https://review.openstack.org/52609
    Refactor yum packages collection mechanism

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.