{"action":"created","issue":{"url":"https://api.github.com/repos/BurntSushi/chan/issues/4","labels_url":"https://api.github.com/repos/BurntSushi/chan/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/BurntSushi/chan/issues/4/comments","events_url":"https://api.github.com/repos/BurntSushi/chan/issues/4/events","html_url":"https://github.com/BurntSushi/chan/issues/4","id":125697695,"number":4,"title":"Relicense under dual MIT/Apache-2.0","user":{"login":"cmr","id":704250,"avatar_url":"https://avatars.githubusercontent.com/u/704250?v=3","gravatar_id":"","url":"https://api.github.com/users/cmr","html_url":"https://github.com/cmr","followers_url":"https://api.github.com/users/cmr/followers","following_url":"https://api.github.com/users/cmr/following{/other_user}","gists_url":"https://api.github.com/users/cmr/gists{/gist_id}","starred_url":"https://api.github.com/users/cmr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmr/subscriptions","organizations_url":"https://api.github.com/users/cmr/orgs","repos_url":"https://api.github.com/users/cmr/repos","events_url":"https://api.github.com/users/cmr/events{/privacy}","received_events_url":"https://api.github.com/users/cmr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-08T21:29:38Z","updated_at":"2016-01-09T14:51:15Z","closed_at":null,"body":"# Why?\n\nThe MIT license requires reproducing countless copies of the same copyright\nheader with different names in the copyright field, for every MIT library in\nuse. The Apache license does not have this drawback, and has protections from\npatent trolls and an explicit contribution licensing clause. However, the\nApache license is incompatible with GPLv2. This is why Rust is dual-licensed as\nMIT/Apache (the \"primary\" license being Apache, MIT only for GPLv2 compat), and\ndoing so would be wise for this project. This also makes this crate suitable\nfor inclusion in the Rust standard distribution and other project using dual\nMIT/Apache.\n\n# How?\n\nTo do this, get explicit approval from each contributor of copyrightable work\n(as not all contributions qualify for copyright) and then add the following to\nyour README:\n\n```\n## License\n\nLicensed under either of\n * Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you shall be dual licensed as above, without any\nadditional terms or conditions.\n```\n\nand in your license headers, use the following boilerplate (based on that used in Rust):\n\n```\n// Copyright (c) 2015 t developers\n// Licensed under the Apache License, Version 2.0\n// <LICENSE-APACHE or\n// http://www.apache.org/licenses/LICENSE-2.0> or the MIT\n// license <LICENSE-MIT or http://opensource.org/licenses/MIT>,\n// at your option. All files in the project carrying such\n// notice may not be copied, modified, or distributed except\n// according to those terms.\n```\n\nAnd don't forget to update the `license` metadata in your `Cargo.toml`!\n\n# Contributor checkoff\n\n\n - [ ] @BurntSushi"},"comment":{"url":"https://api.github.com/repos/BurntSushi/chan/issues/comments/170244790","html_url":"https://github.com/BurntSushi/chan/issues/4#issuecomment-170244790","issue_url":"https://api.github.com/repos/BurntSushi/chan/issues/4","id":170244790,"user":{"login":"BurntSushi","id":456674,"avatar_url":"https://avatars.githubusercontent.com/u/456674?v=3","gravatar_id":"","url":"https://api.github.com/users/BurntSushi","html_url":"https://github.com/BurntSushi","followers_url":"https://api.github.com/users/BurntSushi/followers","following_url":"https://api.github.com/users/BurntSushi/following{/other_user}","gists_url":"https://api.github.com/users/BurntSushi/gists{/gist_id}","starred_url":"https://api.github.com/users/BurntSushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BurntSushi/subscriptions","organizations_url":"https://api.github.com/users/BurntSushi/orgs","repos_url":"https://api.github.com/users/BurntSushi/repos","events_url":"https://api.github.com/users/BurntSushi/events{/privacy}","received_events_url":"https://api.github.com/users/BurntSushi/received_events","type":"User","site_admin":false},"created_at":"2016-01-09T14:51:15Z","updated_at":"2016-01-09T14:51:15Z","body":"> and I won't include UNLICENSE components in Robigalia\r\n\r\nIt's dual licensed. You can elect to use `chan` under the terms of the MIT license.\r\n\r\n> (which is a shame, because I'd like to use this for our channels atm)"}}