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

[FEATURE]: ProtoBuf - make license.id an (external) enum #574

Open
jkowalleck opened this issue Jan 13, 2025 · 1 comment
Open

[FEATURE]: ProtoBuf - make license.id an (external) enum #574

jkowalleck opened this issue Jan 13, 2025 · 1 comment

Comments

@jkowalleck
Copy link
Member

jkowalleck commented Jan 13, 2025

currently(CDX 1.6), we have the following situation:

problem

Using arbitrary strings for license.id means, that there is just no baked-in safety.
To improve this, I propose to use a dedicated ProtoBuf package that can be maintained and released outside the regular CDX release cycle, just like the enum for JSON and XML.

possible solution

consideration & research

  • ❗ this might be a breaking change - need to investigate
  • ❕ need to investigate how/where to publish the schema file, so that has the intended effect
@jkowalleck
Copy link
Member Author

this is currently in RFC phase.
If you have any opinion on that, please let us know.

@jkowalleck jkowalleck changed the title [FEATURE]: ProtoBuf - move SPDX licenses ID enum to own package [FEATURE]: ProtoBuf - make license.id an (external) enum Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant