-
-
Notifications
You must be signed in to change notification settings - Fork 588
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add new Apache or MIT license rule #3738 #3750
Add new Apache or MIT license rule #3738 #3750
Conversation
Signed-off-by: Vasily Pozdnyakov <vasily.pozdnyakov@tngtech.com>
Hi, I am new to new rules creation and have a couple of questions:
|
@vasily-pozdnyakov welcome and thanks for the PR!
When you get SCTK from a git checkout and install scancode to run locally (or get scancode from github releases or pip install) you have the license indexes at
That's mostly correct, this could (and does also) generate a lot of false positives in a lot of cases. See #2878 We are working on resolving this and I have a pending PR at #3254 testing out adding required phrases automatically and massively across all the rules from the following:
|
Signed-off-by: Vasily Pozdnyakov <vasily.pozdnyakov@tngtech.com>
6d1b58a
to
df8cd3d
Compare
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.
Thanks. Just a minor but important nit wrt. to the license expression. The norm for MIT and Pache in the Rust ecosystem is to be a choice and buck2 and this new rules is not an exception.
We could also later add more rules for derived notices such as https://github.com/facebook/buck2?tab=readme-ov-file#license
Signed-off-by: Vasily Pozdnyakov <vasily.pozdnyakov@tngtech.com>
Thanks++ @vasily-pozdnyakov, merging! |
Fixes #3738
Tasks