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

switch licenses to mit-apl #13

Merged
merged 2 commits into from
Feb 23, 2020
Merged

switch licenses to mit-apl #13

merged 2 commits into from
Feb 23, 2020

Conversation

koivunej
Copy link
Contributor

see related rs-ipfs/rust-ipfs#50.

There is only a single contributor before this so probably ok just to merge.

@vmx
Copy link
Member

vmx commented Feb 20, 2020

You were faster then I was, I also had the PR already prepared but haven't pushed it yet.

For those wondering why, I'd like to quote from ipfs/js-ipfs#2624, for the reasons for dual-licensing under MIT/Apache2:

This has two major benefits:

  • There are concerns in the open source community about whether the MIT license leaves users vulnerable to patent infringement claims. We think the pure legal risk is small, but the way the open source community interacts with our project is really important. It makes sense to pick the license that makes the largest number of people comfortable.
  • There's now no reason to adopt a separate DCO, since the Apache-2 license grant addresses the same issue.

Why use a dual license, instead of just Apache-2? The Apache-2 license is incompatible with the GPLv2 license, which includes things like the Linux kernel. With a dual license, GPLv2 projects can just use the MIT license instead. Our goal is to make our software available to as many projects as possible, so we'd rather adopt a licensing scheme that doesn't exclude anyone.

@vmx
Copy link
Member

vmx commented Feb 20, 2020

Best would be if @dvc94ch could approve this PR and perhaps even comment:

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to choose either at their option.

@dvc94ch
Copy link
Collaborator

dvc94ch commented Feb 20, 2020

We discussed on riot, I'm not sure how dual licensing provides patent protection, since I can use rust-ipfs under the MIT license and still sue rust-ipfs for patent infringement. But as I said, it's ok with me

Copy link
Member

@vmx vmx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@koivunej Could you please also add the license = "MIT OR Apache-2.0" to all crates in this repo?

@koivunej
Copy link
Contributor Author

koivunej commented Feb 20, 2020

All Cargo.tomls now have the license, failed with my sed magic the first time but now they seem to be ok :)

@dvc94ch dvc94ch merged commit 948d039 into ipld:master Feb 23, 2020
@koivunej koivunej deleted the mit-apl branch March 3, 2020 10:13
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.

None yet

3 participants