chore(deps): update rust crate gix to 0.55.2 #12906
Merged
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.2
Release Notes
Byron/gitoxide (gix)
v0.55.2
: gix v0.55.2Compare Source
Bug Fixes
bump
gix-transport
version to prevent it from being picked up.gix-transport
v0.37.1 could accidentally be picked up by older, incompatible,gix
versions which now fail to build.Thus v0.37.1 is now yanked and replaced with v0.38.0 along with a new
release of
gix
to go with it.Commit Statistics
Commit Details
view details
12b5caf
)gix-transport
version 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
Drop
implementation 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/gitoxide
has 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
git2
and enabled by default, andgitoxde
definitelywants 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.