What's Changed
Added
- Added
--license-sources(-ls) option to copyleft inspection- Filter which license sources to check (component_declared, license_file, file_header, file_spdx_tag, scancode)
- Supports both
-ls source1 source2and-ls source1 -ls source2syntax
Changed
-
Switched to OSADL authoritative copyleft license data
- Copyleft detection now uses OSADL (Open Source Automation Development Lab) checklist data
- Adds missing
-or-laterlicense variants (GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later, etc.) - Expands copyleft coverage from 21 to 32 licenses
- Custom include/exclude/explicit filters still use legacy behavior for backward compatibility
- Dataset attribution added to README (CC-BY-4.0 license)
-
Copyleft inspection now defaults to component-level licenses only (component_declared, license_file)
- Reduces noise from file-level license detections (file_header, scancode)
- Use
-lsto override and check specific sources
Fixed
- Fixed the terminal cursor disappearing after aborting scan with Ctrl+C
Full Changelog: v1.40.1...v1.41.0