This commit starts decoupling of big blob of code inside UbiPopulateRunner
class that did almost everything.
Methods for getting modulemd units and modular rpms and srpms was moved away
from this class to *Matcher class. It provides convenient methods for
searching in pulp and also encapsulates functionality of creation of
output sets of units for ubi repositories.
It was written in a way that is completely asynchronous and can be
easily extended with methods for matching e.g. non-modular units.
Currently ubipop is in hybrid state where two pulp clients are used
one from ubipop and the other from pubtools.pulplib. This makes
especially writing tests quite inconvenient.
This commit starts decoupling of big blob of code inside UbiPopulateRunner class that did almost everything.
Methods for getting modulemd units and modular rpms and srpms was moved away from this class to *Matcher class. It provides convenient methods for searching in pulp and also encapsulates functionality of creation of output sets of units for ubi repositories.
It was written in a way that is completely asynchronous and can be easily extended with methods for matching e.g. non-modular units.
Currently ubipop is in hybrid state where two pulp clients are used one from ubipop and the other from pubtools.pulplib. This makes especially writing tests quite inconvenient.