-
Notifications
You must be signed in to change notification settings - Fork 6.8k
[LICENSE] Update ps-lite LICENSE #17351
[LICENSE] Update ps-lite LICENSE #17351
Conversation
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.
LGTM!
@eric-haibin-lin according to #17329 the problem is "file copyright Bytedance Inc [5] of unknown license". However, Bytedance has (supposedly?) licensed the code under Apache license by submitting the Pull Request on Github to the Apache Licensed repo ps-lite. To avoid such future issues, it would be best to require including the Apache License header in all files in ps-lite. @eric-haibin-lin @roywei could you clarify why to include the copyright notice in LICENSE? Based on the Apache License and the Licensing Howto there doesn't seem to be such requirement? But I may have missed some point. |
Hi @leezu , for 3rd party source files, we do not need to include the ASF license header, as it's not developed by ASF(Note the ASF license header is not the same as apache-2.0 license). We can depend on ps-lite as it's a permissive license (Apache 2.0). That specific file should already be covered by the apache-2.0 license, and we already acknowledged it in LICENSE file. So we just need to acknowledge additional copy right comes from ps-lite. From https://www.apache.org/legal/src-headers.html:
Our rat check already excluded 3rdparty directory. So we will only have problem if we added ASF header wrongly, any missing header will cause rat check to fail. |
Thanks @roywei. In case you know, could you post a reference to why copyright notice needs to be included inside our LICENSE file? |
Description
A new file was added to ps-lite by ByteDance. I'm including the copyright in LICENSE. Is this the right way to fix it? @leezu @roywei
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.
Changes
Comments