)]}'
{
  "commit": "ead751507de86d90fa250431e9990a8b881f713c",
  "tree": "21cc6437c1fb42e122c3fe6ce23daea610a105ab",
  "parents": [
    "fdebad11e50ea05597af09cfc71f874cba0c3886",
    "e2be04c7f9958dde770eeb8b30e829ca969b37bb"
  ],
  "author": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Thu Nov 02 10:04:46 2017 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Thu Nov 02 10:04:46 2017 -0700"
  },
  "message": "Merge tag \u0027spdx_identifiers-4.14-rc8\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core\n\nPull initial SPDX identifiers from Greg KH:\n \"License cleanup: add SPDX license identifiers to some files\n\n  Many source files in the tree are missing licensing information, which\n  makes it harder for compliance tools to determine the correct license.\n\n  By default all files without license information are under the default\n  license of the kernel, which is GPL version 2.\n\n  Update the files which contain no license information with the\n  \u0027GPL-2.0\u0027 SPDX license identifier. The SPDX identifier is a legally\n  binding shorthand, which can be used instead of the full boiler plate\n  text.\n\n  This patch is based on work done by Thomas Gleixner and Kate Stewart\n  and Philippe Ombredanne.\n\n  How this work was done:\n\n  Patches were generated and checked against linux-4.14-rc6 for a subset\n  of the use cases:\n\n   - file had no licensing information it it.\n\n   - file was a */uapi/* one with no licensing information in it,\n\n   - file was a */uapi/* one with existing licensing information,\n\n  Further patches will be generated in subsequent months to fix up cases\n  where non-standard license headers were used, and references to\n  license had to be inferred by heuristics based on keywords.\n\n  The analysis to determine which SPDX License Identifier to be applied\n  to a file was done in a spreadsheet of side by side results from of\n  the output of two independent scanners (ScanCode \u0026 Windriver)\n  producing SPDX tag:value files created by Philippe Ombredanne.\n  Philippe prepared the base worksheet, and did an initial spot review\n  of a few 1000 files.\n\n  The 4.13 kernel was the starting point of the analysis with 60,537\n  files assessed. Kate Stewart did a file by file comparison of the\n  scanner results in the spreadsheet to determine which SPDX license\n  identifier(s) to be applied to the file. She confirmed any\n  determination that was not immediately clear with lawyers working with\n  the Linux Foundation.\n\n  Criteria used to select files for SPDX license identifier tagging was:\n\n   - Files considered eligible had to be source code files.\n\n   - Make and config files were included as candidates if they contained\n     \u003e5 lines of source\n\n   - File already had some variant of a license header in it (even if \u003c5\n     lines).\n\n  All documentation files were explicitly excluded.\n\n  The following heuristics were used to determine which SPDX license\n  identifiers to apply.\n\n   - when both scanners couldn\u0027t find any license traces, file was\n     considered to have no license information in it, and the top level\n     COPYING file license applied.\n\n     For non */uapi/* files that summary was:\n\n       SPDX license identifier                            # files\n       ---------------------------------------------------|-------\n       GPL-2.0                                              11139\n\n     and resulted in the first patch in this series.\n\n     If that file was a */uapi/* path one, it was \"GPL-2.0 WITH\n     Linux-syscall-note\" otherwise it was \"GPL-2.0\". Results of that\n     was:\n\n       SPDX license identifier                            # files\n       ---------------------------------------------------|-------\n       GPL-2.0 WITH Linux-syscall-note                        930\n\n     and resulted in the second patch in this series.\n\n   - if a file had some form of licensing information in it, and was one\n     of the */uapi/* ones, it was denoted with the Linux-syscall-note if\n     any GPL family license was found in the file or had no licensing in\n     it (per prior point). Results summary:\n\n       SPDX license identifier                            # files\n       ---------------------------------------------------|------\n       GPL-2.0 WITH Linux-syscall-note                       270\n       GPL-2.0+ WITH Linux-syscall-note                      169\n       ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause)    21\n       ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)    17\n       LGPL-2.1+ WITH Linux-syscall-note                      15\n       GPL-1.0+ WITH Linux-syscall-note                       14\n       ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause)    5\n       LGPL-2.0+ WITH Linux-syscall-note                       4\n       LGPL-2.1 WITH Linux-syscall-note                        3\n       ((GPL-2.0 WITH Linux-syscall-note) OR MIT)              3\n       ((GPL-2.0 WITH Linux-syscall-note) AND MIT)             1\n\n     and that resulted in the third patch in this series.\n\n   - when the two scanners agreed on the detected license(s), that\n     became the concluded license(s).\n\n   - when there was disagreement between the two scanners (one detected\n     a license but the other didn\u0027t, or they both detected different\n     licenses) a manual inspection of the file occurred.\n\n   - In most cases a manual inspection of the information in the file\n     resulted in a clear resolution of the license that should apply\n     (and which scanner probably needed to revisit its heuristics).\n\n   - When it was not immediately clear, the license identifier was\n     confirmed with lawyers working with the Linux Foundation.\n\n   - If there was any question as to the appropriate license identifier,\n     the file was flagged for further research and to be revisited later\n     in time.\n\n  In total, over 70 hours of logged manual review was done on the\n  spreadsheet to determine the SPDX license identifiers to apply to the\n  source files by Kate, Philippe, Thomas and, in some cases,\n  confirmation by lawyers working with the Linux Foundation.\n\n  Kate also obtained a third independent scan of the 4.13 code base from\n  FOSSology, and compared selected files where the other two scanners\n  disagreed against that SPDX file, to see if there was new insights.\n  The Windriver scanner is based on an older version of FOSSology in\n  part, so they are related.\n\n  Thomas did random spot checks in about 500 files from the spreadsheets\n  for the uapi headers and agreed with SPDX license identifier in the\n  files he inspected. For the non-uapi files Thomas did random spot\n  checks in about 15000 files.\n\n  In initial set of patches against 4.14-rc6, 3 files were found to have\n  copy/paste license identifier errors, and have been fixed to reflect\n  the correct identifier.\n\n  Additionally Philippe spent 10 hours this week doing a detailed manual\n  inspection and review of the 12,461 patched files from the initial\n  patch version early this week with:\n\n   - a full scancode scan run, collecting the matched texts, detected\n     license ids and scores\n\n   - reviewing anything where there was a license detected (about 500+\n     files) to ensure that the applied SPDX license was correct\n\n   - reviewing anything where there was no detection but the patch\n     license was not GPL-2.0 WITH Linux-syscall-note to ensure that the\n     applied SPDX license was correct\n\n  This produced a worksheet with 20 files needing minor correction. This\n  worksheet was then exported into 3 different .csv files for the\n  different types of files to be modified.\n\n  These .csv files were then reviewed by Greg. Thomas wrote a script to\n  parse the csv files and add the proper SPDX tag to the file, in the\n  format that the file expected. This script was further refined by Greg\n  based on the output to detect more types of files automatically and to\n  distinguish between header and source .c files (which need different\n  comment types.) Finally Greg ran the script using the .csv files to\n  generate the patches.\n\n  Reviewed-by: Kate Stewart \u003ckstewart@linuxfoundation.org\u003e\n  Reviewed-by: Philippe Ombredanne \u003cpombredanne@nexb.com\u003e\n  Reviewed-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\n  Signed-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\"\n\n* tag \u0027spdx_identifiers-4.14-rc8\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:\n  License cleanup: add SPDX license identifier to uapi header files with a license\n  License cleanup: add SPDX license identifier to uapi header files with no license\n  License cleanup: add SPDX GPL-2.0 license identifier to files with no license\n",
  "tree_diff": []
}
