-
Notifications
You must be signed in to change notification settings - Fork 618
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
Replace license-exprs
crate with spdx
#4293
Conversation
Just a few questions and observations:
|
As far as I understand the lax mode was created to be able to handle all currently existing I have however opened EmbarkStudios/spdx#50 two days ago, which makes the lax mode a little more configurable. That would allow us to e.g. enable only the support for the custom slash operator, but keep support for other lax mode feature disabled. I'm fine with waiting until that change has shipped, if you prefer. |
I did another scan where I checked when the last time the crate was updated: https://gist.github.com/ehuss/ce7a72f4eecb2a7ff1d668a936f5587f All of the errors in the past year have been due to postfix plus on gpl. If the number was small, I was going to suggest just sending PRs to the affected crates and ignoring the Lax mode stuff. However, there is about a 100 so that's probably too many to do manually. If your PR gets accepted within some reasonable timeframe, I think it would be good to wait. |
This comment has been minimized.
This comment has been minimized.
It was just merged and released. I've rebased and adjusted this PR :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have not reviewed the spdx
crate, but otherwise this seems reasonable.
@bors r=ehuss thanks :) |
📌 Commit 87bce69 has been approved by |
☀️ Test successful - checks-actions |
Resolves #2595
tl;dr you can now use parenthesis (e.g.
X AND (Y OR Z)
) in license expressions. the custom/
operator is still supported for now, though not directly compatible with the use of parenthesis.