Details
-
Technical task
-
Resolution: Fixed
-
P2: Important
-
None
-
None
Description
Modify qtqa's tst_license.pl to accept SPDX licenses for repositories that have been ported to the REUSE specification.
One way to achieve this is to modify tst_license.pl to scan for SPDX license identifiers and verify the existence of files in the LICENSES directory.
That would be a re-implementation of the reuse linter.
It would be nicer to directly use "reuse lint".
Challenges:
- We need to provision reuse to CI. This adds a dependency to pypi.org. Alternatively we can host the reuse wheel on our download server.
- We need to be fully compliant to the REUSE spec if we want to use "reuse lint". Or we need to check the output of "reuse lint" and ignore known issues.
Problems with full compliance are:
- Adding foo.png.license to every binary file foo.png
- 3rdparty libraries
Attachments
For Gerrit Dashboard: QTBUG-102752 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
406501,2 | tst_licenses.pl: Run REUSE linter on repos that have been ported | dev | qt/qtqa | Status: DEFERRED | 0 | 0 |
407606,8 | Teach tst_licenses.pl to check SPDX licenses | dev | qt/qtqa | Status: MERGED | +2 | 0 |
408440,2 | Teach tst_licenses.pl to check SPDX licenses | master | qt/qtqa | Status: MERGED | +2 | 0 |