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

Add SPDX metadata to SoftwareLicense #47

Closed
wkoot opened this issue Oct 14, 2024 · 1 comment · Fixed by #62
Closed

Add SPDX metadata to SoftwareLicense #47

wkoot opened this issue Oct 14, 2024 · 1 comment · Fixed by #62
Assignees
Labels
enhancement New feature or request

Comments

@wkoot
Copy link
Collaborator

wkoot commented Oct 14, 2024

Add SPDX License Identifiers and Expressions to the SoftwareLicense model, in order to facilitate SBOM input.
Investigate if using license-expression, similarly to spdx-tools and cyclonedx-python-lib, is feasible/useful.

@MartVisser MartVisser added the enhancement New feature or request label Dec 23, 2024
@wkoot
Copy link
Collaborator Author

wkoot commented Feb 24, 2025

The type field originally included in the SoftwareLicense feature request #8 could've been used to document license type.
Since it was not specifically meant to hold license expressions, it'll be left as is - also saving complex migration logic.
The page using-SPDX-short-identifiers-in-source-files shows that we're dealing with quite a complex string composition.
For now I think that a multi-select or text field based on the short identifiers as listed on https://spdx.org/licenses/ should suffice.
An autocomplete/suggestion option is needed, choices dropdown is probably too restrictive due to the combinatory logic..

wkoot added a commit that referenced this issue Feb 25, 2025
Closes #47

Signed-off-by: wkoot <[email protected]>
@wkoot wkoot linked a pull request Feb 25, 2025 that will close this issue
wkoot added a commit that referenced this issue Feb 25, 2025
Closes #47

Signed-off-by: wkoot <[email protected]>
@wkoot wkoot closed this as completed in #62 Feb 25, 2025
wkoot added a commit that referenced this issue Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants