From 97278fb51c3d4fe46c2a3110015e291fdc5d502d Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Thu, 21 Jul 2016 14:43:30 +0100 Subject: bitbake: toaster: orm Remove the layerindex specific up_branch fields We don't need to keep track of layerindex data in our database. And using branch==release is very confusing in the schema. Instead use the existing Release definition to keep track of which release a layer_version is for. Remove the Branch model and all references to it. Create a migration path to convert from up_branches to their corresponding releases. (Bitbake rev: f8f4cffe6fd371f3a7e63690c68f3fcb5dc1f297) Signed-off-by: Michael Wood Signed-off-by: Elliot Smith Signed-off-by: Richard Purdie --- .../fixtures/toastergui-unittest-data.xml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'bitbake/lib/toaster/toastergui/fixtures') diff --git a/bitbake/lib/toaster/toastergui/fixtures/toastergui-unittest-data.xml b/bitbake/lib/toaster/toastergui/fixtures/toastergui-unittest-data.xml index 80c1e19dda..4517ed1765 100644 --- a/bitbake/lib/toaster/toastergui/fixtures/toastergui-unittest-data.xml +++ b/bitbake/lib/toaster/toastergui/fixtures/toastergui-unittest-data.xml @@ -1,5 +1,16 @@ + + v2.3 + git://git.openembedded.org/bitbake + b + a + + + master + master project + 1 + a test project @@ -332,10 +343,6 @@ master - - master - - a layer @@ -351,7 +358,7 @@ 1 1 - 1 + 1 master abcdef123 /tmp/ @@ -363,7 +370,7 @@ 2 - 1 + 1 testing-branch 9876fedcba @@ -375,7 +382,7 @@ 1 2 - 1 + 1 testing-branch 9876fedcba -- cgit v1.2.3-54-g00ecf