Skip to content

SPDX 3.0.1 documentation and bugfix

Stefano Tondo openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2spdx30_tasks: Fix SPDX_CUSTOM_ANNOTATION_VARS implementationmeta/lib/oe/spdx30_tasks.py meta/lib/oeqa/selftest/cases/spdx.py+75 -32 replies
2/2spdx-common: Add documentation for undocumented SPDX variablesmeta/classes/spdx-common.bbclass+26 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJoshua Watt
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [OE-core 0/2] SPDX 3.0.1 documentation and bugfix

From: Stefano Tondo <[email protected]>

This series adds documentation for undocumented SPDX variables and fixes a critical bug in the custom annotations feature.

Patch 1/2: Fixes NameError in SPDX_CUSTOM_ANNOTATION_VARS feature by
correcting method call syntax. Adds regression test to prevent future occurrences.

Patch 2/2: Adds [doc] strings for 8 SPDX variables in spdx-common.bbclass.
Makes variables discoverable via bitbake-getvar and IDE completion.

Note: A companion patch for yocto-docs will add three of these variables to the reference manual (SPDX_UUID_NAMESPACE, SPDX_LICENSES, and SPDX_MULTILIB_SSTATE_ARCHS).

Both patches have been tested with core-image-minimal builds.

Stefano Tondo (2):
spdx30_tasks: Fix SPDX_CUSTOM_ANNOTATION_VARS implementation
spdx-common: Add documentation for undocumented SPDX variables

 meta/classes/spdx-common.bbclass     | 26 ++++++++++
 meta/lib/oe/spdx30_tasks.py          |  4 +-
 meta/lib/oeqa/selftest/cases/spdx.py | 74 ++++++++++++++++++++++++++++
 3 files changed, 101 insertions(+), 3 deletions(-)
Signature · 1 line
2.51.1