]> git.ipfire.org Git - thirdparty/linux.git/commit
scripts/sbom: add SPDX classes
authorLuis Augenstein <luis.augenstein@tngtech.com>
Mon, 18 May 2026 06:20:54 +0000 (08:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 May 2026 11:14:41 +0000 (13:14 +0200)
commit06f4e57165caf3012876b211cb687ba802188aff
treed38917e62126fab9f7278c410ce2106af65c18f9
parentd764b54e2885d55a6d272507e8b8e1b2cbbc2530
scripts/sbom: add SPDX classes

Implement Python dataclasses to model the SPDX classes
required within an SPDX document. The class and property
names are consistent with the SPDX 3.0.1 specification.

Assisted-by: Cursor:claude-sonnet-4-5
Assisted-by: OpenCode:GLM-4-7
Co-developed-by: Maximilian Huber <maximilian.huber@tngtech.com>
Signed-off-by: Maximilian Huber <maximilian.huber@tngtech.com>
Signed-off-by: Luis Augenstein <luis.augenstein@tngtech.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/sbom/sbom/spdx/__init__.py [new file with mode: 0644]
scripts/sbom/sbom/spdx/build.py [new file with mode: 0644]
scripts/sbom/sbom/spdx/core.py [new file with mode: 0644]
scripts/sbom/sbom/spdx/serialization.py [new file with mode: 0644]
scripts/sbom/sbom/spdx/simplelicensing.py [new file with mode: 0644]
scripts/sbom/sbom/spdx/software.py [new file with mode: 0644]
scripts/sbom/sbom/spdx/spdxId.py [new file with mode: 0644]