toaster: update fixtures
cover toaster: update fixtures
This series updates the lib/toaster/orm/fixtures to the currently supported releases. Dunfell is commented out in gen_fixtures.py because it currently crashes:
Bitbake crash
Traceback (most recent call last):
File "/home/usersetup/poky/bitbake/lib/bb/ui/toasterui.py", line 337, in main
buildinfohelper.update_and_store_task(event)
File "/home/usersetup/poky/bitbake/lib/bb/ui/buildinfohelper.py", line 1267, in update_and_store_task
assert identifier in self.internal_state['taskdata']
AssertionError
If you want to try dunfell see:
https://git.yoctoproject.org/poky-contrib/log/?h=timo/toaster-fixtures
https://git.openembedded.org/bitbake-contrib timo/2.2-toaster-fixtures
The following changes since commit 94e49b9b9e409c29eb04603b1305d96ebe661a4b:
data_smart: allow python snippets to include a dictionary (2022-11-10 14:43:03 +0000)
are available in the Git repository at:
https://git.openembedded.org/bitbake-contrib timo/2.2-toaster-fixtures-v2
http://cgit.openembedded.org/bitbake-contrib/log/?h=timo/2.2-toaster-fixtures-v2
Tim Orling (3):
toaster: fixtures/README: django 1.8 -> 3.2
toaster: fixtures/gen_fixtures.py: update branches
toaster: Add refreshed oe-core and poky fixtures
lib/toaster/orm/fixtures/README | 2 +- lib/toaster/orm/fixtures/gen_fixtures.py | 19 ++++-- lib/toaster/orm/fixtures/oe-core.xml | 30 +++------ lib/toaster/orm/fixtures/poky.xml | 80 +++++------------------- 4 files changed, 39 insertions(+), 92 deletions(-)
Signature · 1 line
2.34.1
PATCH 1/3 toaster: fixtures/README: django 1.8 -> 3.2
We should reference the docs for the current LTS version we are using.
--- lib/toaster/orm/fixtures/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/toaster/orm/fixtures/README +1 -1
@@ -27,4 +27,4 @@ Data can be provided in XML, JSON and if installed YAML formats. Use the django management command manage.py loaddata <your fixture file> For further information see the Django command documentation at: -https://docs.djangoproject.com/en/1.8/ref/django-admin/#django-admin-loaddata +https://docs.djangoproject.com/en/3.2/ref/django-admin/#django-admin-loaddata
Signature · 1 line
2.34.1
PATCH 2/3 toaster: fixtures/gen_fixtures.py: update branches
In reply to Tim OrlingDrop Honister and Hardknott as they are both EOL
Add Langdale as it is the latest stable release
Add comment about Dunfell (currently crashing)
--- lib/toaster/orm/fixtures/gen_fixtures.py | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-)
lib/toaster/orm/fixtures/gen_fixtures.py +14 -5
@@ -35,17 +35,26 @@ verbose = False # [Codename, Yocto Project Version, Release Date, Current Version, Support Level, Poky Version, BitBake branch] current_releases = [ # Release slot #1 - ['Kirkstone','3.5','April 2022','','Future - Long Term Support (until Apr. 2024)','27.0','1.54'], -# ['Dunfell','3.1','April 2021','3.1.5 (March 2022)','Stable - Support for 13 months (until Apr. 2022)','23.0','1.46'], + ['Kirkstone','4.0','April 2022','4.0.5 (October 2022)','Stable - Long Term Support (until Apr. 2024)','','2.0'], # Release slot #2 'local' ['HEAD','HEAD','','Local Yocto Project','HEAD','','HEAD'], # Release slot #3 'master' ['Master','master','','Yocto Project master','master','','master'], # Release slot #4 - ['Honister','3.4','October 2021','3.4.2 (February 2022)','Support for 7 months (until May 2022)','26.0','1.52'], -# ['Gatesgarth','3.2','Oct 2020','3.2.4 (May 2021)','EOL','24.0','1.48'], + ['Langdale','4.1','October 2022','4.1.1 (November 2022)','Support for 7 months (until May 2023)','','2.2'], +# ['Honister','3.4','October 2021','3.4.2 (February 2022)','Support for 7 months (until May 2022)','26.0','1.52'], +# ['Gatesgarth','3.2','Oct 2020','3.2.4 (May 2021)','EOL','24.0','1.48'], # Optional Release slot #4 - ['Hardknott','3.3','April 2021','3.3.5 (March 2022)','Stable - Support for 13 months (until Apr. 2022)','25.0','1.50'], + # 'dunfell' seems to have a bug: + # Bitbake crash + # Traceback (most recent call last): + # File "/home/usersetup/poky/bitbake/lib/bb/ui/toasterui.py", line 337, in main + # buildinfohelper.update_and_store_task(event) + # File "/home/usersetup/poky/bitbake/lib/bb/ui/buildinfohelper.py", line 1267, in update_and_store_task + # assert identifier in self.internal_state['taskdata'] + # AssertionError +# ['Dunfell','3.1','April 2021','3.1.20 (October 2022)','Stable - Long Term Support (until Apr. 2024)','23.0','1.46'], +# ['Hardknott','3.3','April 2021','3.3.5 (March 2022)','Stable - Support for 13 months (until Apr. 2022)','25.0','1.50'], ] default_poky_layers = [
Signature · 1 line
2.34.1
PATCH 3/3 toaster: Add refreshed oe-core and poky fixtures
In reply to Tim OrlingAfter updating gen_fixtures.py, run ./gen_fixtures.py --all
This includes the latest stable/supported releases. Currently excludes 'dunfell' as it seems to crash.
--- lib/toaster/orm/fixtures/oe-core.xml | 30 +++-------- lib/toaster/orm/fixtures/poky.xml | 80 ++++++---------------------- 2 files changed, 24 insertions(+), 86 deletions(-)
lib/toaster/orm/fixtures/oe-core.xml +7 -23
@@ -10,7 +10,7 @@ <object model="orm.bitbakeversion" pk="1"> <field type="CharField" name="name">kirkstone</field> <field type="CharField" name="giturl">git://git.openembedded.org/bitbake</field> - <field type="CharField" name="branch">1.54</field> + <field type="CharField" name="branch">2.0</field> </object> <object model="orm.bitbakeversion" pk="2"> <field type="CharField" name="name">HEAD</field>
@@ -23,14 +23,9 @@ <field type="CharField" name="branch">master</field> </object> <object model="orm.bitbakeversion" pk="4"> - <field type="CharField" name="name">honister</field> + <field type="CharField" name="name">langdale</field> <field type="CharField" name="giturl">git://git.openembedded.org/bitbake</field> - <field type="CharField" name="branch">1.52</field> - </object> - <object model="orm.bitbakeversion" pk="5"> - <field type="CharField" name="name">hardknott</field> - <field type="CharField" name="giturl">git://git.openembedded.org/bitbake</field> - <field type="CharField" name="branch">1.50</field> + <field type="CharField" name="branch">2.2</field> </object> <!-- Releases available -->
@@ -56,18 +51,11 @@ <field type="TextField" name="helptext">Toaster will run your builds using the tip of the <a href=\"https://cgit.openembedded.org/openembedded-core/log/\">OpenEmbedded master</a> branch.</field> </object> <object model="orm.release" pk="4"> - <field type="CharField" name="name">honister</field> - <field type="CharField" name="description">Openembedded Honister</field> + <field type="CharField" name="name">langdale</field> + <field type="CharField" name="description">Openembedded Langdale</field> <field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">4</field> - <field type="CharField" name="branch_name">honister</field> - <field type="TextField" name="helptext">Toaster will run your builds using the tip of the <a href=\"https://cgit.openembedded.org/openembedded-core/log/?h=honister\">OpenEmbedded Honister</a> branch.</field> - </object> - <object model="orm.release" pk="5"> - <field type="CharField" name="name">hardknott</field> - <field type="CharField" name="description">Openembedded Hardknott</field> - <field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">5</field> - <field type="CharField" name="branch_name">hardknott</field> - <field type="TextField" name="helptext">Toaster will run your builds using the tip of the <a href=\"https://cgit.openembedded.org/openembedded-core/log/?h=hardknott\">OpenEmbedded Hardknott</a> branch.</field> + <field type="CharField" name="branch_name">langdale</field> + <field type="TextField" name="helptext">Toaster will run your builds using the tip of the <a href=\"https://cgit.openembedded.org/openembedded-core/log/?h=langdale\">OpenEmbedded Langdale</a> branch.</field> </object> <!-- Default layers for each release -->
@@ -87,10 +75,6 @@ <field rel="ManyToOneRel" to="orm.release" name="release">4</field> <field type="CharField" name="layer_name">openembedded-core</field> </object> - <object model="orm.releasedefaultlayer" pk="5"> - <field rel="ManyToOneRel" to="orm.release" name="release">5</field> - <field type="CharField" name="layer_name">openembedded-core</field> - </object> <!-- Layer for the Local release -->
lib/toaster/orm/fixtures/poky.xml +17 -63
160 lines not on this page · raw message
Signature · 1 line
2.34.1