-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Conversation
… BSD 3-clause licensed and properly list then under BSD 3-clause section in LICENSE.
…under Boost License section, since it is clearly Apache 2.0 licensed.
Hey @josephevans , Thanks for submitting the PR
CI supported jobs: [unix-gpu, unix-cpu, centos-cpu, clang, sanity, website, windows-cpu, edge, miscellaneous, centos-gpu, windows-gpu] Note: |
BTW I also thought that the new tool would detect multiple licenses and warn about them. Did it report the issue this time and we intentionally allowlisted it? |
The tool does detect multiple licenses, but it doesn't raise an issue if the file is listed in LICENSE. In this case, |
Under no circumstances do we want multiple licenses regardless of where they are in LICENSE. Let's use it to detect whether there are other issues with dual license. |
…der MIT. Update LICENSE to reflect this.
Got it. I updated the tool to error out when it finds a file with multiple 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.
@josephevans thanks for addressing the issues!
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
* Remove Apache-2.0 license header from ONNX files that were originally BSD 3-clause licensed and properly list then under BSD 3-clause section in LICENSE. * Remove 3rdparty/mkldnn/src/common/primitive_hashing.hpp from LICENSE under Boost License section, since it is clearly Apache 2.0 licensed. * Clarify Caffe license to BSD 2-clause with Caffe extensions. * Clarify Caffe license to BSD 2-clause with Caffe extensions. * Remove duplicate file, should only be in BSD 3-clause section. * Update LICENSE with latest from 3rdparty/mkldnn/THIRD-PARTY-PROGRAMS * Sort files under MIT license. Remove references to generic licenses. * Remove incorrectly added Apache header on MIT-licensed files. * Sort lines in ASF-2.0 licensed list. * Add license text in licenses/ to fulfill binary distribution requirements. * Remove copyright by contributors line from ASF-licensed file. * Fix rat-excludes and licensecheck exclude list. * Error out and fail if license_header.py tool detects multiple licenses in a file. * Move LayerNormCPUKernel function to own file, since it is licensed under MIT. Update LICENSE to reflect this. * Remove LayerNormCPUKernel from layer_norm.cc, it is now in layer_norm_cpu.h. * Add header guard, fix first line to pass lint. * Update skywalking-eyes config based on current LICENSE, add layer_norm_cpu.h to whitelist. * Rename license file for layer_norm_cpu.h
* [v1.x] License updates (#20709) * Remove Apache-2.0 license header from ONNX files that were originally BSD 3-clause licensed and properly list then under BSD 3-clause section in LICENSE. * Remove 3rdparty/mkldnn/src/common/primitive_hashing.hpp from LICENSE under Boost License section, since it is clearly Apache 2.0 licensed. * Clarify Caffe license to BSD 2-clause with Caffe extensions. * Clarify Caffe license to BSD 2-clause with Caffe extensions. * Remove duplicate file, should only be in BSD 3-clause section. * Update LICENSE with latest from 3rdparty/mkldnn/THIRD-PARTY-PROGRAMS * Sort files under MIT license. Remove references to generic licenses. * Remove incorrectly added Apache header on MIT-licensed files. * Sort lines in ASF-2.0 licensed list. * Add license text in licenses/ to fulfill binary distribution requirements. * Remove copyright by contributors line from ASF-licensed file. * Fix rat-excludes and licensecheck exclude list. * Error out and fail if license_header.py tool detects multiple licenses in a file. * Move LayerNormCPUKernel function to own file, since it is licensed under MIT. Update LICENSE to reflect this. * Remove LayerNormCPUKernel from layer_norm.cc, it is now in layer_norm_cpu.h. * Add header guard, fix first line to pass lint. * Update skywalking-eyes config based on current LICENSE, add layer_norm_cpu.h to whitelist. * Rename license file for layer_norm_cpu.h * Update mkldnn license text and LICENSE. * [v1.x] Port #20648, #20676, #19236 to v1.x (#20677) * [v1.9.x] CI fixes (#20648) * Update openssl package in ubuntu_core.sh (used in ubuntu 16.04 images) to avoid bug triggered by let's encrypt expired ca cert. * Reduce number of parallel docker builds we run at once to 2, since there are multiple jobs (on different branches) running at the same time. * Use different mirror to download binutils to avoid expired let's encrypt CA cert. * [CI] UPgrade windows CI * fix python 3.8 ctypes dll load with windows (#19236) Co-authored-by: barry-jin <[email protected]> Co-authored-by: Hu Shiwen <[email protected]> * Remove general license text files, as this is included in individual license files in licenses/*. Update license for code contributed/derived from https://github.com/msracver/Deformable-ConvNets which is now MIT licensed and update LICENSE to reflect this. Add references for original code with github revision to MIT-licensed files. * Fix rat-excludes. * Update skywalking-eyes config. Co-authored-by: barry-jin <[email protected]> Co-authored-by: Hu Shiwen <[email protected]>
* Remove Apache-2.0 license header from ONNX files that were originally BSD 3-clause licensed and properly list then under BSD 3-clause section in LICENSE. * Remove 3rdparty/mkldnn/src/common/primitive_hashing.hpp from LICENSE under Boost License section, since it is clearly Apache 2.0 licensed. * Clarify Caffe license to BSD 2-clause with Caffe extensions. * Clarify Caffe license to BSD 2-clause with Caffe extensions. * Remove duplicate file, should only be in BSD 3-clause section. * Update LICENSE with latest from 3rdparty/mkldnn/THIRD-PARTY-PROGRAMS * Sort files under MIT license. Remove references to generic licenses. * Remove incorrectly added Apache header on MIT-licensed files. * Sort lines in ASF-2.0 licensed list. * Add license text in licenses/ to fulfill binary distribution requirements. * Remove copyright by contributors line from ASF-licensed file. * Fix rat-excludes and licensecheck exclude list. * Error out and fail if license_header.py tool detects multiple licenses in a file. * Move LayerNormCPUKernel function to own file, since it is licensed under MIT. Update LICENSE to reflect this. * Remove LayerNormCPUKernel from layer_norm.cc, it is now in layer_norm_cpu.h. * Add header guard, fix first line to pass lint. * Update skywalking-eyes config based on current LICENSE, add layer_norm_cpu.h to whitelist. * Rename license file for layer_norm_cpu.h
* [v1.x] License updates (#20709) * Remove Apache-2.0 license header from ONNX files that were originally BSD 3-clause licensed and properly list then under BSD 3-clause section in LICENSE. * Remove 3rdparty/mkldnn/src/common/primitive_hashing.hpp from LICENSE under Boost License section, since it is clearly Apache 2.0 licensed. * Clarify Caffe license to BSD 2-clause with Caffe extensions. * Clarify Caffe license to BSD 2-clause with Caffe extensions. * Remove duplicate file, should only be in BSD 3-clause section. * Update LICENSE with latest from 3rdparty/mkldnn/THIRD-PARTY-PROGRAMS * Sort files under MIT license. Remove references to generic licenses. * Remove incorrectly added Apache header on MIT-licensed files. * Sort lines in ASF-2.0 licensed list. * Add license text in licenses/ to fulfill binary distribution requirements. * Remove copyright by contributors line from ASF-licensed file. * Fix rat-excludes and licensecheck exclude list. * Error out and fail if license_header.py tool detects multiple licenses in a file. * Move LayerNormCPUKernel function to own file, since it is licensed under MIT. Update LICENSE to reflect this. * Remove LayerNormCPUKernel from layer_norm.cc, it is now in layer_norm_cpu.h. * Add header guard, fix first line to pass lint. * Update skywalking-eyes config based on current LICENSE, add layer_norm_cpu.h to whitelist. * Rename license file for layer_norm_cpu.h * fix build * fix license header * add pool.cuh into rat-excludes Co-authored-by: Joe Evans <[email protected]>
Description
This PR fixes license issues identified in #20616 and more: