chore(deps): update rust crate gix to 0.64.0#14332
Merged
Conversation
Collaborator
|
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 (
|
Contributor
|
@bors r+ |
Contributor
Contributor
Contributor
|
☀️ Test successful - checks-actions |
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Aug 3, 2024
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
bors
added a commit
that referenced
this pull request
Aug 20, 2024
[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 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.63.0->0.64.0Release Notes
Byron/gitoxide (gix)
v0.64.0: gix v0.64.0Compare Source
New Features
tracingfeature 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_validateasvalidate.The crate appears in the public API of
gix_index::State::from_treebut 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/HEADisn't considered conflictingre-export
gix_validateas 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-configconvenience initiativeA new
gix_config::AsKeytrait allows allgix_config::Filemethodsto receive an implementation of
AsKeyinstead 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_bysuffix.The terminology was reworked so that
keyis 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
AsKeyimplementation.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/HEADisn'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_pathto be set inconfig::credential_helpers()(55cbc1b)tracingfeature 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_validateas it's now part of the public API. (c8c56ae)gix_validateasvalidate. (afc6e25)c1d7c02)1dfa90d)tarfiles (dcab79a)5663a2c)gix-configconvenience initiative (0ec2389)dbe1f22)9fa1054)ecfde07)f36b9bd)PrepareCheckoutand 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.