-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SPDX 2.2 conformance (invalid licenseListVersion
produced)
#9606
Comments
Fixes #9606. Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
Fixes #9606. Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
Thanks! |
BTW, how did you notice? Was some validation tool complaining about it? Other than that I believe the spec to be overly restrictive here, esp. as the official tagging of the license list versions has itself changed from two to three digits after 3.23. |
Yes, a python tool called The scanner PR (#9487) I submitted is enough for me to track all files (even if not ready for merging), and I have another based on the changes proposed on #8485 to produce the SBOM. This is all we need to generate an SBOM :) After I removed the final |
Essentially, with minor changes to the produce SPDX from Sure enough, I need to edit other fields in the SPDX to look more complete, but I can create my own script for this particular purpose. More concretely, that would be:
I believe that in unmanaged projects, these are not set and there is not yet a way to set them. But as I said, it is a minor thing that I can script :) |
Describe the bug
After generating a SPDX SBOM in an unmanaged project, the
licenseListVersion
is set to "3.25.0", but SPDX 2.2 only allows two digits, e.g., "3.25"To Reproduce
Run in an unmanaged project
The generated SPDX has a
licenseListVersion
with 3 numeric versionsExpected behavior
I expected the
licenseListVersion
to conform to the SPDX 2.2 standard.Additional context
This happens in
Unmanaged
projects, as far as I know.The text was updated successfully, but these errors were encountered: