-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 MPL-2.0-no-copyleft-exception to the allow list #8194
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
9 Ignored Deployments
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
🟢 CI successful 🟢Thanks |
🟢 Turbopack Benchmark CI successful 🟢Thanks |
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 feel like this is fine, but I also feel like the prehash library isn't providing much value, as it's probably <50 LOC not counting comments.
If you want code we already own that you can copy from, I added this implementation to hstr (used in swc): https://github.com/dudykr/ddbase/blob/main/crates/hstr/src/dynamic.rs#L189-L228
Description
In this PR #8174 the library prehash is licensed using MPL2.0 (great) but without the copyleft exception.
I believe that we are OK. From what I understand this prevents us from making and redistributing changes to this library under one of the MPL secondary licenses ("Secondary License" means either the GNU General Public License, Version 2.0, the GNU Lesser General Public License, Version 2.1, the GNU Affero General Public License, Version 3.0, or any later versions of those licenses).
It does not exclude us from using that library in a 'larger work' that is licensed using a different (compatible) license so for the purpose of distributing a binary it is the same as MPL-2.0
Testing Instructions
N/A