aboutcode-org / aboutcode-org/scancode-toolkit

package license detection lines are not correct

オープン
#3,385 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
2.6k
フォーク
791
平均マージ
1日 12時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。