class Autoproj::OSPackageQuery

Match class to query OS packages

This class allows to create a query object based on a textual representation, and then match osdeps packages using this query object.

The queries are of the form

FIELD=VALUE:FIELD~VALUE:FIELD=VALUE

The F=V form requires an exact match while F~V allows partial matches. The different matches are combined with AND (i.e. only packages matching all criterias will be returned)

The following fields are allowed:

* name: the osdep name
* real_package: a regexp that matches the name of the underlying package
* package_manager: a regexp that matches the underlying package manager