RubyMetric / chsrc

chsrc 全平台通用换源工具. Change Source for every software on every platform from the command line.
https://gitee.com/RubyMetric/chsrc
GNU General Public License v3.0
1.32k stars 54 forks source link

chore(license): update spdx id in docs #30

Closed chenrui333 closed 4 weeks ago

chenrui333 commented 4 weeks ago

followup #26


missed it in the first place

ccmywish commented 4 weeks ago

Thank you Rui @chenrui333 , 🤝

I'm not very familiar with license issues, so I need to consult you about it.

I'm not sure if it's "dual license" as people understand. And I admit the sentence this PR focused on is kind of misleading.


This project includes a file called ./include/xy.h, which is a common C lib file I write to help to make program chsrc.c and chsrc.h easily. I want to make the xy.h more permissive, so I can use it in other non-GPL-3.0-or-later projects

I want to make chsrc only GPL-3.0-or-later. and chsrc is based on the MIT licensed ./include/xy.h

So, according to my idea above, is my situation called dual licensed? Does the two licenses conflict?

chenrui333 commented 4 weeks ago

I'm not sure if it's "dual license" as people understand. And I admit the sentence this PR focused on is kind of misleading.

it is not dual license, so that is reason why it should use and rather than or

technically, I would also split the license file into two and just contain the standard body from the license templates (it would also help github, but not fully), that means github would display two licenses rather than custom license for now (but not show the license semantics like and or or). Let me know if that makes better sense.

ccmywish commented 4 weeks ago

Well and clearly explained!

chenrui333 commented 4 weeks ago

THanks @ccmywish! 🙌

you can see now, it looks a bit better :)

image