aboutcode-org / aboutcode-org/scancode-toolkit

package license detection lines are not correct

Đang mở
#3,385 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
2.6k
Fork
791
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
5

Mô tả

Also see related issue: https://github.com/nexB/scancode-toolkit/issues/2643

### Description

We should add offsets to the package license detection lines for them to be correct. Since we consider the extracted license statement alone, we make this as line 1

See the following results on scanning a single POM file which has both the file and package license detections, but the package license detections have incorrect line numbers.
[maxmind-db-1.3.1.pom-scan-results.json.txt](https://github.com/nexB/scancode-toolkit/files/11396605/maxmind-db-1.3.1.pom-scan-results.json.txt)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.