handbook icon indicating copy to clipboard operation
handbook copied to clipboard

Document licensing expectations

Open schlessera opened this issue 7 years ago • 5 comments

WP-CLI is licensed under the MIT license, and all bundled code should be compatible with that.

We should document our licensing expectations for:

  • accepting third-party code into the official repository/organization
  • bundling third-party code
  • depending on third-party code

Related: https://github.com/wp-cli/wp-config-transformer/pull/1#issuecomment-354424131

schlessera avatar Dec 29 '17 11:12 schlessera

@schlessera I think you should add MIT license and close this issue.

kirtangajjar avatar Mar 06 '18 08:03 kirtangajjar

@kirtangajjar I suspect part of the problem is if third-party code is licensed differently that MIT may not apply for all scenarios.

jeffpaul avatar Mar 10 '18 03:03 jeffpaul

Ah, this has been on my mind for some time, I guess it has to be GPL.

Because WP-CLI is doing require WordPress and it is calling some functions of the WordPress core, connecting to WordPress database. I think it is same with the WordPress plugins and themes.

If the project depends on a project under GPL, it should be under the GPL.

I am not sure, but I am thinking so. If I am misunderstanding, I am sorry. 😊

miya0001 avatar Mar 11 '18 07:03 miya0001

Oh! My bad. I thought this issue was for licensing of the handbook itself.

Currently this repo(handbook) does not have any LICENCE file. I think I should create a separate issue for this.

kirtangajjar avatar Mar 12 '18 08:03 kirtangajjar

@miya0001 The MIT license is compatible to the GPL license. As an example, it is also accepted in the plugin repository.

The issue here is about the licensing requirements we have when new package are meant to be added under the official wp-cli organization and/or bundled with WP-CLI.

schlessera avatar Mar 12 '18 13:03 schlessera