license-scanner icon indicating copy to clipboard operation
license-scanner copied to clipboard

Add ability to detect SPDXIDs by reserved keyname

Open mrutkows opened this issue 1 year ago • 1 comments

It is a more-and-more popular convention to use the reserved keyname for declaring SPDX license IDs i.e., "SPDX-License-Identifier:" typically placed at the top of source files. The scanner must be able to look for these key-values explicitly (within the first X lines) and use the keyword to distinguish such SPDX IDs like "MIT" from words that contain "mit" in some normalized part of their text.

mrutkows avatar Jun 07 '24 19:06 mrutkows