scancode-toolkit icon indicating copy to clipboard operation
scancode-toolkit copied to clipboard

Detection finds `google-patent-license-golang` in Polymer license text

Open fviernau opened this issue 1 year ago • 0 comments

The license text found in plenty of NPM packages, e.g. ^1, is detected as BSD-3-Clause AND LicenseRef-scancode-google-patent-license-golang. This is wrong, because the actual license text is google-patent-license plus some polymer specific header, while google-patent-license-golang = google-patent-license + some Golang specific header.

ScanCode has the following variations of the google patent license, whereas licenses IDs with a suffix after google-patent-license contain google-patent-license plus some header:

  • https://scancode-licensedb.aboutcode.org/google-patent-license-fuchsia.html
  • https://scancode-licensedb.aboutcode.org/google-patent-license-golang.html
  • https://scancode-licensedb.aboutcode.org/google-patent-license-webm.html
  • https://scancode-licensedb.aboutcode.org/google-patent-license-webrtc.html
  • https://scancode-licensedb.aboutcode.org/google-patent-license.html

Proposed solution:

  • preferred: Add a new license ID: google-patent-license-polymer
  • alternative: Change the detection to detect BSD-3-Clause AND LicenseRef-scancode-google-patent-license.

fviernau avatar Sep 06 '24 06:09 fviernau