From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7363301042520326144 X-Received: by 2002:a05:6512:4887:b0:519:1d68:ed with SMTP id eq7-20020a056512488700b005191d6800edmr7890215lfb.47.1714489653303; Tue, 30 Apr 2024 08:07:33 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:e94:b0:51d:4c8a:55bc with SMTP id 2adb3069b0e04-51d4c8a5f9fls15438e87.0.-pod-prod-06-eu; Tue, 30 Apr 2024 08:07:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEKV1RAlcuB5clGqqYeeOqDPhohySZNwp8mmJEBt3viPXmkSHYtfC4vpR9ubFBbnd3UZg7d X-Received: by 2002:a05:6512:48d2:b0:515:a6dd:9657 with SMTP id er18-20020a05651248d200b00515a6dd9657mr7740644lfb.16.1714489651087; Tue, 30 Apr 2024 08:07:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1714489651; cv=none; d=google.com; s=arc-20160816; b=JnONrqrId1r6st3GJieeVbkpAymkIDfVz2cei1bqaSdESAg1K5O0oJbesnV8qt+Qw9 ytv+35ZAC/uz/5uNPo17Djleptv2JuM79HVgJ8R2alGuonPcXrUoB6CHQUTFX4PCERmK eVkmMGANAM9EPhVzw2PFsWXj9uZU7nGZpbjZn28m3W5hqjKTNwvZFc0eVl3PmbbF4Sri IlECQ971MKwiptRYaLbSELye07x7UJkTLb+foMtikYUDEqNn+PVmx2FIlB1ust1jhmbM irK4wRDLFZOnhikFxajGUA061yj3WCeGXQoVn6oXFmLFBhFmZP1di1hlACMm0ps/c629 2r+A== 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=eLyzECz77uoykAd8yocNAtwukv1cnK8pY1HSXjqVlM0=; fh=/h9QQkzJ8EboVkWg45aWwpaUro6WMavIVd2OhN45RtE=; b=rKjn0plK16xvo7pGdDolYzoyGc8nwjnUzOXvmH8jI0glRsDc4YXDGJOpr14Q0y4RZ5 giJYW05t08j/n7uyGC0Jlrrg6ftpjvl6vaq6Q6ApnnFnMfVMU7UaA/bYBPJbFhaRrgYP xUQMf1TMiJE/PpCJhnoXVdbuasLqrLS0/w+HRSlBU9rbPWMwh/4sKpc07S2YDO3v+A4z RjMYhgfZ5pGlwJOJjph1f/P1ANKU1/58cN1AmUBxsw7yfeak3skupUVMz9qDQKIikxI+ B/7324vdrJAQHgZslbi+J9DdgVdrEgyLftsZeP1+MdJuCnMSpLkvRKKrHy95t0E11snT p8wQ==; 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 dw10-20020a0565122c8a00b00518785dafcasi976723lfb.0.2024.04.30.08.07.30 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 30 Apr 2024 08:07:30 -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 43UF7SiQ027209 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Apr 2024 17:07:29 +0200 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: Anton Mikanovich Subject: [PATCH v2 0/4] Update to Bitbake 2.8 Date: Tue, 30 Apr 2024 18:07:16 +0300 Message-Id: <20240430150720.418515-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: xcjZX19QR9MF 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 v1: - Fix network flag setting issue Anton Mikanovich (4): 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/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 | 17 +- 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 186 files changed, 15387 insertions(+), 3755 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