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

License for this repository? #1225

Closed
wking opened this issue Jan 9, 2018 · 2 comments
Closed

License for this repository? #1225

wking opened this issue Jan 9, 2018 · 2 comments

Comments

@wking
Copy link
Contributor

wking commented Jan 9, 2018

I'd like to transition from / to AND or OR in crates.io's Cargo.toml (compare rust-lang/cargo#4920). My guess is that the intended license is MIT OR Apache-2.0 because that's the same semantics Rust uses for most of its code.

This repository only recently gained a similar human-readable explanation. The first mention of “Apache” in this repo landed in fbdf157 (2014-06-29) with a file header that included a similar human-readable license grant (great, but just for that file). Then 7a2b889 (2014-10-20) landed LICENSE-APACHE (and LICENSE-MIT) but no human-readable grant (e.g. in the README or a COPYRIGHT file). 4b07668 (2015-01-12) dropped the one file that had an Apache-2.0 OR MIT grant header. 4c43811 (2017-04-26) landed the current human-readable explanation. 663ffc7 (2017-04-28) added license information to Cargo.toml with the underspecified / form.

I expect we can express the expectations of most contributors by changing our current:

license = "MIT/Apache-2.0"

to:

license = "MIT OR Apache-2.0"

However, without local docs unpacking the meaning (like Rust has), it's not clear to me whether all 130+ crates.io contributors had the same impression of the intended license. Are the crates.io maintainers comfortable making the update without contacting all of those contributors? Or would they rather assume that the contributors were familiar enough with the Rust ecosystem to interpret / as OR? What were the intentions of folks who first contributed before 4c43811 (~⅔ of contributors) when this repository had just LICENSE-APACHE and LICENSE-MIT? What about before 7a2b889 (only @alexcrichton, @stefanpenner, @sfackler, and @wycats) where this repository had no project-wide licensing information at all?

@sfackler
Copy link
Member

sfackler commented Jan 9, 2018

I believe the / is pretty universally understood to mean "your (the consumer's) choice of MIT or Apache/2.0" - it's been described that way in the Rust FAQ for years IIRC.

I hereby relicense my old contributions under MIT OR Apache-2.0 if that's relevant :)

@wking
Copy link
Contributor Author

wking commented Jan 9, 2018 via email

sgrif added a commit to sgrif/crates.io that referenced this issue Jan 9, 2018
sgrif added a commit to sgrif/crates.io that referenced this issue Jan 9, 2018
bors-voyager bot added a commit that referenced this issue Jan 10, 2018
1226: Explicitly state our license in the README, use `OR` in Cargo.toml r=jtgeibel

Fixes #1225
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

No branches or pull requests

2 participants