class Autoproj::SourcePackageQuery

Match class for the query system.

This class allows to create a query object based on a textual representation, and then match 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:

* autobuild.name: the package name
* autobuild.srcdir: the package source directory
* autobuild.class.name: the package class
* vcs.type: the VCS type (as used in the source.yml files)
* vcs.url: the URL from the VCS. The exact semantic of it depends on the
  VCS type
* package_set.name: the name of the package set that defines the package

Some fields have shortcuts:

* 'name' can be used instead of 'autobuild.name'
* 'class' can be used instead of 'autobuild.class.name'
* 'vcs' can be used instead of 'vcs.url'
* 'package_set' can be used instead of 'package_set.name'