scripts: mandate that new files have SPDX-License-Identifier
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 7 Oct 2024 14:39:51 +0000 (15:39 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 28 Feb 2025 15:37:36 +0000 (15:37 +0000)
commitfa4d79c64dae03ffa269e42e21822453856618b7
tree673675be839ddb4e139f0d349e94cf03d72d37c6
parentb69801dd6b1eb4d107f7c2f643adf0a4e3ec9124
scripts: mandate that new files have SPDX-License-Identifier

Going forward we want all newly created source files to have an
SPDX-License-Identifier tag present.

Initially mandate this for C, Python, Perl, Shell source files,
as well as JSON (QAPI) and Makefiles, while encouraging users
to consider it for other file types.

Reviewed-by: Brian Cain <bcain@quicinc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
scripts/checkpatch.pl