aboutcode-org / aboutcode-org/scancode.io

Multi-level matching and lookup for package data

オープン
#995 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
215
フォーク
203
平均マージ
4日 8時間
マージ済み PR(30日)
6

説明

Assuming that there are multiple sources of curated, corrected or reviewed, I would like to have a pipeline that works with the PurlDB and these other sources of curated data.

- A first pipeline step would scan with ScanCode TK or match for packages with PurlDB.
- Then a second step would look a source of curated package data for each PURL and replace the package data with these data if the PURL is found.

It may be possible to invert the steps: for instance if this package data source supports some form of matching. For instance, when using ABOUT files as a source we can match based on paths or checksums. In this case it may be useful to perform this step first before matching to the PurlDB.

With this proposed approach, it will be possible to keep the PurlDB as a reference and the data source for matching and have a way to override, complete, correct or provide preferences (such as a license choice) from a curated data source.

As an example, the packages at https://repo1.maven.org/maven2/antlr/antlr/2.7.5/ have no license. An ABOUT or another datasource may have a proper license such as antlr-pd found from research. And this would allow to access this data and fill in the gaps.

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

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

評価

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

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

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