bodnuti
Deterministic checks of Yocto Project & OpenEmbedded patches.
[PATCH v4 0/4] spdx30: identity and purls of dependency downloads
- List
- openembedded-core
- Thread
- lore
- Author
- Stefano Tondo
- Last message
- 2026-11-25 18:36
- Result
- 4 findings, 3 errors ยท 2 style findings
- Checked against
- openembedded-core master
- Base
39019629a4ad
[PATCH v4 1/4] spdx30: Take name, version and PURL of downloads from the fetcher
[PATCH v4 2/4] spdx30: Record the lifecycle scope of dependencies
warning oelint
oelint.vars.mispell.unknown meta/classes-recipe/cargo.bbclass:5451 fi52}53addtask cargo_metadata after do_configure before do_compile do_create_spdx54SPDX_DEPENDENCY_SCOPE_FUNCS += "oe.rust.cargo_dependency_scopes"5556cargo_do_install () {57 local have_installed=false
Show 2 style findings
warning oelint
oelint.tabs.notabs meta/classes-recipe/cargo.bbclass:5653addtask cargo_metadata after do_configure before do_compile do_create_spdx54SPDX_DEPENDENCY_SCOPE_FUNCS += "oe.rust.cargo_dependency_scopes"5556cargo_do_install () {57 local have_installed=false58 for tgt in "${B}/target/${CARGO_TARGET_SUBDIR}/"*; do59 case $tgt in
info oelint
oelint.task.docstrings meta/classes-recipe/cargo.bbclass:3633# feature uses it on the target.34CARGO_METADATA_FILE = "${WORKDIR}/cargo-metadata.json"3536do_cargo_metadata () {37 rm -f "${CARGO_METADATA_FILE}"38 # Some recipes inherit cargo without being a cargo project39 if [ ! -f "${CARGO_MANIFEST_PATH}" ]; then
[PATCH v4 3/4] spdx30: Add the PURLs of the source downloads to the output packages
error ruff
F821 meta/lib/oe/spdx30_tasks.py:18441841 )1842 root = objset.find_root(oe.spdx30.software_Package)1843 if root is None:1844 bb.fatal("Unable to find %s rootfs artifact" % sdk_type)1845 rootfs_objsets.append(objset)1846 rootfs.append(root)1847
error ruff
F821 meta/lib/oe/spdx30_tasks.py:19021899 files,1900 )1901 else:1902 bb.warn(f"No SDK output files found in {sdk_deploydir}")19031904 objset, sbom = oe.sbom30.create_sbom(1905 d, toolchain_outputname, sorted(list(files)), rootfs_objsets
error ruff
F821 meta/lib/oe/spdx30_tasks.py:19701967 if (1968 d.getVar("SPDX_DEPLOY_ALLOW_EMPTY:task-" + d.getVar("BB_CURRENTTASK")) or ""1969 ) != "1":1970 bb.fatal(f"No deployed artifacts found in {artifactsdir}")1971 return19721973 create_deploy_package(
[PATCH v4 4/4] oeqa/selftest: spdx: Test crate identity, scope and output PURLs
patchtest: 40 pass, 0 fail, 20 skip