Ensure that all source files owned by us contain SPDX headers
We should ensure that all code we write contains SPDX headers [1] and that this is enforced during CI.
Requirements:
- Add SPDX headers to all code we own (exclude 3rd party ones) if they are not present (this is better done automatically via tools such as
reuse
[2]. - On every commit, there will be an extra job that check such headers are present and fail otherwise.
Reuse
[2] is a potential tool that has such linter, but more options should be evaluated as well.
[1] https://en.wikipedia.org/wiki/Software_Package_Data_Exchange [2] https://reuse.readthedocs.io/