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

Use spdx to normalize license expressions #79

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

Conversation

sosthene-nitrokey
Copy link
Contributor

If the canoncalization fails, use the expression as-is

Fixes #78

If the canoncalization fails, use the expression as-is
@sosthene-nitrokey
Copy link
Contributor Author

Updated to manually "sort" the expressions to keep the behaviour as similar as possible with regards to how it was previously, while properly handling parentheses and more complex expressions.

Added some tests.

Tested and works with all dependencies in nitrokey-3-firmware.

sosthene-nitrokey added a commit to Nitrokey/nitrokey-3-firmware that referenced this pull request Mar 6, 2025
sosthene-nitrokey added a commit to Nitrokey/nitrokey-3-firmware that referenced this pull request Mar 6, 2025
sosthene-nitrokey added a commit to Nitrokey/nitrokey-3-firmware that referenced this pull request Mar 6, 2025
sosthene-nitrokey added a commit to Nitrokey/nitrokey-3-firmware that referenced this pull request Mar 6, 2025
sosthene-nitrokey added a commit to Nitrokey/nitrokey-3-firmware that referenced this pull request Mar 10, 2025
sosthene-nitrokey added a commit to Nitrokey/nitrokey-3-firmware that referenced this pull request Mar 10, 2025
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.

cargo-license fails to normalize the license of libm 0.2.9 and 0.2.10`
1 participant