Xuanwo opened a new pull request, #8888:
URL: https://github.com/apache/opendal/pull/8888

   # Which issue does this PR close?
   
   Closes #8884.
   
   # Rationale for this change
   
   `opendal-service-git` previously depended on `gix 0.87.1`, which 
transitively pulled `gix-date 0.16.0` and `jiff 0.2.35` into `core/Cargo.lock` 
after `opendal-core` migrated to `jiff 1.0` in #8761. Upgrading to `gix 0.91.0` 
updates `gix-date` to `0.19.0`, which uses `jiff 1.0`.
   
   # What changes are included in this PR?
   
   - Upgrade `gix` from `0.87.1` to `0.91.0` in `core/services/git/Cargo.toml` 
and refresh `core/Cargo.lock`.
   - Declare `rust-version = "1.95"` in `core/services/git/Cargo.toml` and note 
the Rust 1.95 requirement in `core/services/git/README.md`, following the 
precedent of `opendal-service-compfs`, `opendal-executor-compio`, and 
`opendal-http-transport-cyper` (#8038, #8341). The workspace MSRV stays at 
`1.91`; `cargo +1.91 clippy --locked --features services-fs -- -D warnings` and 
`cargo +1.95 clippy --locked -p opendal-service-git --all-targets -- -D 
warnings` both pass.
   - Update `GitCore::get_or_create_repo` in `core/services/git/src/core.rs` 
for `gix 0.91.0`'s credential and `configure_connection` APIs 
(`gix::sec::identity::Credentials::UsernamePassword` and `gix::Result`), 
removing the now-unneeded `#[expect(clippy::result_large_err)]`.
   
   # Are there any user-facing changes?
   
   The optional `opendal-service-git` crate (not yet published to crates.io) 
and the `opendal` `services-git` feature now require Rust 1.95 or later. The 
workspace MSRV remains Rust 1.91.
   
   # Breaking changes
   
   # AI Usage Statement
   
   - Harness: pi coding agent
   - Model: Gemini 4 Neon
   - Effort: xhigh
   - Role: Investigated the `gix` upgrade and MSRV impact, adapted the 
credential callback in `core/services/git/src/core.rs`, updated 
`core/services/git/Cargo.toml`, `core/services/git/README.md`, and 
`core/Cargo.lock`, and verified compilation, tests, license checks, and Rust 
1.91/1.95 MSRV compatibility. Authenticated remote HTTPS fetch via `gix` 
credentials was verified against `gix-transport 0.63.0` source rather than a 
live private remote; existing unit tests cover local Git snapshots and LFS auth 
logic.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to