aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api-macros
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2024-10-07 15:40:28 +0100
committerDaniel P. Berrangé <berrange@redhat.com>2025-02-28 15:37:36 +0000
commit2b96c1a4931e3b4e0294761c16759bcbb2652df4 (patch)
tree68ca0c5412ed34031df16c5985fe90d823a23d96 /rust/qemu-api-macros
parentfa4d79c64dae03ffa269e42e21822453856618b7 (diff)
downloadqemu-2b96c1a4931e3b4e0294761c16759bcbb2652df4.zip
qemu-2b96c1a4931e3b4e0294761c16759bcbb2652df4.tar.gz
qemu-2b96c1a4931e3b4e0294761c16759bcbb2652df4.tar.bz2
scripts: validate SPDX license choices
We expect all new code to be contributed with the "GPL-2.0-or-later" license tag. Divergence is permitted if the new file is derived from pre-existing code under a different license, whether from elsewhere in QEMU codebase, or outside. Issue a warning if the declared license is not "GPL-2.0-or-later", and an error if the license is not one of the handful of the expected licenses to prevent unintended proliferation. The warning asks users to explain their unusual choice of license in the commit message. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'rust/qemu-api-macros')
0 files changed, 0 insertions, 0 deletions