summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/orm
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2023-01-21 14:43:02 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-26 21:50:31 +0000
commit95f4795660f6a66ec2f6b94a822775516bcdd882 (patch)
treea471be8cfa4195cb61f014f9ebc207814425396a /bitbake/lib/toaster/orm
parentf98bf5607425b689879dbab1278433879425164a (diff)
downloadpoky-95f4795660f6a66ec2f6b94a822775516bcdd882.tar.gz
bitbake: toaster: update fixtures
* Update to latest langdale 4.1.2 and kirkstone 4.0.6 * Re-instate dunfell and update to 3.1.22 - drop comments about bitbake crash (Bitbake rev: f90c45df5cf4640e0714fde13e311db3327f9fd4) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/orm')
-rwxr-xr-xbitbake/lib/toaster/orm/fixtures/gen_fixtures.py18
-rw-r--r--bitbake/lib/toaster/orm/fixtures/oe-core.xml16
-rw-r--r--bitbake/lib/toaster/orm/fixtures/poky.xml62
3 files changed, 75 insertions, 21 deletions
diff --git a/bitbake/lib/toaster/orm/fixtures/gen_fixtures.py b/bitbake/lib/toaster/orm/fixtures/gen_fixtures.py
index ad20d6bdd5..69f557657a 100755
--- a/bitbake/lib/toaster/orm/fixtures/gen_fixtures.py
+++ b/bitbake/lib/toaster/orm/fixtures/gen_fixtures.py
@@ -35,26 +35,18 @@ verbose = False
35# [Codename, Yocto Project Version, Release Date, Current Version, Support Level, Poky Version, BitBake branch] 35# [Codename, Yocto Project Version, Release Date, Current Version, Support Level, Poky Version, BitBake branch]
36current_releases = [ 36current_releases = [
37 # Release slot #1 37 # Release slot #1
38 ['Kirkstone','4.0','April 2022','4.0.5 (October 2022)','Stable - Long Term Support (until Apr. 2024)','','2.0'], 38 ['Kirkstone','4.0','April 2022','4.0.6 (December 2022)','Stable - Long Term Support (until Apr. 2024)','','2.0'],
39 # Release slot #2 'local' 39 # Release slot #2 'local'
40 ['HEAD','HEAD','','Local Yocto Project','HEAD','','HEAD'], 40 ['HEAD','HEAD','','Local Yocto Project','HEAD','','HEAD'],
41 # Release slot #3 'master' 41 # Release slot #3 'master'
42 ['Master','master','','Yocto Project master','master','','master'], 42 ['Master','master','','Yocto Project master','master','','master'],
43 # Release slot #4 43 # Release slot #4
44 ['Langdale','4.1','October 2022','4.1.1 (November 2022)','Support for 7 months (until May 2023)','','2.2'], 44 ['Langdale','4.1','October 2022','4.1.2 (January 2023)','Support for 7 months (until May 2023)','','2.2'],
45# ['Honister','3.4','October 2021','3.4.2 (February 2022)','Support for 7 months (until May 2022)','26.0','1.52'], 45# ['Honister','3.4','October 2021','3.4.2 (February 2022)','Support for 7 months (until May 2022)','26.0','1.52'],
46# ['Gatesgarth','3.2','Oct 2020','3.2.4 (May 2021)','EOL','24.0','1.48'],
47 # Optional Release slot #4
48 # 'dunfell' seems to have a bug:
49 # Bitbake crash
50 # Traceback (most recent call last):
51 # File "/home/usersetup/poky/bitbake/lib/bb/ui/toasterui.py", line 337, in main
52 # buildinfohelper.update_and_store_task(event)
53 # File "/home/usersetup/poky/bitbake/lib/bb/ui/buildinfohelper.py", line 1267, in update_and_store_task
54 # assert identifier in self.internal_state['taskdata']
55 # AssertionError
56# ['Dunfell','3.1','April 2021','3.1.20 (October 2022)','Stable - Long Term Support (until Apr. 2024)','23.0','1.46'],
57# ['Hardknott','3.3','April 2021','3.3.5 (March 2022)','Stable - Support for 13 months (until Apr. 2022)','25.0','1.50'], 46# ['Hardknott','3.3','April 2021','3.3.5 (March 2022)','Stable - Support for 13 months (until Apr. 2022)','25.0','1.50'],
47# ['Gatesgarth','3.2','Oct 2020','3.2.4 (May 2021)','EOL','24.0','1.48'],
48 # Optional Release slot #5
49 ['Dunfell','3.1','April 2020','3.1.22 (January 2023)','Stable - Long Term Support (until Apr. 2024)','23.0','1.46'],
58] 50]
59 51
60default_poky_layers = [ 52default_poky_layers = [
diff --git a/bitbake/lib/toaster/orm/fixtures/oe-core.xml b/bitbake/lib/toaster/orm/fixtures/oe-core.xml
index b83b94d5ff..615e88aba1 100644
--- a/bitbake/lib/toaster/orm/fixtures/oe-core.xml
+++ b/bitbake/lib/toaster/orm/fixtures/oe-core.xml
@@ -27,6 +27,11 @@
27 <field type="CharField" name="giturl">git://git.openembedded.org/bitbake</field> 27 <field type="CharField" name="giturl">git://git.openembedded.org/bitbake</field>
28 <field type="CharField" name="branch">2.2</field> 28 <field type="CharField" name="branch">2.2</field>
29 </object> 29 </object>
30 <object model="orm.bitbakeversion" pk="5">
31 <field type="CharField" name="name">dunfell</field>
32 <field type="CharField" name="giturl">git://git.openembedded.org/bitbake</field>
33 <field type="CharField" name="branch">1.46</field>
34 </object>
30 35
31 <!-- Releases available --> 36 <!-- Releases available -->
32 <object model="orm.release" pk="1"> 37 <object model="orm.release" pk="1">
@@ -57,6 +62,13 @@
57 <field type="CharField" name="branch_name">langdale</field> 62 <field type="CharField" name="branch_name">langdale</field>
58 <field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href=\"https://cgit.openembedded.org/openembedded-core/log/?h=langdale\"&gt;OpenEmbedded Langdale&lt;/a&gt; branch.</field> 63 <field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href=\"https://cgit.openembedded.org/openembedded-core/log/?h=langdale\"&gt;OpenEmbedded Langdale&lt;/a&gt; branch.</field>
59 </object> 64 </object>
65 <object model="orm.release" pk="5">
66 <field type="CharField" name="name">dunfell</field>
67 <field type="CharField" name="description">Openembedded Dunfell</field>
68 <field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">5</field>
69 <field type="CharField" name="branch_name">dunfell</field>
70 <field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href=\"https://cgit.openembedded.org/openembedded-core/log/?h=dunfell\"&gt;OpenEmbedded Dunfell&lt;/a&gt; branch.</field>
71 </object>
60 72
61 <!-- Default layers for each release --> 73 <!-- Default layers for each release -->
62 <object model="orm.releasedefaultlayer" pk="1"> 74 <object model="orm.releasedefaultlayer" pk="1">
@@ -75,6 +87,10 @@
75 <field rel="ManyToOneRel" to="orm.release" name="release">4</field> 87 <field rel="ManyToOneRel" to="orm.release" name="release">4</field>
76 <field type="CharField" name="layer_name">openembedded-core</field> 88 <field type="CharField" name="layer_name">openembedded-core</field>
77 </object> 89 </object>
90 <object model="orm.releasedefaultlayer" pk="5">
91 <field rel="ManyToOneRel" to="orm.release" name="release">5</field>
92 <field type="CharField" name="layer_name">openembedded-core</field>
93 </object>
78 94
79 95
80 <!-- Layer for the Local release --> 96 <!-- Layer for the Local release -->
diff --git a/bitbake/lib/toaster/orm/fixtures/poky.xml b/bitbake/lib/toaster/orm/fixtures/poky.xml
index 6d58a4fdb8..04e12f96fd 100644
--- a/bitbake/lib/toaster/orm/fixtures/poky.xml
+++ b/bitbake/lib/toaster/orm/fixtures/poky.xml
@@ -31,6 +31,12 @@
31 <field type="CharField" name="branch">langdale</field> 31 <field type="CharField" name="branch">langdale</field>
32 <field type="CharField" name="dirpath">bitbake</field> 32 <field type="CharField" name="dirpath">bitbake</field>
33 </object> 33 </object>
34 <object model="orm.bitbakeversion" pk="5">
35 <field type="CharField" name="name">dunfell</field>
36 <field type="CharField" name="giturl">git://git.yoctoproject.org/poky</field>
37 <field type="CharField" name="branch">dunfell</field>
38 <field type="CharField" name="dirpath">bitbake</field>
39 </object>
34 40
35 41
36 <!-- Releases available --> 42 <!-- Releases available -->
@@ -62,6 +68,13 @@
62 <field type="CharField" name="branch_name">langdale</field> 68 <field type="CharField" name="branch_name">langdale</field>
63 <field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href="https://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=langdale"&gt;Yocto Project Langdale branch&lt;/a&gt;.</field> 69 <field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href="https://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=langdale"&gt;Yocto Project Langdale branch&lt;/a&gt;.</field>
64 </object> 70 </object>
71 <object model="orm.release" pk="5">
72 <field type="CharField" name="name">dunfell</field>
73 <field type="CharField" name="description">Yocto Project 3.1 "Dunfell"</field>
74 <field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">5</field>
75 <field type="CharField" name="branch_name">dunfell</field>
76 <field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href="https://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=dunfell"&gt;Yocto Project Dunfell branch&lt;/a&gt;.</field>
77 </object>
65 78
66 <!-- Default project layers for each release --> 79 <!-- Default project layers for each release -->
67 <object model="orm.releasedefaultlayer" pk="1"> 80 <object model="orm.releasedefaultlayer" pk="1">
@@ -112,6 +125,18 @@
112 <field rel="ManyToOneRel" to="orm.release" name="release">4</field> 125 <field rel="ManyToOneRel" to="orm.release" name="release">4</field>
113 <field type="CharField" name="layer_name">meta-yocto-bsp</field> 126 <field type="CharField" name="layer_name">meta-yocto-bsp</field>
114 </object> 127 </object>
128 <object model="orm.releasedefaultlayer" pk="13">
129 <field rel="ManyToOneRel" to="orm.release" name="release">5</field>
130 <field type="CharField" name="layer_name">openembedded-core</field>
131 </object>
132 <object model="orm.releasedefaultlayer" pk="14">
133 <field rel="ManyToOneRel" to="orm.release" name="release">5</field>
134 <field type="CharField" name="layer_name">meta-poky</field>
135 </object>
136 <object model="orm.releasedefaultlayer" pk="15">
137 <field rel="ManyToOneRel" to="orm.release" name="release">5</field>
138 <field type="CharField" name="layer_name">meta-yocto-bsp</field>
139 </object>
115 140
116 <!-- Default layers provided by poky 141 <!-- Default layers provided by poky
117 openembedded-core 142 openembedded-core
@@ -155,6 +180,13 @@
155 <field type="CharField" name="branch">langdale</field> 180 <field type="CharField" name="branch">langdale</field>
156 <field type="CharField" name="dirpath">meta</field> 181 <field type="CharField" name="dirpath">meta</field>
157 </object> 182 </object>
183 <object model="orm.layer_version" pk="5">
184 <field rel="ManyToOneRel" to="orm.layer" name="layer">1</field>
185 <field type="IntegerField" name="layer_source">0</field>
186 <field rel="ManyToOneRel" to="orm.release" name="release">5</field>
187 <field type="CharField" name="branch">dunfell</field>
188 <field type="CharField" name="dirpath">meta</field>
189 </object>
158 190
159 <object model="orm.layer" pk="2"> 191 <object model="orm.layer" pk="2">
160 <field type="CharField" name="name">meta-poky</field> 192 <field type="CharField" name="name">meta-poky</field>
@@ -164,14 +196,14 @@
164 <field type="CharField" name="vcs_web_tree_base_url">https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/%path%?h=%branch%</field> 196 <field type="CharField" name="vcs_web_tree_base_url">https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/%path%?h=%branch%</field>
165 <field type="CharField" name="vcs_web_file_base_url">https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/%path%?h=%branch%</field> 197 <field type="CharField" name="vcs_web_file_base_url">https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/%path%?h=%branch%</field>
166 </object> 198 </object>
167 <object model="orm.layer_version" pk="5"> 199 <object model="orm.layer_version" pk="6">
168 <field rel="ManyToOneRel" to="orm.layer" name="layer">2</field> 200 <field rel="ManyToOneRel" to="orm.layer" name="layer">2</field>
169 <field type="IntegerField" name="layer_source">0</field> 201 <field type="IntegerField" name="layer_source">0</field>
170 <field rel="ManyToOneRel" to="orm.release" name="release">1</field> 202 <field rel="ManyToOneRel" to="orm.release" name="release">1</field>
171 <field type="CharField" name="branch">kirkstone</field> 203 <field type="CharField" name="branch">kirkstone</field>
172 <field type="CharField" name="dirpath">meta-poky</field> 204 <field type="CharField" name="dirpath">meta-poky</field>
173 </object> 205 </object>
174 <object model="orm.layer_version" pk="6"> 206 <object model="orm.layer_version" pk="7">
175 <field rel="ManyToOneRel" to="orm.layer" name="layer">2</field> 207 <field rel="ManyToOneRel" to="orm.layer" name="layer">2</field>
176 <field type="IntegerField" name="layer_source">0</field> 208 <field type="IntegerField" name="layer_source">0</field>
177 <field rel="ManyToOneRel" to="orm.release" name="release">2</field> 209 <field rel="ManyToOneRel" to="orm.release" name="release">2</field>
@@ -179,20 +211,27 @@
179 <field type="CharField" name="commit">HEAD</field> 211 <field type="CharField" name="commit">HEAD</field>
180 <field type="CharField" name="dirpath">meta-poky</field> 212 <field type="CharField" name="dirpath">meta-poky</field>
181 </object> 213 </object>
182 <object model="orm.layer_version" pk="7"> 214 <object model="orm.layer_version" pk="8">
183 <field rel="ManyToOneRel" to="orm.layer" name="layer">2</field> 215 <field rel="ManyToOneRel" to="orm.layer" name="layer">2</field>
184 <field type="IntegerField" name="layer_source">0</field> 216 <field type="IntegerField" name="layer_source">0</field>
185 <field rel="ManyToOneRel" to="orm.release" name="release">3</field> 217 <field rel="ManyToOneRel" to="orm.release" name="release">3</field>
186 <field type="CharField" name="branch">master</field> 218 <field type="CharField" name="branch">master</field>
187 <field type="CharField" name="dirpath">meta-poky</field> 219 <field type="CharField" name="dirpath">meta-poky</field>
188 </object> 220 </object>
189 <object model="orm.layer_version" pk="8"> 221 <object model="orm.layer_version" pk="9">
190 <field rel="ManyToOneRel" to="orm.layer" name="layer">2</field> 222 <field rel="ManyToOneRel" to="orm.layer" name="layer">2</field>
191 <field type="IntegerField" name="layer_source">0</field> 223 <field type="IntegerField" name="layer_source">0</field>
192 <field rel="ManyToOneRel" to="orm.release" name="release">4</field> 224 <field rel="ManyToOneRel" to="orm.release" name="release">4</field>
193 <field type="CharField" name="branch">langdale</field> 225 <field type="CharField" name="branch">langdale</field>
194 <field type="CharField" name="dirpath">meta-poky</field> 226 <field type="CharField" name="dirpath">meta-poky</field>
195 </object> 227 </object>
228 <object model="orm.layer_version" pk="10">
229 <field rel="ManyToOneRel" to="orm.layer" name="layer">2</field>
230 <field type="IntegerField" name="layer_source">0</field>
231 <field rel="ManyToOneRel" to="orm.release" name="release">5</field>
232 <field type="CharField" name="branch">dunfell</field>
233 <field type="CharField" name="dirpath">meta-poky</field>
234 </object>
196 235
197 <object model="orm.layer" pk="3"> 236 <object model="orm.layer" pk="3">
198 <field type="CharField" name="name">meta-yocto-bsp</field> 237 <field type="CharField" name="name">meta-yocto-bsp</field>
@@ -202,14 +241,14 @@
202 <field type="CharField" name="vcs_web_tree_base_url">https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/%path%?h=%branch%</field> 241 <field type="CharField" name="vcs_web_tree_base_url">https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/%path%?h=%branch%</field>
203 <field type="CharField" name="vcs_web_file_base_url">https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/%path%?h=%branch%</field> 242 <field type="CharField" name="vcs_web_file_base_url">https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/%path%?h=%branch%</field>
204 </object> 243 </object>
205 <object model="orm.layer_version" pk="9"> 244 <object model="orm.layer_version" pk="11">
206 <field rel="ManyToOneRel" to="orm.layer" name="layer">3</field> 245 <field rel="ManyToOneRel" to="orm.layer" name="layer">3</field>
207 <field type="IntegerField" name="layer_source">0</field> 246 <field type="IntegerField" name="layer_source">0</field>
208 <field rel="ManyToOneRel" to="orm.release" name="release">1</field> 247 <field rel="ManyToOneRel" to="orm.release" name="release">1</field>
209 <field type="CharField" name="branch">kirkstone</field> 248 <field type="CharField" name="branch">kirkstone</field>
210 <field type="CharField" name="dirpath">meta-yocto-bsp</field> 249 <field type="CharField" name="dirpath">meta-yocto-bsp</field>
211 </object> 250 </object>
212 <object model="orm.layer_version" pk="10"> 251 <object model="orm.layer_version" pk="12">
213 <field rel="ManyToOneRel" to="orm.layer" name="layer">3</field> 252 <field rel="ManyToOneRel" to="orm.layer" name="layer">3</field>
214 <field type="IntegerField" name="layer_source">0</field> 253 <field type="IntegerField" name="layer_source">0</field>
215 <field rel="ManyToOneRel" to="orm.release" name="release">2</field> 254 <field rel="ManyToOneRel" to="orm.release" name="release">2</field>
@@ -217,18 +256,25 @@
217 <field type="CharField" name="commit">HEAD</field> 256 <field type="CharField" name="commit">HEAD</field>
218 <field type="CharField" name="dirpath">meta-yocto-bsp</field> 257 <field type="CharField" name="dirpath">meta-yocto-bsp</field>
219 </object> 258 </object>
220 <object model="orm.layer_version" pk="11"> 259 <object model="orm.layer_version" pk="13">
221 <field rel="ManyToOneRel" to="orm.layer" name="layer">3</field> 260 <field rel="ManyToOneRel" to="orm.layer" name="layer">3</field>
222 <field type="IntegerField" name="layer_source">0</field> 261 <field type="IntegerField" name="layer_source">0</field>
223 <field rel="ManyToOneRel" to="orm.release" name="release">3</field> 262 <field rel="ManyToOneRel" to="orm.release" name="release">3</field>
224 <field type="CharField" name="branch">master</field> 263 <field type="CharField" name="branch">master</field>
225 <field type="CharField" name="dirpath">meta-yocto-bsp</field> 264 <field type="CharField" name="dirpath">meta-yocto-bsp</field>
226 </object> 265 </object>
227 <object model="orm.layer_version" pk="12"> 266 <object model="orm.layer_version" pk="14">
228 <field rel="ManyToOneRel" to="orm.layer" name="layer">3</field> 267 <field rel="ManyToOneRel" to="orm.layer" name="layer">3</field>
229 <field type="IntegerField" name="layer_source">0</field> 268 <field type="IntegerField" name="layer_source">0</field>
230 <field rel="ManyToOneRel" to="orm.release" name="release">4</field> 269 <field rel="ManyToOneRel" to="orm.release" name="release">4</field>
231 <field type="CharField" name="branch">langdale</field> 270 <field type="CharField" name="branch">langdale</field>
232 <field type="CharField" name="dirpath">meta-yocto-bsp</field> 271 <field type="CharField" name="dirpath">meta-yocto-bsp</field>
233 </object> 272 </object>
273 <object model="orm.layer_version" pk="15">
274 <field rel="ManyToOneRel" to="orm.layer" name="layer">3</field>
275 <field type="IntegerField" name="layer_source">0</field>
276 <field rel="ManyToOneRel" to="orm.release" name="release">5</field>
277 <field type="CharField" name="branch">dunfell</field>
278 <field type="CharField" name="dirpath">meta-yocto-bsp</field>
279 </object>
234</django-objects> 280</django-objects>