Skip to content

fix(vcs): Upgrade git2 to address RustSec advisories#3345

Merged
szokeasaurusrex merged 1 commit into
masterfrom
szokeasaurusrex/upgrade-git2
Jun 25, 2026
Merged

fix(vcs): Upgrade git2 to address RustSec advisories#3345
szokeasaurusrex merged 1 commit into
masterfrom
szokeasaurusrex/upgrade-git2

Conversation

@szokeasaurusrex

Copy link
Copy Markdown
Member

Upgrade git2 to 0.21.0 to pick up fixes for the open RustSec advisories covering Remote::list() and blame APIs.

The code changes are because git2 has changed several method signatures to return Result.

Closes #3338
Closes CLI-334

Closes #3339
Closes CLI-335

Upgrade git2 to 0.21.0 to pick up fixes for the open RustSec advisories covering Remote::list() and blame APIs.

The [git2 changelog](https://github.com/rust-lang/git2-rs/blob/main/CHANGELOG.md#changed) documents changed method signatures in 0.21.0. Update the VCS and code mappings callers because several git2 methods now return Result values instead of optional values.

Closes #3338

Closes [CLI-334](https://linear.app/getsentry/issue/CLI-334)

Closes #3339

Closes [CLI-335](https://linear.app/getsentry/issue/CLI-335)
@szokeasaurusrex szokeasaurusrex requested a review from a team as a code owner June 25, 2026 09:36
@linear-code

linear-code Bot commented Jun 25, 2026

Copy link
Copy Markdown

CLI-334

CLI-335

@szokeasaurusrex szokeasaurusrex enabled auto-merge (squash) June 25, 2026 09:36
@github-actions

Copy link
Copy Markdown
Contributor
Fails
🚫 Please consider adding a changelog entry for the next release.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

### Fixes

- Upgrade git2 to address RustSec advisories ([#3345](https://github.com/getsentry/sentry-cli/pull/3345))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description or adding a skip-changelog label.

Generated by 🚫 dangerJS against 8606e11

@szokeasaurusrex szokeasaurusrex merged commit 134b728 into master Jun 25, 2026
28 of 29 checks passed
@szokeasaurusrex szokeasaurusrex deleted the szokeasaurusrex/upgrade-git2 branch June 25, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants