aboutcode-org / aboutcode-org/scancode-toolkit

Correct License is not being detected

Open
#4,513 2 comments 1 reaction 0 assignees View on GitHub
bug new-updated-license-rule required-phrases-in-rules
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

### Description

> Running scancode for the following github package (https://repo1.maven.org/maven2/com/toedter/jcalendar/1.4/jcalendar-1.4-sources.jar), it doesn't detect correct the license inside. The text explicitly refers to the LGPL, but scancode incorrectly matches it to the GPL.
Source file: JCalendar.java

Detected License: GPL-2.0-or-later (Match: 3%)
Expected License: LGPL-2.0-or-later (GNU Lesser General Public License v2.0 or later)

### System configuration

Which version of ScanCode.io are you running? 32.2.
Are you running the app using Docker? Yes

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.