MPL is a per-file license, so applicable source files need to include the appropriate license header.
Implement:
- A reusable script to add the MPL license header to relevant files. It should support exclusions for files/paths where the header should not be added.
- A CI check that ensures relevant files have the required license header and fails clearly when they do not. Can focus on only changed/added files if performance is a concern.
The solution should be straightforward to use across our repositories and allow repository-specific exclusions where needed.
MPL is a per-file license, so applicable source files need to include the appropriate license header.
Implement:
The solution should be straightforward to use across our repositories and allow repository-specific exclusions where needed.