From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7363301042520326144 X-Received: by 2002:a05:651c:211c:b0:2db:a7c7:5d11 with SMTP id a28-20020a05651c211c00b002dba7c75d11mr1910764ljq.47.1714748716792; Fri, 03 May 2024 08:05:16 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:9bc2:0:b0:2e2:56cd:ed9e with SMTP id 38308e7fff4ca-2e256cdef13ls256461fa.1.-pod-prod-02-eu; Fri, 03 May 2024 08:05:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFE9tSusjPCyI6BILI3FzGc9/89qMcDZRw6wx/RRo52D7QAF7b2PRWGQUHl6Iz1+0nSzFcW X-Received: by 2002:a2e:96d8:0:b0:2dc:f12f:b7fb with SMTP id d24-20020a2e96d8000000b002dcf12fb7fbmr1931351ljj.43.1714748714570; Fri, 03 May 2024 08:05:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1714748714; cv=none; d=google.com; s=arc-20160816; b=I4dU56fIThygRN9xhH4h2sroYt8C30YKmW6BkDeixMquYXPhX36CzvwK5dYMNHWP3I 7ZIOarSv0Cwst5yeKXsJql7UCtwFoFncQ/hPKmvDYale2Mn0JB5Kqy4DALWUA3vx11GS Sd8pqqLklk/njlaDYhM9OMr1Sn4T73zHqULujzMcbMyAVTN3LoynAv5hgJdDOjJ/HMi2 mQkeARiwQVJj759F8CFZVEKZYebA4rBcxyzfj0e0mgQOSp/nkny5TJAmo9TcHKXE/zUo bPj7KIjcaxEzTtwKaP3uxT5/sKj6vu0qbWyDR0tLwa4S0zLc3dVWgi05YCtu6d0PXtSd ZCWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=VLvbpLg/YD+7zRdpc8IaZZ2L/eWsfEqPXWee7jEZ5xg=; fh=/h9QQkzJ8EboVkWg45aWwpaUro6WMavIVd2OhN45RtE=; b=BC2l8JGT9xIKAOWUQlqQ95O9hu1q14vzEzh5bSf10hmHBuStNSOsOTwNWBYdZZwtcU mlAHaPt5KqMcfefDFkFqNxp1+3kcj5+yBisZY0oXJPblnVJLSBl9MX1+rXHk0vsQtquK je3k+QK8X03hu03ltrarMkbJDXaTxVD7o7qi+n5y7pkAWUST6KqaYPcnBIcM/KBJ7QSs kQ0YrTvduABNxBF6/nId9eGf3LDTbH6brfvdHAx3T/qEuPjbz/UfU+RUsxwi5XYew8jv SCtx1f8dmA3b29m1t7XGX43+HZvrzx4Ze3c5kJlQgSzNMLJ7YS4aVZbNjqu98vwB8Ees pTRw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id h8-20020a2eb0e8000000b002e1b570bf7dsi99295ljl.6.2024.05.03.08.05.14 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 May 2024 08:05:14 -0700 (PDT) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from user-B660.promwad.corp ([159.148.83.123]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 443F5BO8008720 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 3 May 2024 17:05:12 +0200 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: Anton Mikanovich Subject: [PATCH v3 0/6] Update to Bitbake 2.8 Date: Fri, 3 May 2024 18:04:58 +0300 Message-Id: <20240503150504.479387-1-amikan@ilbers.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.5 required=5.0 tests=ALL_TRUSTED,URI_NOVOWEL autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: PQT8OdGyzBWt This patchset bumps Bitbake version to 2.8 which will be used in the next LTS OE release. Changes include minimal fix for bbclass existing check and reverting of already included backported commit. OE lib updates will be sent separately after the next LTS release. --- Changes since v2: - Downgrade python requirements - Fix task name index in order file Changes since v1: - Fix network flag setting issue Anton Mikanovich (6): meta: Move kbuildtarget.bbclass meta: Fix network flag setting Revert "bitbake: backport fetch2/aws: forward env-vars used in gitlab-ci K8s" bitbake: Update to 2.8 release bitbake: Downgrade python requirements testsuite: Fix task name index in order file bitbake/README | 31 +- bitbake/SECURITY.md | 24 + bitbake/bin/bitbake | 2 +- bitbake/bin/bitbake-diffsigs | 13 +- bitbake/bin/bitbake-getvar | 32 +- bitbake/bin/bitbake-hashclient | 244 ++- bitbake/bin/bitbake-hashserv | 145 +- bitbake/bin/bitbake-prserv | 86 +- bitbake/bin/bitbake-server | 7 +- bitbake/bin/bitbake-worker | 115 +- bitbake/bin/git-make-shallow | 34 +- bitbake/bin/toaster | 12 +- bitbake/bin/toaster-eventreplay | 80 +- bitbake/conf/bitbake.conf | 2 +- bitbake/contrib/vim/indent/bitbake.vim | 6 +- bitbake/contrib/vim/syntax/bitbake.vim | 8 +- bitbake/doc/_templates/footer.html | 9 + .../bitbake-user-manual-execution.rst | 69 +- .../bitbake-user-manual-fetching.rst | 49 +- .../bitbake-user-manual-hello.rst | 137 +- .../bitbake-user-manual-metadata.rst | 85 +- ...bake-user-manual-ref-variables-context.rst | 91 + .../bitbake-user-manual-ref-variables.rst | 129 +- bitbake/doc/index.rst | 1 + bitbake/doc/releases.rst | 82 +- bitbake/lib/bb/__init__.py | 20 +- bitbake/lib/bb/acl.py | 215 +++ bitbake/lib/bb/asyncrpc/__init__.py | 35 +- bitbake/lib/bb/asyncrpc/client.py | 253 ++- bitbake/lib/bb/asyncrpc/connection.py | 146 ++ bitbake/lib/bb/asyncrpc/exceptions.py | 21 + bitbake/lib/bb/asyncrpc/serv.py | 383 +++-- bitbake/lib/bb/build.py | 177 +- bitbake/lib/bb/cache.py | 307 ++-- bitbake/lib/bb/codeparser.py | 82 +- bitbake/lib/bb/command.py | 76 +- bitbake/lib/bb/cooker.py | 517 +++--- bitbake/lib/bb/cookerdata.py | 130 +- bitbake/lib/bb/data.py | 120 +- bitbake/lib/bb/data_smart.py | 63 +- bitbake/lib/bb/event.py | 132 +- bitbake/lib/bb/fetch2/__init__.py | 216 ++- bitbake/lib/bb/fetch2/crate.py | 23 +- bitbake/lib/bb/fetch2/gcp.py | 101 ++ bitbake/lib/bb/fetch2/git.py | 206 ++- bitbake/lib/bb/fetch2/gitsm.py | 24 +- bitbake/lib/bb/fetch2/hg.py | 1 + bitbake/lib/bb/fetch2/local.py | 16 +- bitbake/lib/bb/fetch2/npm.py | 11 +- bitbake/lib/bb/fetch2/npmsw.py | 75 +- bitbake/lib/bb/fetch2/osc.py | 34 +- bitbake/lib/bb/fetch2/sftp.py | 2 +- bitbake/lib/bb/fetch2/ssh.py | 6 +- bitbake/lib/bb/fetch2/wget.py | 50 +- bitbake/lib/bb/main.py | 400 +++-- bitbake/lib/bb/monitordisk.py | 7 +- bitbake/lib/bb/msg.py | 2 +- bitbake/lib/bb/parse/__init__.py | 12 +- bitbake/lib/bb/parse/ast.py | 73 +- bitbake/lib/bb/parse/parse_py/BBHandler.py | 63 +- bitbake/lib/bb/parse/parse_py/ConfHandler.py | 20 +- bitbake/lib/bb/persist_data.py | 21 +- bitbake/lib/bb/runqueue.py | 499 ++++-- bitbake/lib/bb/server/process.py | 352 ++-- bitbake/lib/bb/server/xmlrpcserver.py | 2 +- bitbake/lib/bb/siggen.py | 600 ++++--- bitbake/lib/bb/tests/codeparser.py | 48 +- bitbake/lib/bb/tests/color.py | 2 +- bitbake/lib/bb/tests/data.py | 41 +- bitbake/lib/bb/tests/event.py | 62 +- .../software/libxml2/2.10/index.html | 20 + .../software/libxml2/2.9/index.html | 40 + .../software/libxml2/index.html | 19 + bitbake/lib/bb/tests/fetch.py | 733 +++++++- bitbake/lib/bb/tests/parse.py | 138 +- bitbake/lib/bb/tests/runqueue.py | 2 +- bitbake/lib/bb/tests/siggen.py | 77 +- bitbake/lib/bb/tinfoil.py | 18 +- bitbake/lib/bb/ui/buildinfohelper.py | 13 +- bitbake/lib/bb/ui/eventreplay.py | 86 + bitbake/lib/bb/ui/knotty.py | 91 +- bitbake/lib/bb/ui/ncurses.py | 3 + bitbake/lib/bb/ui/taskexp.py | 2 +- bitbake/lib/bb/ui/taskexp_ncurses.py | 1511 +++++++++++++++++ bitbake/lib/bb/ui/toasterui.py | 2 +- bitbake/lib/bb/ui/uievent.py | 30 +- bitbake/lib/bb/utils.py | 122 +- bitbake/lib/bb/xattr.py | 126 ++ bitbake/lib/bblayers/action.py | 11 +- bitbake/lib/bblayers/layerindex.py | 25 + bitbake/lib/bblayers/query.py | 48 +- bitbake/lib/bs4/tests/test_tree.py | 2 +- bitbake/lib/codegen.py | 12 - bitbake/lib/hashserv/__init__.py | 199 +-- bitbake/lib/hashserv/client.py | 307 +++- bitbake/lib/hashserv/server.py | 1003 +++++++---- bitbake/lib/hashserv/sqlalchemy.py | 598 +++++++ bitbake/lib/hashserv/sqlite.py | 562 ++++++ bitbake/lib/hashserv/tests.py | 1118 +++++++++++- bitbake/lib/layerindexlib/__init__.py | 15 +- bitbake/lib/progressbar/progressbar.py | 2 +- bitbake/lib/prserv/__init__.py | 6 +- bitbake/lib/prserv/client.py | 49 +- bitbake/lib/prserv/db.py | 140 +- bitbake/lib/prserv/serv.py | 158 +- bitbake/lib/toaster/bldcollector/urls.py | 2 +- bitbake/lib/toaster/bldcollector/views.py | 3 + bitbake/lib/toaster/bldcontrol/models.py | 4 +- bitbake/lib/toaster/logs/.gitignore | 1 + bitbake/lib/toaster/orm/fixtures/README | 2 +- .../lib/toaster/orm/fixtures/gen_fixtures.py | 14 +- bitbake/lib/toaster/orm/fixtures/oe-core.xml | 26 +- bitbake/lib/toaster/orm/fixtures/poky.xml | 36 +- bitbake/lib/toaster/orm/fixtures/settings.xml | 2 +- .../orm/management/commands/lsupdates.py | 2 +- .../orm/migrations/0021_eventlogsimports.py | 22 + bitbake/lib/toaster/orm/models.py | 44 +- bitbake/lib/toaster/pytest.ini | 16 + .../tests/browser/selenium_helpers_base.py | 76 +- .../tests/browser/test_all_builds_page.py | 315 +++- .../tests/browser/test_all_projects_page.py | 162 +- .../tests/browser/test_builddashboard_page.py | 15 +- .../test_builddashboard_page_artifacts.py | 8 +- .../tests/browser/test_delete_project.py | 103 ++ .../tests/browser/test_landing_page.py | 131 +- .../tests/browser/test_layerdetails_page.py | 39 +- .../browser/test_most_recent_builds_states.py | 24 +- .../browser/test_new_custom_image_page.py | 14 +- .../tests/browser/test_new_project_page.py | 16 +- .../tests/browser/test_project_builds_page.py | 4 +- .../tests/browser/test_project_config_page.py | 33 +- .../lib/toaster/tests/browser/test_sample.py | 10 + .../tests/browser/test_toastertable_ui.py | 11 +- bitbake/lib/toaster/tests/builds/buildtest.py | 13 +- .../tests/builds/test_core_image_min.py | 20 +- .../toaster/tests/commands/test_loaddata.py | 4 +- .../toaster/tests/commands/test_lsupdates.py | 3 +- .../toaster/tests/commands/test_runbuilds.py | 13 +- bitbake/lib/toaster/tests/db/test_db.py | 3 +- .../tests/functional/functional_helpers.py | 82 +- .../functional/test_create_new_project.py | 179 ++ .../tests/functional/test_functional_basic.py | 195 ++- .../tests/functional/test_project_config.py | 341 ++++ .../tests/functional/test_project_page.py | 792 +++++++++ .../test_project_page_tab_config.py | 528 ++++++ bitbake/lib/toaster/tests/functional/utils.py | 89 + .../tests/toaster-tests-requirements.txt | 8 +- bitbake/lib/toaster/tests/views/test_views.py | 20 +- bitbake/lib/toaster/toastergui/api.py | 26 +- .../fixtures/toastergui-unittest-data.xml | 24 +- bitbake/lib/toaster/toastergui/forms.py | 14 + .../toaster/toastergui/static/css/default.css | 28 + .../css/jquery.dataTables-1.13.8.min.css | Bin 0 -> 22711 bytes .../js/{bootstrap.js => bootstrap-3.4.1.js} | 431 +++-- .../static/js/bootstrap-3.4.1.min.js | Bin 0 -> 39680 bytes .../toastergui/static/js/bootstrap.min.js | Bin 36864 -> 0 bytes .../toastergui/static/js/jquery-3.7.1.min.js | Bin 0 -> 87533 bytes .../toastergui/static/js/jquery-3.7.1.min.map | 1 + .../static/js/jquery.dataTables-1.13.8.min.js | Bin 0 -> 87276 bytes .../toastergui/static/js/libtoaster.js | 2 +- .../toastergui/static/js/projectpage.js | 2 +- .../toaster/toastergui/templates/base.html | 9 +- .../toastergui/templates/base_specific.html | 4 +- .../templates/command_line_builds.html | 209 +++ .../toastergui/templates/js-unit-tests.html | 2 +- .../toaster/toastergui/templates/landing.html | 12 +- .../toastergui/templates/mrb_section.html | 2 +- .../templates/package_built_dependencies.html | 8 +- .../package_included_dependencies.html | 8 +- ...package_included_reverse_dependencies.html | 4 +- .../toaster/toastergui/templates/recipe.html | 4 +- .../toaster/toastergui/templates/target.html | 4 +- .../toastergui/templatetags/projecttags.py | 4 +- bitbake/lib/toaster/toastergui/urls.py | 6 +- bitbake/lib/toaster/toastergui/views.py | 196 ++- bitbake/lib/toaster/toastergui/widgets.py | 10 +- bitbake/lib/toaster/toastermain/logs.py | 158 ++ .../management/commands/buildimport.py | 2 +- .../management/commands/checksocket.py | 4 +- bitbake/lib/toaster/toastermain/settings.py | 82 +- .../lib/toaster/toastermain/settings_test.py | 4 +- bitbake/lib/toaster/toastermain/urls.py | 4 +- bitbake/lib/toaster/tox.ini | 24 + bitbake/toaster-requirements.txt | 3 +- meta/classes/imagetypes_container.bbclass | 2 +- .../linux => }/classes/kbuildtarget.bbclass | 0 testsuite/cibase.py | 2 +- 187 files changed, 15390 insertions(+), 3757 deletions(-) create mode 100644 bitbake/SECURITY.md create mode 100644 bitbake/doc/_templates/footer.html create mode 100644 bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables-context.rst create mode 100755 bitbake/lib/bb/acl.py create mode 100644 bitbake/lib/bb/asyncrpc/connection.py create mode 100644 bitbake/lib/bb/asyncrpc/exceptions.py create mode 100644 bitbake/lib/bb/fetch2/gcp.py create mode 100644 bitbake/lib/bb/tests/fetch-testdata/software/libxml2/2.10/index.html create mode 100644 bitbake/lib/bb/tests/fetch-testdata/software/libxml2/2.9/index.html create mode 100644 bitbake/lib/bb/tests/fetch-testdata/software/libxml2/index.html create mode 100644 bitbake/lib/bb/ui/eventreplay.py create mode 100755 bitbake/lib/bb/ui/taskexp_ncurses.py create mode 100755 bitbake/lib/bb/xattr.py create mode 100644 bitbake/lib/hashserv/sqlalchemy.py create mode 100644 bitbake/lib/hashserv/sqlite.py create mode 100644 bitbake/lib/toaster/logs/.gitignore create mode 100644 bitbake/lib/toaster/orm/migrations/0021_eventlogsimports.py create mode 100644 bitbake/lib/toaster/pytest.ini create mode 100644 bitbake/lib/toaster/tests/browser/test_delete_project.py create mode 100644 bitbake/lib/toaster/tests/functional/test_create_new_project.py create mode 100644 bitbake/lib/toaster/tests/functional/test_project_config.py create mode 100644 bitbake/lib/toaster/tests/functional/test_project_page.py create mode 100644 bitbake/lib/toaster/tests/functional/test_project_page_tab_config.py create mode 100644 bitbake/lib/toaster/tests/functional/utils.py create mode 100644 bitbake/lib/toaster/toastergui/forms.py create mode 100644 bitbake/lib/toaster/toastergui/static/css/jquery.dataTables-1.13.8.min.css rename bitbake/lib/toaster/toastergui/static/js/{bootstrap.js => bootstrap-3.4.1.js} (84%) create mode 100644 bitbake/lib/toaster/toastergui/static/js/bootstrap-3.4.1.min.js delete mode 100644 bitbake/lib/toaster/toastergui/static/js/bootstrap.min.js create mode 100644 bitbake/lib/toaster/toastergui/static/js/jquery-3.7.1.min.js create mode 100644 bitbake/lib/toaster/toastergui/static/js/jquery-3.7.1.min.map create mode 100644 bitbake/lib/toaster/toastergui/static/js/jquery.dataTables-1.13.8.min.js create mode 100644 bitbake/lib/toaster/toastergui/templates/command_line_builds.html create mode 100644 bitbake/lib/toaster/toastermain/logs.py create mode 100644 bitbake/lib/toaster/tox.ini rename meta/{recipes-kernel/linux => }/classes/kbuildtarget.bbclass (100%) -- 2.34.1