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

Re-license to Apache-2.0/MIT #71

Merged
merged 5 commits into from
Feb 25, 2018
Merged

Re-license to Apache-2.0/MIT #71

merged 5 commits into from
Feb 25, 2018

Conversation

CAD97
Copy link
Contributor

@CAD97 CAD97 commented Feb 17, 2018

This requires check-off from the following people:

You may copy-paste the following message to provide permission for the re-licensing:

I permit any contribution submitted for inclusion in StructOpt by me, as defined in the Apache-2.0 license, to be dual-licensed under Apache-2.0/MIT.

@CAD97
Copy link
Contributor Author

CAD97 commented Feb 17, 2018

I changed the header comments where they exist to the standard Apache-2.0 one. I did not add them where they don't. This is the de-facto Rust license, and sidesteps potential issues with WTFPL.

The main reason for this is to help clap_derive avoid license issues.

@CAD97 CAD97 mentioned this pull request Feb 17, 2018
4 tasks
@CAD97
Copy link
Contributor Author

CAD97 commented Feb 17, 2018

One more ping for @bestouff, you said you'd post the blurb once you had the correct place to put it.

@killercup
Copy link
Contributor

I permit any contribution submitted for inclusion in StructOpt by me, as defined in the Apache-2.0 license, to be dual-licensed under Apache-2.0/MIT.

2 similar comments
@Kerollmops
Copy link
Contributor

I permit any contribution submitted for inclusion in StructOpt by me, as defined in the Apache-2.0 license, to be dual-licensed under Apache-2.0/MIT.

@Flakebi
Copy link
Contributor

Flakebi commented Feb 17, 2018

I permit any contribution submitted for inclusion in StructOpt by me, as defined in the Apache-2.0 license, to be dual-licensed under Apache-2.0/MIT.

Copy link
Owner

@TeXitoi TeXitoi left a comment

Choose a reason for hiding this comment

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

A big thank you for that!

CHANGELOG.md Outdated
@@ -1,3 +1,7 @@
# Unreleased

* Re-licensed to Apache-2.0/MIT
Copy link
Owner

Choose a reason for hiding this comment

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

Please add your name as in all the changelog lines.

// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
Copy link
Owner

Choose a reason for hiding this comment

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

Please use something explicitly dual licensing as https://github.com/rust-lang/rust/blob/master/src/libstd/lib.rs#L1-L9

@@ -1 +0,0 @@
../COPYING
Copy link
Owner

Choose a reason for hiding this comment

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

Please symlink the LICENSE-* files in this directory as asked in #61

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm on Windows, and this appeared as just a text file for me (and GitHub apparently).

The easiest (and common) solution is just to duplicate the license files, so unless you come up with a better idea that works through Git, I'll just do that (in a separate commit).

Copy link
Owner

@TeXitoi TeXitoi Feb 17, 2018

Choose a reason for hiding this comment

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

Copying the files is OK for me.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's done now! 👍

Copy link
Owner

Choose a reason for hiding this comment

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

Great, approved.

@SergioBenitez
Copy link
Contributor

I permit any contribution submitted for inclusion in StructOpt by me, as defined in the Apache-2.0 license, to be dual-licensed under Apache-2.0/MIT.

@kennytm
Copy link
Contributor

kennytm commented Feb 17, 2018

I permit any contribution submitted for inclusion in StructOpt by me, as defined in the Apache-2.0 license, to be dual-licensed under Apache-2.0/MIT.

1 similar comment
@bestouff
Copy link
Contributor

I permit any contribution submitted for inclusion in StructOpt by me, as defined in the Apache-2.0 license, to be dual-licensed under Apache-2.0/MIT.

@CAD97
Copy link
Contributor Author

CAD97 commented Feb 18, 2018

We get it @bestouff 😆 (You seem to have octuple posted)

@bestouff
Copy link
Contributor

