Skip to content
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

SDPX 3.0 Support #237

Open
mlieberman85 opened this issue Apr 22, 2024 · 3 comments
Open

SDPX 3.0 Support #237

mlieberman85 opened this issue Apr 22, 2024 · 3 comments

Comments

@mlieberman85
Copy link

mlieberman85 commented Apr 22, 2024

The SPDX 3.0 spec has been officially released. This library should add support for SPDX 3.0.

What would this look like?

  • Add 3.0 models (in spdx/v3/v3_0)
  • Update the referenced core models in spdx to be the latest 3.0 version
  • Add any necessary conversion functions from 2.3 -> 3.0
    • see: go-struct-converter and a potential change to support backwards conversion if we also want to support 3.0 -> 2.x conversion
    • Add at least one fairly complete 2.3 -> 3.0 conversion test
  • Add support in deserialization calls for 3.0:
  • Add tests against some reference 3.0 documents (to be identified)
@kzantow
Copy link
Collaborator

kzantow commented Apr 24, 2024

@mlieberman85 there are plans to add SPDX 3 support at some point, but there isn't currently a timeframe for it. I hope you don't mind but I've updated the text of this issue to use it a bit more placeholder issue for adding support.

@kzantow
Copy link
Collaborator

kzantow commented May 16, 2024

There have been some people looking in to how we can add support for SPDX 3 to this library. There are some distinct challenges -- namely the SPDX 3 model is based on single-inheritance, which isn't really directly supported in Golang. To share some potential solutions, I created this PR for discussion so anyone interested in what the future of this library looks like can comment on the ideas, suggest others, etc.: #240

@kzantow
Copy link
Collaborator

kzantow commented Aug 2, 2024

A prototype is available for feedback here: #247

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants