[Toaster] [PATCH 0/2] fix for 7969 - Toaster shows recipes without names to users

Brian Avery avery.brian at gmail.com
Thu Oct 1 14:19:43 PDT 2015


worked for me on both new layer pull and on an old db with bad recipes
and a migration.
Upstreamed and pushed to toaster-next.
-b

p.s. we still have 1 broken orm test but that was there before this test.
broken test:
orm ->FAIL: test_build_layerversion (orm.tests.LayerVersionEquivalenceTestCase)

On Thu, Oct 1, 2015 at 10:08 AM, Ed Bartosh <ed.bartosh at linux.intel.com> wrote:
> Hi,
>
> Fixed 7969. The issue was caused by incomplete records in the database.
> Now the root cause is fixed in backend(lsupdate).
> Just to make sure incomplete records are not shown in UI even if they exist
> another piece of backend(get_all_compatible_recipes) was modified to filter
> out recipes with empty names.
>
> The following changes since commit 7b10ae122d46891c734e786358ea5f36760e8d5e:
>
>   toaster: Fix broken test case (2015-10-01 10:42:16 +0100)
>
> are available in the git repository at:
>
>   git://git.yoctoproject.org/poky-contrib ed/toaster/7969
>   http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/toaster/7969
>
> Ed Bartosh (2):
>   toaster: delete recipe if it can't be saved
>   toaster: exclude recipes with empty names
>
>  bitbake/lib/toaster/orm/models.py | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> --
> Regards,
> Ed
>
> --
> _______________________________________________
> toaster mailing list
> toaster at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/toaster


More information about the toaster mailing list