Skip to content

Get licensor field from package section #77

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

baranee
Copy link

@baranee baranee commented May 21, 2025

Current code reports SPDX content creation name field as manufacturer instead of retrieving it from package.

@baranee
Copy link
Author

baranee commented May 21, 2025

@hughsie Does it make sense to use package originator field to map as uSwidEntityRole.LICENSOR which in turn is reported as manufacturer.

@hughsie
Copy link
Owner

hughsie commented May 21, 2025

Can you add some unit tests for the import and the export please? I suspect this change is correct but it would be much easier to see it as a test in uswid/test_uswid.py

@baranee baranee marked this pull request as ready for review May 23, 2025 03:34
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

Successfully merging this pull request may close these issues.

2 participants