Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 1, 2024

This PR contains the following updates:

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

Release Notes

rust-lang/git2-rs (git2)

v0.20.0

Compare Source

0.19.0...0.20.0

Added
  • Debug is now implemented for transport::Service
    #​1074
  • Added Repository::commondir
    #​1079
  • Added Repository::merge_base_octopus
    #​1088
  • Restored impls for PartialOrd, Ord, and Hash for bitflags types that were inadvertently removed in a prior release.
    #​1096
  • Added CheckoutBuilder::disable_pathspec_match
    #​1107
  • Added PackBuilder::write
    #​1110
Changed
  • ❗ Updated to libgit2 1.9.0
    #​1111
  • ❗ Removed the ssh_key_from_memory Cargo feature, it was unused.
    #​1087
  • ❗ Errors from Tree::walk are now correctly reported to the caller.
    #​1098
  • ❗ The trace_set callback now takes a &[u8] instead of a &str.
    #​1071
  • Error::last_error now returns Error instead of Option<Error>.
    #​1072
Fixed
  • Fixed OdbReader::read return value.
    #​1061
  • When a credential helper executes a shell command, don't pop open a console window on Windows.
    #​1075

v0.19.0

Compare Source

0.18.3...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
Changed
Fixed
  • Fixed some callbacks to relay the error from the callback to libgit2.
    #​1043

v0.18.3

Compare Source

0.18.2...0.18.3

Added
  • Added opts:: functions to get / set libgit2 mwindow options
    #​1035
Changed
  • Updated examples to use clap instead of structopt
    #​1007

v0.18.2

Compare Source

0.18.1...0.18.2

Added
  • Added opts::set_ssl_cert_file and opts::set_ssl_cert_dir for setting Certificate Authority file locations.
    #​997
  • Added TreeIter::nth which makes jumping ahead in the iterator more efficient.
    #​1004
  • Added Repository::find_commit_by_prefix to find a commit by a shortened hash.
    #​1011
  • Added Repository::find_tag_by_prefix to find a tag by a shortened hash.
    #​1015
  • Added Repository::find_object_by_prefix to find an object by a shortened hash.
    #​1014
Changed

v0.18.1

Compare Source

0.18.0...0.18.1

Added
  • Added FetchOptions::depth to set the depth of a fetch or clone, adding support for shallow clones.
    #​979
Fixed
  • Fixed an internal data type (TreeWalkCbData) to not assume it is a transparent type while casting.
    #​989
  • Fixed so that DiffPatchidOptions and StashSaveOptions are publicly exported allowing the corresponding APIs to actually be used.
    #​988

v0.18.0

Compare Source

0.17.2...0.18.0

Added
  • Added Blame::blame_buffer for getting blame data for a file that has been modified in memory.
    #​981
Changed
  • Updated to libgit2 1.7.0.
    #​968
  • Updated to libgit2 1.7.1.
    #​982
  • Switched from bitflags 1.x to 2.1. This brings some small changes to types generated by bitflags.
    #​973
  • Changed Revwalk::with_hide_callback to take a mutable reference to its callback to enforce type safety.
    #​970
  • Implemented FusedIterator for many iterators that can support it.
    #​955
Fixed
  • Fixed builds with cargo's -Zminimal-versions.
    #​960

v0.17.2

Compare Source

0.17.1...0.17.2

Added
  • Added support for stashing with options (which can support partial stashing).
    #​930

v0.17.1

Compare Source

0.17.0...0.17.1

Changed

v0.17.0

Compare Source

0.16.1...0.17.0

Added
  • Added IntoIterator implementation for Statuses.
    #​880
  • Added Reference::symbolic_set_target
    #​893
  • Added Copy, Clone, Debug, PartialEq, and Eq implementations for AutotagOption and FetchPrune.
    #​889
  • Added Eq and PartialEq implementations for Signature.
    #​890
  • Added Repository::discover_path.
    #​883
  • Added Submodule::repo_init.
    #​914
  • Added Tag::is_valid_name.
    #​882
  • Added Repository::set_head_bytes.
    #​931
  • Added the Indexer type which is a low-level API for storing and indexing pack files.
    #​911
  • Added Index::find_prefix.
    #​903
  • Added support for the deprecated group-writeable blob mode. This adds a new variant to FileMode.
    #​887
  • Added PushCallbacks::push_negotiation callback and the corresponding PushUpdate type for getting receiving information about the updates to perform.
    #​926
Changed
  • Updated to libgit2 1.6.3.
    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
  • Updated libssh2-sys from 0.2 to 0.3.
    This brings in numerous changes, including SHA2 algorithm support with RSA.
    #​919
  • Changed RemoteCallbacks::credentials callback error handler to correctly set the libgit2 error class.
    #​918
  • DiffOptions::flag now takes a git_diff_option_t type.
    #​935

v0.16.1

Compare Source

0.16.0...0.16.1

Changed

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 these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Jul 1, 2024

⚠️ Artifact update problem

Renovate failed to update artifacts 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:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

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 [email protected] --precise 0.20.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.20.0
location searched: crates.io index
required by package `git2-ext v0.6.2`
    ... which satisfies dependency `git2-ext = "^0.6.1"` (locked to 0.6.2) of package `git-branch-stash v0.10.1 (/tmp/renovate/repos/github/gitext-rs/git-branch-stash/crates/git-branch-stash)`

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path crates/git-branch-stash/Cargo.toml --package [email protected] --precise 0.20.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.20.0
location searched: crates.io index
required by package `git2-ext v0.6.2`
    ... which satisfies dependency `git2-ext = "^0.6.1"` (locked to 0.6.2) of package `git-branch-stash v0.10.1 (/tmp/renovate/repos/github/gitext-rs/git-branch-stash/crates/git-branch-stash)`

@coveralls
Copy link

coveralls commented Jul 1, 2024

Pull Request Test Coverage Report for Build 9736010769

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 0.0%

Totals Coverage Status
Change from base Build 9503905023: 0.0%
Covered Lines: 0
Relevant Lines: 577

💛 - Coveralls

@renovate renovate bot force-pushed the renovate/git2-0.x branch from 50e16d4 to 28937f4 Compare January 5, 2025 02:04
@renovate renovate bot changed the title chore(deps): Update Rust crate git2 to >=0.16, <=0.19 chore(deps): Update Rust crate git2 to >=0.16, <=0.20 Jan 5, 2025
@coveralls
Copy link

Pull Request Test Coverage Report for Build 12615619672

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 0.0%

Totals Coverage Status
Change from base Build 12587284585: 0.0%
Covered Lines: 0
Relevant Lines: 577

💛 - Coveralls

@epage epage merged commit 47cb109 into main Jan 7, 2025
16 of 17 checks passed
@epage epage deleted the renovate/git2-0.x branch January 7, 2025 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants