-
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.64.0 #14332
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @epage (or someone else) some time within the next two weeks. 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 (
|
@bors r+ |
☀️ Test successful - checks-actions |
Update cargo 15 commits in 257b72b8adfb1f2aa9916cefca67285c21666276..fa646583675d7c140482bd906145c71b7fb4fc2b 2024-07-30 15:08:27 +0000 to 2024-08-02 16:08:06 +0000 - refactor(toml): Rename 'resolved' to 'normalized' (rust-lang/cargo#14342) - faq: rephrase offline usage. (rust-lang/cargo#14336) - docs(unstable): Improve nightly link (rust-lang/cargo#14344) - Fix a typo in 1.81 changes (rust-lang/cargo#14343) - Change tests to support `rustc` wording changes (rust-lang/cargo#14341) - chore(deps): update rust crate windows-sys to 0.59 (rust-lang/cargo#14335) - chore(deps): update rust crate gix to 0.64.0 (rust-lang/cargo#14332) - chore(deps): update compatible (rust-lang/cargo#14331) - chore(deps): update rust crate rusqlite to 0.32.0 (rust-lang/cargo#14334) - fix: also build manpage for cargo.md (rust-lang/cargo#14339) - fix(config): Adjust MSRV resolve config field name / values (rust-lang/cargo#14296) - fix(toml): Resolve regression from toml_edit 0.22.18 (rust-lang/cargo#14329) - test(publish): More dev-dep stripping cases (rust-lang/cargo#14327) - Use gmake on AIX (rust-lang/cargo#14323) - fix(publish): Don't strip non-dev features (rust-lang/cargo#14325) r? ghost
[beta-1.81] chore(deps): update rust crate gix to 0.64.0 Beta backports * #14332 In order to make CI pass, the following PRs are also cherry-picked: * See: https://rust-lang.zulipchat.com/#narrow/stream/246057-t-cargo/topic/gitignore.20fix.20backport
This PR contains the following updates:
0.63.0
->0.64.0
Release Notes
Byron/gitoxide (gix)
v0.64.0
: gix v0.64.0Compare Source
New Features
tracing
feature in the Cargo manifest.That way, it's easier to directly enable tracing, instead of having to
resort to
gix-features
.config::section::filter()
for the default section filter.Provide the default implementation to determine which configuration
sections should be trusted.
config::credential_helpers()
function to configure an invocation.That way it's possible to use git credential helpers even without a Repository instance.
gix_validate
asvalidate
.The crate appears in the public API of
gix_index::State::from_tree
but it's types weren't readily available.
PrepareFetch::with_ref_name()
to control which ref is checked out.Bug Fixes
make sure that
refs/heads/HEAD
isn't considered conflictingre-export
gix_validate
as it's now part of the public API.This allows calling
State::from_tree()
.don't attempt negotiation without any refspec-mappings
Previously, when a shallow operation was specified, it was possible
to skip past the no-change test and attempt to negotiate even though
there was nothing to want.
This is now 'fixed' by simply aborting early if there is no refspec
mapping at all.
Further, it aborts as early as possible with a nicer error message,
after all, there is no use in having no mapping.
Note that it's explicitly implemented such that obtaining such an empty
refmap is fine, but trying to receive it is not. That way, the user can
obtain information about the server without anything being an error.
Other
New Features (BREAKING)
gix-config
convenience initiativeA new
gix_config::AsKey
trait allows allgix_config::File
methodsto receive an implementation of
AsKey
instead of the tuple of(section, subsection, value_name)
. This is the default, and allmethods that take a tuple have been renamed to
<name>_by()
, note the_by
suffix.The terminology was reworked so that
key
is now only used to identify a value.This change also affects the public API of
gix
, which providesways to set values on configuration snapshots which now by default
will only take a
AsKey
implementation.Note that
gix::config::tree::*
keys now also implementAsKey
,which allows them to be used more conveniently when setting values,
too.
Commit Statistics
Thanks Clippy
Clippy helped 2 times to make code idiomatic.
Commit Details
view details
a146d14
)refs/heads/HEAD
isn't considered conflicting (40d1881
)6232824
)a1b73a6
)0470df3
)99c00cc
)b4dba1c
)1267712
)113cbcc
)15f1cf7
)caae926
)f87322e
)gix-testtools
(f5a9884
)bf3d82a
)7330844
)a4bb7b9
)<<
rather than<<-
heredoc operator (2641f8b
)1e79c5c
)use_http_path
to be set inconfig::credential_helpers()
(55cbc1b
)tracing
feature in the Cargo manifest. (41e018d
)929744a
)ab02aa9
)d9a813f
)config::section::filter()
for the default section filter. (5c7e744
)config::credential_helpers()
function to configure an invocation. (478bbc1
)0c5d1ff
)8d89b86
)f71b7a0
)gix_validate
as it's now part of the public API. (c8c56ae
)gix_validate
asvalidate
. (afc6e25
)c1d7c02
)1dfa90d
)tar
files (dcab79a
)5663a2c
)gix-config
convenience initiative (0ec2389
)dbe1f22
)9fa1054
)ecfde07
)f36b9bd
)PrepareCheckout
and make it easier to use (39180b4
)PrepareFetch::with_ref_name()
to control which ref is checked out. (acbfa6f
)0912a46
)2f9f0ac
)2856434
)1dc4568
)9c65d98
)ea12fc2
)68cbea8
)2cefe77
)8da55a3
)2d0a352
)bd32c7a
)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 was generated by Mend Renovate. View the repository job log.