packetary/packetary/objects
Alexandru Avadanii 25b8673f84 packages_tree: exact match trumps other providers
Ubuntu frequently has multiple providers for the same package name,
e.g. "vim" is provided by "vim", "vim-gnome" etc.

We need to adjust the resolving algorithm to:
1. lookup in virtual packages
2. lookup in packages
3. lookup in obsoletes.
Use the package which was found last (version-sorted).

Closes-bug: 1656888

Change-Id: I7279aa6526ff9133829be2e316932c9b052c7814
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-01-26 19:00:00 +01:00
..
__init__.py [RPM] Use yum library for packages comparison 2016-06-01 15:18:08 +03:00
base.py Update file-headers 2015-12-29 12:08:39 +03:00
index.py Unify input data format 2016-01-28 17:27:15 +00:00
package.py Add package filtering feature 2016-02-20 07:00:52 +03:00
package_relation.py Unify input data format 2016-01-28 17:27:15 +00:00
packages_forest.py Allow to search mandatory packages in all forest 2016-07-05 22:45:28 +03:00
packages_tree.py packages_tree: exact match trumps other providers 2017-01-26 19:00:00 +01:00
repository.py [priority] Merge repos with the same priority 2016-06-14 13:42:34 +03:00