Sorry, did it from FastHub (It's early morning here) which gave back a "server error" each time. I've deleted the useless comments.

@williamyaoh
Copy link
Contributor

I permit any contribution submitted for inclusion in StructOpt by me, as defined in the Apache-2.0 license, to be dual-licensed under Apache-2.0/MIT.

1 similar comment
@ski-csis
Copy link
Contributor

I permit any contribution submitted for inclusion in StructOpt by me, as defined in the Apache-2.0 license, to be dual-licensed under Apache-2.0/MIT.

@CAD97
Copy link
Contributor Author

CAD97 commented Feb 19, 2018

Well, that was relatively painless! All the code contributors have signed off, just tshepang to go with a minor doc change to permit the re-license. To be honest, their contribution seems (very) minor enough that the re-license could go on without their permission if they don't step forward for or against. But IANAL so don't take that as legal advice please, I just know enough to organize things, not make the judgement calls.

I'd give @tshepang the rest of the week to step forward to yay/nay the re-license, but not block on it.

Copy link
Owner

@TeXitoi TeXitoi left a comment

Choose a reason for hiding this comment

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

You have to change the header of examples/deny_missing_docs.rs and update the conflicts in CHANGELOG.md.

@TeXitoi
Copy link
Owner

TeXitoi commented Feb 23, 2018

I let @tshepang until Sunday to validate.

I'll merge and do the new release on Monday even without the validation. (if @BurntSushi doesn't veto on it)

@BurntSushi
Copy link

@TeXitoi 👍 Thanks!

@@ -7,7 +7,7 @@ documentation = "https://docs.rs/structopt"
repository = "https://github.com/TeXitoi/structopt"
keywords = ["clap", "cli", "derive", "docopt"]
categories = ["command-line-interface"]
license = "WTFPL"
license = "Apache-2.0/MIT"
Copy link
Owner

Choose a reason for hiding this comment

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

Please change that to MIT OR Apache-2.0 as in https://github.com/rust-lang/cargo/blob/master/Cargo.toml#L7

Copy link
Contributor

Choose a reason for hiding this comment

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

@TeXitoi Actually Apache-2.0/MIT is the correct syntax. See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata.

# This is a string description of the license for this package. Currently
# crates.io will validate the license provided against a whitelist of known
# license identifiers from http://spdx.org/licenses/. Multiple licenses can be
# separated with a `/`.
license = "..."

Copy link
Owner

Choose a reason for hiding this comment

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

OK. My bad. Strange that cargo doesn't validate its own format.

@CAD97
Copy link
Contributor Author

CAD97 commented Feb 25, 2018

Merged in missing_docs fix with 3f5b7ab, includes replacing the header as appropriate.

@CAD97
Copy link
Contributor Author

CAD97 commented Feb 25, 2018

Or... maybe that chunk didn't get added. Now 182ea23 does what I thought I had done 😆

@tshepang
Copy link
Contributor

I permit any contribution submitted for inclusion in StructOpt by me, as defined in the Apache-2.0 license, to be dual-licensed under Apache-2.0/MIT.

@CAD97
Copy link
Contributor Author

CAD97 commented Feb 25, 2018

All clear @TeXitoi! 🎉🎉🎉🎉

@TeXitoi TeXitoi merged commit 72784f3 into TeXitoi:master Feb 25, 2018
@TeXitoi
Copy link
Owner

TeXitoi commented Feb 25, 2018

v0.2.4 published.

Thanks to everybody!

bors added a commit to rust-lang/cargo that referenced this pull request Feb 25, 2018
Separate licenses with a `/` instead of ` OR `

It's what we tell others to do.

https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata

> ```toml
> # This is a string description of the license for this package. Currently
> # crates.io will validate the license provided against a whitelist of known
> # license identifiers from http://spdx.org/licenses/. Multiple licenses can be
> # separated with a `/`.
> license = "..."
> ```

Noted [here](TeXitoi/structopt#71 (comment)).

This should either use `/` or a note should be added that ` OR ` is allowed as a combination operator.
This pull request was closed.
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.