Add UUID to spdxIds in example data - #1325
Conversation
- Use https://spdx.org/spdxdocs/ prefix, as found in many examples in https://github.com/spdx/spdx-examples/ - Add UUID to the ID To fix spdx#1323 Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
|
is the |
From SPDX 2.3 spec,
However, I don't think we have that written in 3.0 spec. The closest thing we have is probably an example in "Getting Started" guide, hosted in the I think it will benefit spec readers and implementers if we have this written somewhere in 3.0 spec. (Keith raised this spdxId schema question as well during Implementers call on 5 Jan 2026) |
|
[Off-topic] Looking at SPDX 2.x specs, I really like the way they have the Purpose and Intent sections for every fields. They are very useful and can help spec readers, including implementers, understand the design choices. We tend to have those explanations in issues and PRs of spdx-spec and spdx-3-model repos, meeting minutes, and mailing list, but not in one single structured place like in 2.x. |
|
I suggest we use |
|
But what is the guidance for a tool vendor. Should they write
I think that us using the |
|
I think a recommended "if not sure use the following way of generating spdx ids" would be great |
zvr
left a comment
There was a problem hiding this comment.
... and so on.
Essentially, use https://spdx.org/example-data/ as prefix.
I completely agree, but this is a separate point from the actual example data file. |
|
DIscussed on call. Agreed to move to -rc2. Need feedback from Max. |
|
Apparently, this issue is not new: |
|
To update changes to reflect the recently updated |
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
|
I have updated the Note that @maxhbr @zvr @JPEWdev @goneall please review. (if we don't want to use |
goneall
left a comment
There was a problem hiding this comment.
Discussed on 21 July 2026 Tech call - we'll go ahead and approve/merge for now - if we want a shorter version, we can do a separate PR
|
@zvr - any concern with just merging this PR and creating a separate PR if we want a shorter / different ID approach? |
Change requests are addressed and requested for re-review. No response in the past four months. Will reset this and request for review again.
Use https://spdx.org/spdxdocs/ prefix, as found in many examples in https://github.com/spdx/spdx-examples/Update 24 Apr 2026: Use
spdxIdas suggested in the newly updated spdxId description (see https://spdx.github.io/spdx-spec/v3.1-dev/model/Core/Properties/spdxId/ - revised by spdx/spdx-3-model#1215)To fix #1323