aboutcode-org / aboutcode-org/purldb

Deal with multiple sha1 matches

Aberta
#72 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
HTML
Estrelas
67
Forks
69
Merge médio
8d 8h
PRs com merge (30d)
1

Descrição

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.