[Development] Checking SPDX license identifiers

Lucie Gérard lucie.gerard at qt.io
Thu Feb 29 16:43:07 CET 2024


Hi all,

We are moving toward testing the license usage.
The idea is to make sure the SPDX license identifier present in
a file follows the rules presented in QUIP 18 ( https://contribute.qt-project.org/quips/18<https://contribute.qt-project.org/quips/18>).

For each Qt module repository, we introduce a licenseRule.json file.
In this file, the rules for license usage are stored.
This file is then read during the license testing (tst_licenses.pl in qtqa).

The modified tst_licenses.pl is here:
https://codereview.qt-project.org/c/qt/qtqa/+/531760

The current state of the licenseRule.json can be found here for qtbase:
https://codereview.qt-project.org/c/qt/qtbase/+/536879
This file is meant to register the license rules for testing purpose.
It is also meant to help people figure out which license to use when adding a file.
Comments on the file format readability would be appreciated.

This is also the time to make sure we agree on the QUIP 18 license rules.
An updated version of QUIP 18 is here:
https://codereview.qt-project.org/c/meta/quips/+/543506

Thanks in advance for your feedback.
Cheers,
Lucie



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20240229/3849c820/attachment.htm>


More information about the Development mailing list