Repository navigation
build: support system libgit2 1.9 and OpenSSL 4 - #259
chenrui333 wants to merge 1 commit into
Conversation
Update git2 to 0.20.4, libgit2-sys to 0.18.8+1.9.7, and openssl-sys to 0.9.118 while retaining vendored-build defaults. Fixes prooflinedev#258 Signed-off-by: Rui Chen <rui@chenrui.dev>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
💡 Codex ReviewLines 185 to 186 in 9588c24 When an input resolves to an individual file, including through a glob or stdin, this path now uses Line 585 in 9588c24 On Linux, an update that reaches installation fails because Line 498 in 9588c24 On Windows, this constructs a Line 472 in 9588c24 When the caller supplies nonzero recentness boosts, this bridge now discards the map and constructs Lines 260 to 261 in 9588c24 When the rendered tree alone exceeds ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@prooflinedev review |
1 similar comment
|
@prooflinedev review |
|
A full review of |
|
Codex The dependency update is focused, but coverage and benchmark jobs fail when checking out the fork-only branch |
On a fork PR the head branch exists only in the fork, so 'git checkout <head_ref>' failed with 'pathspec did not match' and the coverage and benchmark jobs failed for every outside contributor (prooflinedev#259 too). Return to $GITHUB_SHA, the commit actions/checkout already fetched. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Summary
git2to 0.20.4 and locklibgit2-sys0.18.8+1.9.7 so packagers can use system libgit2 1.9.openssl-systo 0.9.118 for system OpenSSL 4 support.Notes
Reproduced both failures on macOS arm64: openssl-sys 0.9.109 rejects OpenSSL 4.1.0; after updating openssl-sys, libgit2-sys rejects system libgit2 1.9.7 because it requires
< 1.8.0.With this change, all 53 tests in
repository_testandpriority_testpass usingcargo test --locked --test repository_test --test priority_testwithLIBGIT2_NO_VENDOR=1,OPENSSL_NO_VENDOR=1, and system libgit2 1.9.7 / OpenSSL 4.1.0.References
Fixes #258. Related to Homebrew/homebrew-core#325709. The broader dependency update in #249 also proposes git2 0.20.4; this isolates the native-library compatibility changes.