aboutcode-org / aboutcode-org/scancode-toolkit

Improve handling of license exceptions

オープン
#2,855 コメント 12 件 リアクション 1 件 担当者 0 名 GitHub で見る
improve-license-detection license scan
主要言語
Python
スター
2.6k
フォーク
791
平均マージ
1日 12時間
マージ済み PR(30日)
5

説明

There are cases where a notice may not be amenable to a clean detection such as when we would have:
- a gpl-2.0
- a classpath-exception-2.0

both detected separately. Yet these we could instead report a single `gpl-2.0 WITH classpath-exception-2.0`.

To achieve this we should IMHO:
1. use the upcoming LicenseDetection post-processing approach
2. tag all exceptions with the list of license keys that they would typically except
3. when we have a detected solo exception preceded by license tag or notice of its excepted license then we could return the combined expression as a new detection from the two separate detections.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。