aboutcode-org / aboutcode-org/scancode-toolkit

Debian copyright file matched text are returned lowercased incorrectly

Open
#2,645 0 comments 0 reactions 0 assignees View on GitHub
bug improve-license-detection license scan package scan package-formats
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

This part:
```
```
was matched and returned this way:
```
- score: '100.0'
start_line: 1
end_line: 1
matcher: 1-hash
rule_length: 4
matched_length: 4
match_coverage: '100.0'
rule_relevance: 100
identifier: lgpl-2.1_38.RULE
license_expression: lgpl-2.1
is_license_text: no
is_license_notice: no
is_license_reference: no
is_license_tag: yes
is_license_intro: no
matched_text: 'License: lgpl-2.1'
```
But matched_text should have been `'License: LGPL-2.1'` instead

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.