Skip to content

LICENSES: Add missing License Text and provide a checker script

Thomas Gleixner lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest7 patches 14 repliesIn review

Changes in v2 from the cover letter

- Fix whitespace and UTF-8 damage in various licenses

- Add the GPL-2.0-only/or-later ids to the valid licenses for the Linux-syscall-note exception to make the checker work

- Add a checker script

- Dropped the patches for the bogus identifiers as they have been picked up by the maintainers

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7LICENSES/GPL2.0: Add GPL-2.0-only/or-later as valid identifiersLICENSES/exceptions/Linux-syscall-note LICENSES/preferred/GPL-2.0+7 -12 replies
2/7LICENSES: Add X11 licenseLICENSES/other/X11+37 -01 reply
3/7LICENSES: Add Apache 2.0 license textLICENSES/other/Apache-2.0+183 -02 replies
4/7LICENSES: Add CDDL-1.0 license textLICENSES/other/CDDL-1.0+364 -02 replies
5/7LICENSES: Add CC-BY-SA-4.0 license textLICENSES/other/CC-BY-SA-4.0+397 -02 replies
6/7LICENSES: Add Linux-OpenIB license textLICENSES/other/Linux-OpenIB+26 -02 replies
7/7scripts: Add SPDX checker scriptscripts/spdxcheck.py+260 -06 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchGreg Kroah-HartmanMauro Carvalho ChehabKate Stewart
1/7R-b R-b
2/7R-b
3/7R-b R-b
4/7R-b R-b
5/7R-b R-b
6/7R-b R-b
7/7R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [patch V2 0/7] LICENSES: Add missing License Text and provide a checker script

There are a few bogus SPDX identifiers in various files and SPDX Identifiers used in tree or about to be used which have no corresponding License Text file in the LICENSES directory or use the new variant of the GPL-2.0[+] license identifiers which are not mentioned in the GPL-2.0
Valid-License-Identifiers: tags.

There is no tool which can be used to scan the tree and also nothing which helps people who submit patches to check their stuff before submission.

The following series cleans that up:

- Add GPL-2.0-only and GPL-2.0-or-later identifiers to the GPL2.0 license and the Linux-syscall-note exception

- Add X11, Apache-2.0, CC-BY-SA-4.0, CCDL-1.0, Linux-OpenIB license texts to the LICENSES directory along with the required documentation texts

- Add a checker script which can read a single file or even a patch from the command line or does a full git tree scan

Changes vs. V1:

- Fix whitespace and UTF-8 damage in various licenses

- Add the GPL-2.0-only/or-later ids to the valid licenses for the Linux-syscall-note exception to make the checker work

- Add a checker script

- Dropped the patches for the bogus identifiers as they have been picked up by the maintainers

8<-------------

 LICENSES/exceptions/Linux-syscall-note |    2 
 LICENSES/preferred/GPL-2.0             |    6 
 b/LICENSES/other/Apache-2.0            |  183 +++++++++++++++
 b/LICENSES/other/CC-BY-SA-4.0          |  397 +++++++++++++++++++++++++++++++++
 b/LICENSES/other/CDDL-1.0              |  364 ++++++++++++++++++++++++++++++
 b/LICENSES/other/Linux-OpenIB          |   26 ++
 b/LICENSES/other/X11                   |   37 +++
 b/scripts/spdxcheck.py                 |  260 +++++++++++++++++++++
 8 files changed, 1274 insertions(+), 1 deletion(-)