-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Originally created by mithro on 2020-10-30T00:21:01Z
(Plus, the current functionality is wrong.)
The tool should basically check for compliance with the stuff described at https://opensource.google/docs/releasing/preparing/ with an extra requirement to have SPDX identifiers in files.
There should be a list of approved licenses, it is more than just Apache 2.0
A quick summary of the checks;
- The top level repository has a LICENSE file (and the license is of an approved type).
- All third_party material should be under a third_party directory and have a license identifier. https://opensource.google/docs/releasing/preparing/#third-party-components
- All text files should have a copyright header (and appropriate SPDX identifier). https://opensource.google/docs/releasing/preparing/#license-headers
You probably want to go look at Google's license checking tool at https://github.com/google/licenseclassifier and should go consider using an existing tool like FSF's reuse -- https://git.fsfe.org/reuse/tool
Also checkout https://reuse.software/