generic-poky/bitbake/lib/toaster/orm
Alexandru DAMIAN e3e85bdf71 bitbake: toaster logger: refactor recipe and layer file paths
This refactoring brings the "local_path" of the
layer from the Layer object to the Layer_Version object, which
is more appropriate as different checkouts of the same
Layer may live in different directories.

This enables us to store Recipe file paths relative to a Layer_Version
at all times, aleviating the need to store full file paths in the
database. We also turn the prefix of the path (e.g. virtual:native
path name space) into a pathflag field.

In turn, this solves the problem of mis-identification of tasks based
on the recipe file paths, since we can also match the namespace of the
file paths on the recipe files.

[YOCTO #7594]

(Bitbake rev: ec43dc569e370767c709dec225cbee0c99151c19)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-29 11:59:43 +01:00
..
management bitbake: toaster: update orm models for layerindex compatibility 2014-08-29 13:56:49 +01:00
migrations bitbake: toaster logger: refactor recipe and layer file paths 2015-05-29 11:59:43 +01:00
__init__.py bitbake: toaster: add toaster code to bitbake 2013-10-18 11:13:49 +01:00
admin.py bitbake: toaster: improvements for admin pages 2014-10-30 13:39:51 +00:00
models.py bitbake: toaster logger: refactor recipe and layer file paths 2015-05-29 11:59:43 +01:00
tests.py bitbake: toastergui: improvements in layer selection logic 2015-02-10 23:07:48 +00:00
urls.py bitbake: add POST endpoint for uploading eventlog files 2014-12-18 10:24:06 +00:00
views.py bitbake: toasterui: proper exit code on toaster errors 2015-05-08 17:42:05 +01:00