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(-)

-- 
2.51.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#226258): 
https://lists.openembedded.org/g/openembedded-core/message/226258
Mute This Topic: https://lists.openembedded.org/mt/116279439/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to