[Toaster] [PATCH 0/7] Fix 8004

Barros Pena, Belen belen.barros.pena at intel.com
Thu Oct 1 02:39:33 PDT 2015



On 30/09/2015 13:02, "toaster-bounces at yoctoproject.org on behalf of Ed
Bartosh" <toaster-bounces at yoctoproject.org on behalf of
ed.bartosh at linux.intel.com> wrote:

>Hi,
>
>This patchset fixes bug 8004: importing a layer from the recipes page
>auto adds the 1st level dependencies but not the 2nd level.
>Now dependent layers are discovered recursively and Toaster shows all of
>them
>in Compatible layers view.
>
>The patchset includes fixes for orm test suite and new test case for
>Layer_Version.get_alldeps API used in this bug fix.
>
>Please review.
>
>
>The following changes since commit
>f8bd18184a84e6de1976ecb4d0d929c55bc19a66:
>
>  toaster: orm remove the complicated querying on the ORM (2015-09-28
>20:07:38 -0700)
>
>are available in the git repository at:
>
>  git://git.yoctoproject.org/poky-contrib ed/toaster/8004
>  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/toaster/8004

This seems to be working, except for a small issue: the second-level
dependency information is not showing up in the layer details page. So,
for example, if you look at meta-aurora in the compatible layers table,
you get 6 dependencies listed. If you add meta-aurora to your project, you
also get 6 dependencies listed in the dependencies modal dialog. But if
you click meta-aurora and check the layer details page, there are only 4
dependencies listed. We need to show the second-level dependency
information in the layer details page too.

Thanks!

Belén

>
>Ed Bartosh (7):
>  toaster: implement API to get full list of deps
>  toaster: use get_alldeps in layerdetails renderer
>  toaster: add template filter get_alldeps
>  toaster: use get_alldeps in LayerTable
>  toaster: fix NameError
>  toaster: fix orm tests
>  toaster: test get_alldeps API
>
> bitbake/lib/toaster/orm/models.py                  | 21 ++++++++-
> bitbake/lib/toaster/orm/tests.py                   | 53
>++++++++++------------
> bitbake/lib/toaster/toastergui/tables.py           | 11 +++--
> .../toaster/toastergui/templatetags/projecttags.py |  4 ++
> bitbake/lib/toaster/toastergui/views.py            |  4 +-
> 5 files changed, 55 insertions(+), 38 deletions(-)
>
>-- 
>Ed
>
>-- 
>_______________________________________________
>toaster mailing list
>toaster at yoctoproject.org
>https://lists.yoctoproject.org/listinfo/toaster



More information about the toaster mailing list