-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
chore(deps): update rust crate gix to 0.55.2 #12906
Conversation
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
@bors r+ |
☀️ Test successful - checks-actions |
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 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.