On 30/09/2015 13:02, "[email protected] on behalf of Ed Bartosh" <[email protected] on behalf of [email protected]> 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 >[email protected] >https://lists.yoctoproject.org/listinfo/toaster -- _______________________________________________ toaster mailing list [email protected] https://lists.yoctoproject.org/listinfo/toaster
