google / google/osv.dev

Commit tag enumeration: better detection of relevant branch heads

Open
#1,590 1 comment 0 reactions 0 assignees View on GitHub
backlog bug infra worker
Dominant language
Go
Stars
2.9k
Forks
369
Avg merge
1d 17h
Merged PRs (30d)
149

Description

Currently, our version tag enumeration is based on looking through available upstream branches: https://github.com/google/osv.dev/blob/c8d6717fd63ef85ac0c1e0cc551cd1cfcc76a9d9/osv/impact.py#L143

However, this breaks when the upstream repo deletes branches over time (e.g. CPython per #1552). In these cases, it's possible tag references are still around that point to the various branch heads that we actually need to examine. We should include these in our analysis for more complete results.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.