unorm icon indicating copy to clipboard operation
unorm copied to clipboard

"Fix" wrong dual licensing description

Open matsuza opened this issue 2 years ago • 8 comments

As the original author of unorm.js, I should have written "Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses."

As unorm.js has never been changed since I wrote it, I think we can change the licensing description.

Fixes #51

matsuza avatar Jul 04 '22 10:07 matsuza

Is it possible to update it? I think it's clear to use OR rather than AND in LICENSE. :-)

hijiangtao avatar Jul 25 '23 09:07 hijiangtao

This is somewhat unfortunate as I contributed to this library in 2014 assuming it's MIT AND GPL.

While some my contributions are trivial, some aren't.

I.e. I don't think it's possible not possible to update license now, without explicitly asking all the contributors since 2013 to sign off. I have to think myself.

phadej avatar Jul 25 '23 09:07 phadej

Is it possible to update it? I think it's clear to use OR rather than AND in LICENSE. :-)

AND means that terms of both licenses have to be satisfied. It might pop up in compound software where for example one part is clearly MIT and part is GPL. (So it's possible to extract just MIT part and use without GPL restrictions).

OR means that you are free to choose either. It might make sense in MIT OR GPL case too, for example MIT doesn't have any patent provisions, but GPL has, so people which can choose GPL could opt to use it to avoid any patent shenanigans.

phadej avatar Jul 25 '23 09:07 phadej

This is somewhat unfortunate as I contributed to this library in 2014 assuming it's MIT AND GPL.

While some my contributions are trivial, some aren't.

I.e. I don't think it's possible not possible to update license now, without explicitly asking all the contributors since 2013 to sign off. I have to think myself.

Thanks for replying. I think the library should keep the LICENSE and its' declaration in package.json the same, whatever it's AND or OR, however, it's OR inside package.json, and AND in LICENSE, it's really confusing, which one should I take into consider? So I think it should be updated whether it's OR or AND.

hijiangtao avatar Jul 28 '23 06:07 hijiangtao

@phadej In my opinion, if some of your code uses library with GPL LICENSE, then you need to append it in LICENSE, which is "AND", otherwise, it only depends on you to choose a specific LICENSE for this library? On the other hand, I may wonder why not specify GPL if you want to use GPL for this library, since "MIT AND GPL" here equals to only "GPL"? :-)

hijiangtao avatar Jul 28 '23 06:07 hijiangtao

Wait, maybe it was OR always: as I added it as or in https://github.com/walling/unorm/commit/58f8b33c9e634288c707c231e4a16f390288ec07 so I retract my previous comment https://github.com/walling/unorm/pull/52#issuecomment-1649492296

And "and" vs "or" in LICENSE.md is just ambiguous English. ... and I think that new wording is not at all less ambiguous.

We should something like: (AND)

You should satisfy terms of both licenses. You need to comply with both.

or (OR)

You may use either of the licenses, you don't need to comply with both.

phadej avatar Jul 28 '23 09:07 phadej

Wait, maybe it was OR always: as I added it as or in 58f8b33 so I retract my previous comment #52 (comment)

And "and" vs "or" in LICENSE.md is just ambiguous English. ... and I think that new wording is not at all less ambiguous.

We should something like: (AND)

You should satisfy terms of both licenses. You need to comply with both.

or (OR)

You may use either of the licenses, you don't need to comply with both.

Well, that's the point I want to figure out, I may wonder if you are pointing out the "AND" in LICENSE is an ambiguous way, and we actually should accept new wording (like in package.json) as a "OR" way?

hijiangtao avatar Jul 30 '23 07:07 hijiangtao

Hi @matsuza, any update on this?

Edit: unfortunately we had to remove unorm from hyperformula https://github.com/handsontable/hyperformula/issues/1370

krzysztofspilka avatar Feb 01 '24 09:02 krzysztofspilka