chore(deps): update rust crate gix to 0.55.2#12906
Merged
Conversation
Collaborator
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @ehuss (or someone else) soon. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
b436477 to
b4efcdb
Compare
Contributor
|
@bors r+ |
Contributor
Contributor
Contributor
|
☀️ Test successful - checks-actions |
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Nov 4, 2023
Update cargo 8 commits in b4d18d4bd3db6d872892f6c87c51a02999b80802..65e297d1ec0dee1a74800efe600b8dc163bcf5db 2023-10-31 18:19:10 +0000 to 2023-11-03 20:56:31 +0000 - fix(cli): Clarify --test is for targets, not test functions (rust-lang/cargo#12915) - Updating "features" documentation to add a note about the new limit on number of features (rust-lang/cargo#12913) - fix: merge `trim-paths` from different profiles (rust-lang/cargo#12908) - Add regression test for issue 6915: features and transitive dev deps (rust-lang/cargo#12907) - chore(deps): update rust crate gix to 0.55.2 (rust-lang/cargo#12906) - chore(deps): update compatible (rust-lang/cargo#12905) - docs(ref): Fix open-semver-range issue link (rust-lang/cargo#12904) - docs(ref): Highlight commands to answer dep resolution questions (rust-lang/cargo#12903) r? ghost
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.54.1->0.55.2Release Notes
Byron/gitoxide (gix)
v0.55.2: gix v0.55.2Compare Source
Bug Fixes
bump
gix-transportversion to prevent it from being picked up.gix-transportv0.37.1 could accidentally be picked up by older, incompatible,gixversions which now fail to build.Thus v0.37.1 is now yanked and replaced with v0.38.0 along with a new
release of
gixto go with it.Commit Statistics
Commit Details
view details
12b5caf)gix-transportversion to prevent it from being picked up. (8011c73)v0.55.1: gix v0.55.1Compare Source
New Features
take_data()to all primitive object types.That is the new, most direct way to obtain its data which otherwise
is immovable.
detach()anddetached()too all object types.That way, the detachment API is symmetric.
It's required to overcome the
Dropimplementation of each of these typeswhich prevents moving data out of the object (easily).
Commit Statistics
Commit Details
view details
take_data()to all primitive object types. (5732303)detach()anddetached()too all object types. (88f2e6c)v0.55.0: gix v0.55.0Compare Source
This release contains a complete rewrite of the internal url parsing logic, the public interface stays mostly the same however. Gitoxide will now be
more correct, interpreting more urls the same way Git does. Improvements include the added support for ssh aliases (
github:byron/gitoxidehas previouslybeen parsed as local path), adjustments around the interpretation of colons in file names (previously we disallowed colons that were not followed up
with a slash character) and some smaller changes that bring the interpretation of file urls more in line with Git's implementation. Additionally, the
error types have been adjusted to print a more comprehensive message by default, making sure they stay helpful even when bubbled up through multiple abstraction
layers.
There are still many (edge) cases in Git's url parsing implementation which are not handled correctly by Gitoxide. If you notice any such deviation please
open a new issue to help us making Gitoxide even more correct.
Other
Those are present in
git2and enabled by default, andgitoxdedefinitelywants to do the same at some point.
New Features
add
Repository::head_tree()to more easily obtain the current tree.Add
Repository::has_object()as a high-level alternative.Previously, one would have to call
repo.objects.contains(), whichis fine, but this method is necessary for symmetry of the API
and one shouldn't have to drop down a level to do this.
This method also knows empty trees as special case.
add
Object::try_into_blob()andinto_blob()andRepository::empty_blob()This way it's easier to assert that an object is actually a blob.
add
Repository::index_or_empty().This is useful if a missing index should mean it's empty.
Commit Statistics
Thanks Clippy
Clippy helped 1 time to make code idiomatic.
Commit Details
view details
68e5432)1347a54)429e7b2)f478a37)Repository::head_tree()to more easily obtain the current tree. (c79a7da)Repository::has_object()as a high-level alternative. (787a9aa)Object::try_into_blob()andinto_blob()andRepository::empty_blob()(3cec935)345712d)b842691)f929d42)Repository::index_or_empty(). (7d9ecdd)gix-status(54fb7c2)a12e4a8)4349353)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.