Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

T18 Evaluate the git2 0.19 to 0.21 upgrade

Question

deny.toml (T03) ignores three unsound advisories for git2 0.19 (RUSTSEC-2026-0008, RUSTSEC-2026-0183, RUSTSEC-2026-0184) on the grounds that cerebro never calls Remote::list, never uses blame, and never dereferences a git2::Buf. The ignores should be temporary. What is the API delta from git2 0.19 to the line that patches those advisories, given cerebro uses git2 only for local-history reads (Repository::open, revwalk, commit and signature reads, remotes()/find_remote().url(), workdir/path) with default-features = false?

Exit predicate

A cited table of breaking changes between 0.19 and the first patched version, a verdict (upgrade in-place, upgrade with listed code changes, or the advisories remain unfixed upstream and the ignores stand), and if actionable: the follow-up implementation ticket. The deny.toml comment points at this ticket; closing it updates or removes that comment.

Resolution

To be recorded when the ticket closes.