aboutcode-org / aboutcode-org/purldb

Deal with multiple sha1 matches

未关闭
#72 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
HTML
星标
67
派生
69
平均合并
8 天 8 小时
30 天内合并 PR
1

描述

Determine whether or not a match is a primary or secondary

How to handle multiple sha1 matches on JARs? How do we determine what is the best?

- sha1 match
- if there is more than 1 result, then find the result with the same file name
- if there is no exact name match, we perform a fuzzy match on the name

During index time, what should we do when we have multiple versions of a package with the same file.
- We determine that the best match would be to the oldest package because its the oldest and the first package
- We need to populate release_date when creating packages
- look at dir scraping code
- If we cant pick one, sort by purl and pick the first one

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。