diff options
| author | Alexandru Croitor <alexandru.croitor@qt.io> | 2024-07-22 17:26:29 +0200 |
|---|---|---|
| committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2024-07-23 16:29:26 +0200 |
| commit | f6fdc1fe5fde253d7e70a2d2bbef42e9c411956e (patch) | |
| tree | 49d7c754b53f1f1f95cd5a2e3a0a016238eaa014 /src/network/access/qnetworkreplywasmimpl.cpp | |
| parent | a47f6fde87d132d6947ef8d3327ac620265ed979 (diff) | |
CMake: Improve SBOM PURL handling
Tools that consume SBOMs expect that each SBOM package will contain a
unique purl: https://github.com/package-url/purl-spec
Each Qt target maps to an SBOM package, so generate a target-specific
PURL for each Qt target, by using the combination of the repo name
and target name as the purl name.
The purl external reference will then look something like:
ExternalRef: PACKAGE-MANAGER purl pkg:/TheQtCompany/qtbase-Gui@6.8.0
Also allow customizing the purl for each target by specifying one of
the following options to functions like qt_internal_add_module or
qt_internal_extend_sbom:
- PURL_TYPE
- PURL_NAMESPACE
- PURL_NAME
- PURL_VERSION
- PURL_SUBPATH
- PURL_QUALIFIERS
- NO_PURL
- NO_DEFAULT_QT_PURL
Pick-to: 6.8
Task-number: QTBUG-122899
Change-Id: I6926dd773a0ef6fc688664bcac7b23483ecbabe6
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'src/network/access/qnetworkreplywasmimpl.cpp')
0 files changed, 0 insertions, 0 deletions
