[Toaster] [review-request] adamian/20150506_toasterloggerfixes

Damian, Alexandru alexandru.damian at intel.com
Thu May 14 08:58:18 PDT 2015


Hi,

I did a bit of refactoring on the toaster build logger which fixes some
issues, and clear up the path for future improvement.

* the "local_path" property of the Layer is now moved to Layer_Version. It
was a mistake to assign specific build-local paths to the generic Layer
information, as it is naturally a property of a specific Layer checkout,
which is what a Layer Version is.

* all the recipe paths are now relative to a Layer_Version checkout, no
more absolute paths. This allows us to link a recipe file directly to a
remote GIT repo of a Layer, if needed.

* the "namespace" (e.g virtual:native: ) part of a recipe path is stored in
a new field; all paths are now clean paths, so they can be manipulated as
such. Storing the namespace separately should also fix the
mis-identification of tasks between native and normal tasks, for example
(multiple bugs opened on this one)

* all the builds now occur under a Project. this is the first step for the
unification of Managed and Interactive modes. The UI interface is not
changed.

* django auth tables are now created under interactive mode, too. This
allows us to get rid of the atrocity of storing display state on the
front-end cookies. Another step in the unification of modes.

* some smaller fixes regarding data collection are in there.

Can you please see if this makes sense to you ?

Cheers,
Alex


-- 
Alex Damian
Yocto Project
SSG / OTC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20150514/8ef50e0b/attachment.html>


More information about the toaster mailing list