LogtailPlugin follows the standard Apache 2.0 license. So the contributor should check whether the contributing files with this license.
If you want to check the whole project files, please run the following command. The files without the license would be found and saved as
the license_coverage.txt file.
make check-licenseWhen the fixed scope is required, please append the SCOPE in the commands.
SCOPE=xxx make check-licenseWhen some files with the license founded, you could add the license to the files in the following way. Note that this way will repair all files that lack the license.
make licenseSame as above, if you want to limit the changing range, please append the SCOPE in the commands.
SCOPE=xxx make license