layerindex-web/layerindex
Paul Eggleton a988b6ba08 views: support querying class inheritance
It's a little crude and certainly not optimal performance-wise, but we
can support querying for recipes that inherit a particular class without
too much trouble. This allows you to add "inherits:cmake" to the query
and have it return only recipes that inherit the cmake class. You can
use more than one inherits: item to filter down to recipes that inherit
all of the specified classes.

Note: this does not otherwise change the behaviour of specifying
multiple words - all of the words other than those that start with
"inherits:" are treated as part of a single phrase that will be searched
for - not separate keywords.

Fixes [YOCTO #9879].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-11-16 16:08:37 +13:00
..
migrations Record and display update logs 2016-11-16 15:31:46 +13:00
static editlayer: allow selecting web interface type 2016-10-25 20:33:42 +13:00
templatetags Support (and require) Python 3 2016-06-12 11:33:08 +12:00
tools layerindexer: Add layer recommends support 2016-10-18 16:42:16 +13:00
__init__.py Initial commit of layerindex-web 2013-02-13 12:09:57 +00:00
admin.py Record and display update logs 2016-11-16 15:31:46 +13:00
bulkchange.py layerindex/recipeparse.py: refactor setup_tinfoil, checkout_layer_branch, parse_layer_conf to utils.py 2016-10-18 16:42:16 +13:00
context_processors.py Use Django sites framework to specify website title 2013-12-28 11:03:29 +00:00
forms.py Update to Django 1.8 2016-09-20 20:37:45 +12:00
layerconfparse.py update_layer: fix regressions in missing layer detection 2016-11-07 16:39:38 +13:00
models.py Record and display update logs 2016-11-16 15:31:46 +13:00
querysethelper.py Use functools.reduce instead of reduce 2016-07-04 09:51:21 +12:00
recipedesc.py Support (and require) Python 3 2016-06-12 11:33:08 +12:00
recipeparse.py recipeparse: remove unnecessary else statement 2016-10-18 16:42:16 +13:00
restperm.py expose REST API for layerindex 2014-09-24 11:32:34 +01:00
restviews.py layerindex: Add distro to web interface and model 2016-10-18 16:42:15 +13:00
simplesearch.py Improve recipe search 2013-02-19 17:22:45 +00:00
update_layer.py update_layer: fix regressions in missing layer detection 2016-11-07 16:39:38 +13:00
update.py Record and display update logs 2016-11-16 15:31:46 +13:00
urls_branch.py Record and display update logs 2016-11-16 15:31:46 +13:00
urls.py Record and display update logs 2016-11-16 15:31:46 +13:00
utils.py Record and display update logs 2016-11-16 15:31:46 +13:00
views.py views: support querying class inheritance 2016-11-16 16:08:37 +13:00