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

relicense under spdx identifier MIT OR (Apache-2.0 WITH LLVM-exception) #3

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

TheButlah
Copy link
Contributor

@TheButlah TheButlah commented Oct 10, 2024

Rebased on #2, merge that one first.

This PR relicenses the code as MIT OR (Apache-2.0 WITH LLVM-exception). The new license files are located at LICENSE-MIT and LICENSE-APACHE.

Rationale of license choice

The reason why Apache-2.0 WITH LLVM-exception is good:

  • unlike normal Apache, it has improved compatibility with GPLv2 libraries.
  • It is well established - clang uses this version of apache.
  • Unlike MIT, it explicitly grants patent rights to consumers of the code. This protects end users from patent trolls.

The reason why MIT is good:

  • Everyone knows it
  • Its short
  • Its highly permissive

The OR in the license clause means that contributors to the code agree to both licenses. Which means consumers of the code are protected by both, and if one or the other better suits their needs, they can choose which one to consume the library under. It also means that forks of the code could remove one of the two licenses, if they needed to be more compatible with some project (downgrade from dual to single license). This dual licensing strategy is inspired by Rust's licensing scheme. In practice, this means the license is even more permissive than just MIT or just Apache 2.0 would be alone.

This licensing scheme is the same as what we use in other repos, most notably, orb-software.

Contributor agreement

I would like to request that all contributors to this codebase to date comment the following to indicate their agreement with the relicense:

I approve the relicense of all past and future contributions in this repository to the MIT OR (Apache-2.0 WITH LLVM-exception) license. I understand that I am granting patent rights as defined in LICENSE-APACHE, and I understand that the code will be open sourced publicly. I have been authorized by my employer (Modulus Labs) to grant the code under this license.

Contributors that must sign off before this PR can be merged and the relicense completed:

@NayrOacModulus
Copy link
Collaborator

I approve the relicense of all past and future contributions in this repository to the MIT OR (Apache-2.0 WITH LLVM-exception) license. I understand that I am granting patent rights as defined in LICENSE-APACHE, and I understand that the code will be open sourced publicly. I have been authorized by my employer (Modulus Labs) to grant the code under this license.

2 similar comments
@BenModulusLabs
Copy link
Collaborator

I approve the relicense of all past and future contributions in this repository to the MIT OR (Apache-2.0 WITH LLVM-exception) license. I understand that I am granting patent rights as defined in LICENSE-APACHE, and I understand that the code will be open sourced publicly. I have been authorized by my employer (Modulus Labs) to grant the code under this license.

@giorgos-ml
Copy link
Collaborator

I approve the relicense of all past and future contributions in this repository to the MIT OR (Apache-2.0 WITH LLVM-exception) license. I understand that I am granting patent rights as defined in LICENSE-APACHE, and I understand that the code will be open sourced publicly. I have been authorized by my employer (Modulus Labs) to grant the code under this license.

@vishady721
Copy link
Collaborator

I approve the relicense of all past and future contributions in this repository to the MIT OR (Apache-2.0 WITH LLVM-exception) license. I understand that I am granting patent rights as defined in LICENSE-APACHE, and I understand that the code will be open sourced publicly. I have been authorized by my employer (Modulus Labs) to grant the code under this license.

@TheButlah TheButlah changed the base branch from master to main October 11, 2024 18:46
@TheButlah TheButlah marked this pull request as ready for review October 11, 2024 18:58
@TheButlah TheButlah enabled auto-merge (squash) October 11, 2024 19:00
@TheButlah
Copy link
Contributor Author

TheButlah commented Oct 11, 2024

Once @vishady721 approves the PR, it should merge

Copy link
Collaborator

@vishady721 vishady721 left a comment

Choose a reason for hiding this comment

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

yayyyy!

@TheButlah TheButlah merged commit 049a4dc into main Oct 11, 2024
7 checks passed
@TheButlah TheButlah deleted the thebutlah/relicense branch October 11, 2024 20:52
@worldcoin worldcoin locked as resolved and limited conversation to collaborators Oct 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants