aboutcode-org / aboutcode-org/scancode.io

Multi-level matching and lookup for package data

未关闭
#995 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
215
派生
203
平均合并
4 天 8 小时
30 天内合并 PR
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 摘要。