aboutcode-org / aboutcode-org/scancode-toolkit

package license detection lines are not correct

未關閉
#3,385 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
Python
星號
2.6k
分支
791
平均合併
1 天 12 小時
30 天內合併 PR
5

描述

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)

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。