Skip to content

fix(vulnfeeds): Deduplicate references with ReferenceType priority#4934

Merged
Ly-Joey merged 4 commits into
google:masterfrom
Ly-Joey:fixit-vulnfeeds-dedup-refs
Mar 4, 2026
Merged

fix(vulnfeeds): Deduplicate references with ReferenceType priority#4934
Ly-Joey merged 4 commits into
google:masterfrom
Ly-Joey:fixit-vulnfeeds-dedup-refs

Conversation

@Ly-Joey

@Ly-Joey Ly-Joey commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

Updated logic to deduplicate references by their URL.
A priority map is defined to make sure we keep the most useful reference type.

The priority:
FIX
INTRODUCED
DETECTION
REPORT
PACKAGE
EVIDENCE
ADVISORY
ARTICLE
DISCUSSION
WEB
GIT

@Ly-Joey Ly-Joey requested a review from jess-lowe March 3, 2026 07:39
@Ly-Joey Ly-Joey marked this pull request as draft March 3, 2026 07:40
@Ly-Joey Ly-Joey marked this pull request as ready for review March 3, 2026 22:34

@jess-lowe jess-lowe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Ly-Joey Ly-Joey merged commit eb1c929 into google:master Mar 4, 2026
21 checks passed
@Ly-Joey Ly-Joey deleted the fixit-vulnfeeds-dedup-refs branch March 10, 2026 22:31
tymzd pushed a commit to tymzd/osv.dev that referenced this pull request Apr 13, 2026
…oogle#4934)

Updated logic to deduplicate references by their URL. 
A priority map is defined to make sure we keep the most useful reference
type.

The priority:
FIX
INTRODUCED
DETECTION
REPORT
PACKAGE 
EVIDENCE
ADVISORY 
ARTICLE 
DISCUSSION 
WEB 
GIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants