-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix LICENSE and add NOTICE file #3903
Conversation
NOTICE.md
Outdated
- [LGPLv3](https://www.gnu.org/licenses/lgpl-3.0.en.html) | ||
* [bdwgc](http://www.hboehm.info/gc/) | ||
- [MIT](https://opensource.org/licenses/MIT) | ||
* [pkg-config](https://www.freedesktop.org/wiki/Software/pkg-config/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pkg-config
isn't linked, but the external executable is used if present.
NOTICE.md
Outdated
* [pkg-config](https://www.freedesktop.org/wiki/Software/pkg-config/) | ||
- [GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html) | ||
|
||
Crystal standard library uses these libraries, which have their own licenses: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe:
Parts of the Crystal standard library link to the following libraries, ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. "Parts of the Crystal standard library" sounds good, but "link" is really no thanks. Because, if Crystal standard library links to the GPL libraries in fact, we must license it GPL. Howeber, Crystal standard library work and exist independent of some GPL library (readline and GMP). I prefer "use" to "link".
NOTICE.md
Outdated
* PCRE | ||
* libevent2 | ||
* libiconv | ||
* bdwgc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe duplicate the link + license/link from above?
NOTICE.md
Outdated
@@ -0,0 +1,65 @@ | |||
# Crystal Programmig Language |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Programming
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
@waj @ysbaddaden Updated.
How do you think about it? I think it isn't really important that copying the content written in "APPENDIX" of Apache 2.0, but we should clarify each source codes licensed by Apache 2.0. So I think, for example, inserting such a comment to file header is effective enough: # This file is a part of Crystal project, which is licensed by Apache License 2.0 (See LICENSE.)
|
@makenowjust I assume there is a reason for the in-file license header to be so detailed, so either we put it verbatim, or we just don't. |
Any update? |
Hi, It seems that this has been forgotten for a long time. Would be a good to have a proper license for the project. These changes look good to me. Could we get an update for this pull request? |
NOTICE.md
Outdated
- MIT | ||
* [LibYAML](http://pyyaml.org/wiki/LibYAML) | ||
- MIT | ||
* [readline](https://cnswww.cns.cwru.edu/php/chet/readline/rltop.html) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is no longer linked.
This PR is created three years ago. Maybe many updates are needed. I will check it tomorrow. |
|
Co-Authored-By: Sijawusz Pur Rahnama <sija@sija.pl>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want @waj approval (here or IRL) on this before merging. Thanks!
See Applying the Apache License, section "Applying the license to new software". It says:
So I update
LICENSE
to Apache License 2.0 content. (OldLICENSE
is the content of Apache License 2.0's Appendix, which is for file header. This contains the phrase "this file". We can understand Apache 2.0 is applied to onlyLICENSE
file, not project. It is ambiguous, I think.)Also I added
Runtime Library Exception to the Apache 2.0 License
section toLICENSE
, because Apache License 2.0 effects the binary using the library. In short, when we distribute the binary using Crystal standard library, we must contains the copy of Apache License 2.0 and copyright of Crystal. I think it is confusing and not so important.Finally, I added
NOTICE
file, which explains licenses of the libraries used by Crystal. I think such a file creation is responsibility of the library user, and Crystal repository contains some JS/CSS library. We should explain about them, especially Octicons files didn't include copyright information.And bonus point, GitHub will detect our project's license if this pull request is merged, like:
I wish you don't think this pull request is blah.
I want you to add Apache License 2.0 header to all source codes in this repository, but this change is too large, so I couldn't decide apply it.
References:
Runtime Library Exception to the Apache 2.0 License
by this.Thanks!