-
Notifications
You must be signed in to change notification settings - Fork 6.8k
[v1.9.x][License] Fix redundant ASF and Microsoft Apache 2.0 license files #20520
[v1.9.x][License] Fix redundant ASF and Microsoft Apache 2.0 license files #20520
Conversation
Hey @sandeep-krishnamurthy , Thanks for submitting the PR
CI supported jobs: [unix-gpu, unix-cpu, centos-cpu, clang, website, edge, windows-gpu, centos-gpu, miscellaneous, windows-cpu, sanity] Note: |
LICENSE
Outdated
======================================================================================= | ||
Apache-2.0 license + Microsoft Copyright | ||
======================================================================================= |
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.
The License file should not contain information about copyright. Copyright notices go to NOTICE file but only when legally required: https://infra.apache.org/licensing-howto.html#mod-notice
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 @leezu so I don't have to call these files out specially right as it is Apache 2.0 licensed?
Also, since we have left copyright of MSFT in these files as is, I don't have call it out in NOTICE file per the link you shared. let me know if this accurate.
From https://infra.apache.org/licensing-howto.html#mod-notice
"Copyright notifications which have been relocated, rather than removed, from source files must be preserved in NOTICE. However, elements such as the copyright notifications embedded within BSD and MIT licenses do not need to be duplicated in NOTICE. You can leave those notices in their original locations."
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.
Copyright notices shouldn't go to LICENSE AFAIK. At least it's not required and for consistency we may want to keep them out. WDYT?
Can you confirm that the reason for removing the ASF headers is that you think the files only contain minor modifications compared to the original Microsoft AL2 implementation? For major modifications, it's totally fine to add ASF header. https://www.apache.org/legal/src-headers.html#3party
I also want to clarify that the ASF header is not redundant to the Microsoft AL2 header. But it only makes sense for major modifications.
As an additional step, I reached out to contributors, if they can file ICLA, if yes, we can have common ASF header and remove copyright, which is not necessary (since these files are Apache 2.0 license) but nice to have. |
Agreed. They are Apache 2.0 license. Copyright need not come here in License file.
That is correct. |
@mxnet-bot run ci [unix-cpu, windows-gpu] |
Jenkins CI successfully triggered : [unix-cpu, windows-gpu] |
@mxnet-bot run ci [unix-cpu] |
Jenkins CI successfully triggered : [unix-cpu] |
@leezu CI is green. Requesting your review/merge. |
1 similar comment
@leezu CI is green. Requesting your review/merge. |
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.
Thank you @sandeep-krishnamurthy. I noticed that 5 of the files are licensed under MIT license by Microsoft, but they are not listed in the LICENSE file
I don't see any MIT license files in this PR. Are you referring to other files outside this PR? All the files in this PR are Caffe license (verified they are in LICENSE) and rest of Apache 2.0 license with Microsoft copyright (since they are Apache 2.0 license, did not explicitly specified in LICENSE file). |
You removed |
Yes. But those were not listed in License file earlier so no change w.r.t it in License file in this PR. |
That may be a mistake in LICENSE rather than mistaken license header in the file. The original code is at https://github.com/msracver/Deformable-ConvNets/blob/6aeda878a95bcb55eadffbe125804e730574de8d/DCNv2_op/modulated_deformable_convolution.cc and under MIT license. "Do not modify or remove any copyright notices or licenses within third-party works." https://www.apache.org/legal/src-headers.html#3party |
Ah! thanks for source repo. Fixed issues as below:
|
9d0b8df
to
1a88c06
Compare
Description
This PR files Item 6 in this issue - #20475
Checklist
Essentials