Skip to content

Re-license to Apache-2.0/MIT#71

Merged
TeXitoi merged 5 commits into
TeXitoi:masterfrom
CAD97:master
Feb 25, 2018
Merged

Re-license to Apache-2.0/MIT#71
TeXitoi merged 5 commits into
TeXitoi:masterfrom
CAD97:master

Conversation

@CAD97

@CAD97 CAD97 commented Feb 17, 2018

Copy link
Copy Markdown
Contributor

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

CAD97 commented Feb 17, 2018

Copy link
Copy Markdown
Contributor Author

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

CAD97 commented Feb 17, 2018

Copy link
Copy Markdown
Contributor Author

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

@killercup

Copy link
Copy Markdown
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
Copy Markdown
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

Flakebi commented Feb 17, 2018

Copy link
Copy Markdown
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.

@TeXitoi TeXitoi left a comment

Copy link
Copy Markdown
Owner

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!

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

* Re-licensed to Apache-2.0/MIT

Copy link
Copy Markdown
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.

Comment thread examples/basic.rs Outdated
// 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
Copy Markdown
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

Comment thread structopt-derive/COPYING
@@ -1 +0,0 @@
../COPYING No newline at end of file

Copy link
Copy Markdown
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
Copy Markdown
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).

@TeXitoi TeXitoi Feb 17, 2018

Copy link
Copy Markdown
Owner

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

kennytm commented Feb 17, 2018

Copy link
Copy Markdown
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
@bestouff

Copy link
Copy Markdown
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

CAD97 commented Feb 18, 2018

Copy link
Copy Markdown
Contributor Author

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

@bestouff

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

CAD97 commented Feb 19, 2018

Copy link
Copy Markdown
Contributor Author

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.

@TeXitoi TeXitoi left a comment

Copy link
Copy Markdown
Owner

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

TeXitoi commented Feb 23, 2018

Copy link
Copy Markdown
Owner

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
Copy Markdown

@TeXitoi 👍 Thanks!

Comment thread Cargo.toml
keywords = ["clap", "cli", "derive", "docopt"]
categories = ["command-line-interface"]
license = "WTFPL"
license = "Apache-2.0/MIT"

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

CAD97 commented Feb 25, 2018

Copy link
Copy Markdown
Contributor Author

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

@CAD97

CAD97 commented Feb 25, 2018

Copy link
Copy Markdown
Contributor Author

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

@tshepang

Copy link
Copy Markdown

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

CAD97 commented Feb 25, 2018

Copy link
Copy Markdown
Contributor Author

All clear @TeXitoi! 🎉🎉🎉🎉

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

TeXitoi commented Feb 25, 2018

Copy link
Copy Markdown
Owner

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.
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.