gitext-rs / git-stack

Stacked branch management for Git
Apache License 2.0
491 stars 19 forks source link

chore(deps): Update Rust crate git2 to >=0.16, <=0.19 #361

Open renovate[bot] opened 4 days ago

renovate[bot] commented 4 days ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
git2 dependencies minor >=0.16, <=0.18 -> >=0.16, <=0.19

Release Notes

rust-lang/git2-rs (git2) ### [`v0.19.0`](https://togithub.com/rust-lang/git2-rs/blob/HEAD/CHANGELOG.md#0190---2024-06-13) [Compare Source](https://togithub.com/rust-lang/git2-rs/compare/git2-0.18.3...git2-0.19.0) [0.18.3...0.19.0](https://togithub.com/rust-lang/git2-rs/compare/git2-0.18.3...git2-0.19.0) ##### Added - Added `opts` functions to control server timeouts (`get_server_connect_timeout_in_milliseconds`, `set_server_connect_timeout_in_milliseconds`, `get_server_timeout_in_milliseconds`, `set_server_timeout_in_milliseconds`), and add `ErrorCode::Timeout`. [#​1052](https://togithub.com/rust-lang/git2-rs/pull/1052) ##### Changed - ā— Updated to libgit2 [1.8.1](https://togithub.com/libgit2/libgit2/releases/tag/v1.8.1) [#​1032](https://togithub.com/rust-lang/git2-rs/pull/1032) - Reduced size of the `Error` struct. [#​1053](https://togithub.com/rust-lang/git2-rs/pull/1053) ##### Fixed - Fixed some callbacks to relay the error from the callback to libgit2. [#​1043](https://togithub.com/rust-lang/git2-rs/pull/1043) ### [`v0.18.3`](https://togithub.com/rust-lang/git2-rs/blob/HEAD/CHANGELOG.md#0183---2024-03-18) [Compare Source](https://togithub.com/rust-lang/git2-rs/compare/git2-0.18.2...git2-0.18.3) [0.18.2...0.18.3](https://togithub.com/rust-lang/git2-rs/compare/git2-0.18.2...git2-0.18.3) ##### Added - Added `opts::` functions to get / set libgit2 mwindow options [#​1035](https://togithub.com/rust-lang/git2-rs/pull/1035) ##### Changed - Updated examples to use clap instead of structopt [#​1007](https://togithub.com/rust-lang/git2-rs/pull/1007) ### [`v0.18.2`](https://togithub.com/rust-lang/git2-rs/blob/HEAD/CHANGELOG.md#0182---2024-02-06) [Compare Source](https://togithub.com/rust-lang/git2-rs/compare/git2-0.18.1...git2-0.18.2) [0.18.1...0.18.2](https://togithub.com/rust-lang/git2-rs/compare/git2-0.18.1...git2-0.18.2) ##### Added - Added `opts::set_ssl_cert_file` and `opts::set_ssl_cert_dir` for setting Certificate Authority file locations. [#​997](https://togithub.com/rust-lang/git2-rs/pull/997) - Added `TreeIter::nth` which makes jumping ahead in the iterator more efficient. [#​1004](https://togithub.com/rust-lang/git2-rs/pull/1004) - Added `Repository::find_commit_by_prefix` to find a commit by a shortened hash. [#​1011](https://togithub.com/rust-lang/git2-rs/pull/1011) - Added `Repository::find_tag_by_prefix` to find a tag by a shortened hash. [#​1015](https://togithub.com/rust-lang/git2-rs/pull/1015) - Added `Repository::find_object_by_prefix` to find an object by a shortened hash. [#​1014](https://togithub.com/rust-lang/git2-rs/pull/1014) ##### Changed - ā— Updated to libgit2 [1.7.2](https://togithub.com/libgit2/libgit2/releases/tag/v1.7.2). This fixes [CVE-2024-24575](https://togithub.com/libgit2/libgit2/security/advisories/GHSA-54mf-x2rh-hq9v) and [CVE-2024-24577](https://togithub.com/libgit2/libgit2/security/advisories/GHSA-j2v7-4f6v-gpg8). [#​1017](https://togithub.com/rust-lang/git2-rs/pull/1017) ### [`v0.18.1`](https://togithub.com/rust-lang/git2-rs/blob/HEAD/CHANGELOG.md#0181---2023-09-20) [Compare Source](https://togithub.com/rust-lang/git2-rs/compare/git2-0.18.0...git2-0.18.1) [0.18.0...0.18.1](https://togithub.com/rust-lang/git2-rs/compare/git2-0.18.0...git2-0.18.1) ##### Added - Added `FetchOptions::depth` to set the depth of a fetch or clone, adding support for shallow clones. [#​979](https://togithub.com/rust-lang/git2-rs/pull/979) ##### Fixed - Fixed an internal data type (`TreeWalkCbData`) to not assume it is a transparent type while casting. [#​989](https://togithub.com/rust-lang/git2-rs/pull/989) - Fixed so that `DiffPatchidOptions` and `StashSaveOptions` are publicly exported allowing the corresponding APIs to actually be used. [#​988](https://togithub.com/rust-lang/git2-rs/pull/988) ### [`v0.18.0`](https://togithub.com/rust-lang/git2-rs/blob/HEAD/CHANGELOG.md#0180---2023-08-28) [Compare Source](https://togithub.com/rust-lang/git2-rs/compare/0.17.2...git2-0.18.0) [0.17.2...0.18.0](https://togithub.com/rust-lang/git2-rs/compare/0.17.2...git2-0.18.0) ##### Added - Added `Blame::blame_buffer` for getting blame data for a file that has been modified in memory. [#​981](https://togithub.com/rust-lang/git2-rs/pull/981) ##### Changed - Updated to libgit2 [1.7.0](https://togithub.com/libgit2/libgit2/releases/tag/v1.7.0). [#​968](https://togithub.com/rust-lang/git2-rs/pull/968) - Updated to libgit2 [1.7.1](https://togithub.com/libgit2/libgit2/releases/tag/v1.7.1). [#​982](https://togithub.com/rust-lang/git2-rs/pull/982) - Switched from bitflags 1.x to 2.1. This brings some small changes to types generated by bitflags. [#​973](https://togithub.com/rust-lang/git2-rs/pull/973) - Changed `Revwalk::with_hide_callback` to take a mutable reference to its callback to enforce type safety. [#​970](https://togithub.com/rust-lang/git2-rs/pull/970) - Implemented `FusedIterator` for many iterators that can support it. [#​955](https://togithub.com/rust-lang/git2-rs/pull/955) ##### Fixed - Fixed builds with cargo's `-Zminimal-versions`. [#​960](https://togithub.com/rust-lang/git2-rs/pull/960) ### [`v0.17.2`](https://togithub.com/rust-lang/git2-rs/blob/HEAD/CHANGELOG.md#0172---2023-05-27) [Compare Source](https://togithub.com/rust-lang/git2-rs/compare/0.17.1...0.17.2) [0.17.1...0.17.2](https://togithub.com/rust-lang/git2-rs/compare/0.17.1...0.17.2) ##### Added - Added support for stashing with options (which can support partial stashing). [#​930](https://togithub.com/rust-lang/git2-rs/pull/930) ### [`v0.17.1`](https://togithub.com/rust-lang/git2-rs/blob/HEAD/CHANGELOG.md#0171---2023-04-13) [Compare Source](https://togithub.com/rust-lang/git2-rs/compare/0.17.0...0.17.1) [0.17.0...0.17.1](https://togithub.com/rust-lang/git2-rs/compare/0.17.0...0.17.1) ##### Changed - Updated to libgit2 [1.6.4](https://togithub.com/libgit2/libgit2/releases/tag/v1.6.4). [#​948](https://togithub.com/rust-lang/git2-rs/pull/948) ### [`v0.17.0`](https://togithub.com/rust-lang/git2-rs/blob/HEAD/CHANGELOG.md#0170---2023-04-02) [Compare Source](https://togithub.com/rust-lang/git2-rs/compare/0.16.1...0.17.0) [0.16.1...0.17.0](https://togithub.com/rust-lang/git2-rs/compare/0.16.1...0.17.0) ##### Added - Added `IntoIterator` implementation for `Statuses`. [#​880](https://togithub.com/rust-lang/git2-rs/pull/880) - Added `Reference::symbolic_set_target` [#​893](https://togithub.com/rust-lang/git2-rs/pull/893) - Added `Copy`, `Clone`, `Debug`, `PartialEq`, and `Eq` implementations for `AutotagOption` and `FetchPrune`. [#​889](https://togithub.com/rust-lang/git2-rs/pull/889) - Added `Eq` and `PartialEq` implementations for `Signature`. [#​890](https://togithub.com/rust-lang/git2-rs/pull/890) - Added `Repository::discover_path`. [#​883](https://togithub.com/rust-lang/git2-rs/pull/883) - Added `Submodule::repo_init`. [#​914](https://togithub.com/rust-lang/git2-rs/pull/914) - Added `Tag::is_valid_name`. [#​882](https://togithub.com/rust-lang/git2-rs/pull/882) - Added `Repository::set_head_bytes`. [#​931](https://togithub.com/rust-lang/git2-rs/pull/931) - Added the `Indexer` type which is a low-level API for storing and indexing pack files. [#​911](https://togithub.com/rust-lang/git2-rs/pull/911) - Added `Index::find_prefix`. [#​903](https://togithub.com/rust-lang/git2-rs/pull/903) - Added support for the deprecated group-writeable blob mode. This adds a new variant to `FileMode`. [#​887](https://togithub.com/rust-lang/git2-rs/pull/887) - Added `PushCallbacks::push_negotiation` callback and the corresponding `PushUpdate` type for getting receiving information about the updates to perform. [#​926](https://togithub.com/rust-lang/git2-rs/pull/926) ##### Changed - Updated to libgit2 [1.6.3](https://togithub.com/libgit2/libgit2/blob/main/docs/changelog.md#v163). This brings in many changes, including better SSH host key support on Windows and better SSH host key algorithm negotiation. 1.6.3 is now the minimum supported version. [#​935](https://togithub.com/rust-lang/git2-rs/pull/935) - Updated libssh2-sys from 0.2 to 0.3. This brings in numerous changes, including SHA2 algorithm support with RSA. [#​919](https://togithub.com/rust-lang/git2-rs/pull/919) - Changed `RemoteCallbacks::credentials` callback error handler to correctly set the libgit2 error class. [#​918](https://togithub.com/rust-lang/git2-rs/pull/918) - `DiffOptions::flag` now takes a `git_diff_option_t` type. [#​935](https://togithub.com/rust-lang/git2-rs/pull/935) ### [`v0.16.1`](https://togithub.com/rust-lang/git2-rs/blob/HEAD/CHANGELOG.md#0161---2023-01-20) [Compare Source](https://togithub.com/rust-lang/git2-rs/compare/0.16.0...0.16.1) [0.16.0...0.16.1](https://togithub.com/rust-lang/git2-rs/compare/0.16.0...0.16.1) ##### Changed - Updated to [libgit2-sys 0.14.2+1.5.1](libgit2-sys/CHANGELOG.md#0142151---2023-01-20)

Configuration

šŸ“… Schedule: Branch creation - "before 5am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

šŸš¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.

ā™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

šŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 4 days ago

āš ļø Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

ā™» Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package git2@0.16.0 --precise 0.19.0
    Updating crates.io index
error: failed to select a version for the requirement `git2 = ">=0.16, <=0.18"`
candidate versions found which didn't match: 0.19.0
location searched: crates.io index
required by package `git-branch-stash v0.10.1`
    ... which satisfies dependency `git-branch-stash = "^0.10.1"` (locked to 0.10.1) of package `git-stack v0.10.17 (/tmp/renovate/repos/github/gitext-rs/git-stack)`
perhaps a crate was updated and forgotten to be re-vendored?
coveralls commented 4 days ago

Pull Request Test Coverage Report for Build 9736355072

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Totals Coverage Status
Change from base Build 9503544320: 0.02%
Covered Lines: 1650
Relevant Lines: 5616

šŸ’› - Coveralls