-
Notifications
You must be signed in to change notification settings - Fork 38
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
How to convert from SPDX 2 to SPDX 3 #170
Comments
@vargenau - you can use the file extension
|
The conversion works, but I have many warnings.
|
@vargenau - I took a look at the code and the warnings above. The schema related warnings are due to issues with the SPDX spec generated schema file which has been resolved with 3.0.1 - as soon as I update the tools, these should go away. I wasn't able to duplicate the other warnings - if you can attach the SPDX V2.3 file you used as input, I can take a look. |
Hi @goneall |
@vargenau - I was able to duplicate the warnings on the 2.0.0-Alpha version. It looks like all of these are fixed with the released 3.0.1 schema and a few related fixes. Hope to get a new release out soon after we finalize the 3.0.1 spec release. |
Thank you @goneall |
@goneall
The Java tools version 2 have the capability to convert from SPDX 2 to SPDX 3.
This is documented at: https://spdx.github.io/Spdx-Java-Library/org/spdx/library/conversion/Spdx2to3Converter.html
But I would like to do it in the command line, not in a Java program.
I used to do something like:
convert from SPDX 2 tag:value to SPDX 2 JSON.
I would have expected that
would convert my SPDX 2 tag:value to SPDX 3, but that still converts to SPDX 2 JSON.
Is there a way to convert SPDX 2 to SPDX 3 on the command line?
The text was updated successfully, but these errors were encountered: