-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 gix #13230
chore(deps): update gix #13230
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) 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 (
|
@bors r+ |
☀️ Test successful - checks-actions |
Update cargo 11 commits in ac6bbb33293d8d424c17ecdb42af3aac25fb7295..add15366eaf3f3eb84717d3b8b71902ca36a7c84 2023-12-26 23:22:08 +0000 to 2024-01-02 03:24:42 +0000 - chore(deps): update gix (rust-lang/cargo#13230) - chore(deps): update alpine docker tag to v3.19 (rust-lang/cargo#13228) - rustfix: Support inserting new lines. (rust-lang/cargo#13226) - Fix fix::fix_in_dependency to not rely on rustc (rust-lang/cargo#13220) - cleanup: Remove error-format special-case in `cargo fix` (rust-lang/cargo#13224) - `cargo fix`: always inherit the jobserver (rust-lang/cargo#13225) - Bump cargo-credential to 0.4.3 (rust-lang/cargo#13221) - `cargo add` - fix for adding features from repository with multiple packages. (rust-lang/cargo#13213) - Remove repetitive words (rust-lang/cargo#13216) - Add cargo:rustc-cdylib-link-arg into RESERVED_PREFIXES list (rust-lang/cargo#13212) - chore(doc): doc for custom subcommands look up. (rust-lang/cargo#13203)
This PR contains the following updates:
0.56.0
->0.57.1
0.35.0
->0.37.1
Release Notes
Byron/gitoxide (gix)
v0.57.1
: gix v0.57.1Compare Source
Chore
change
rust-version
manifest field back to 1.65.They didn't actually need to be higher to work, and changing them
unecessarily can break downstream CI.
Let's keep this value as low as possible, and only increase it when
more recent features are actually used.
Commit Statistics
Commit Details
view details
8c492d7
)rust-version
manifest field back to 1.65. (3bd09ef
)v0.57.0
: gix v0.57.0Compare Source
Chore
Our MSRV follows the one of
helix
, which in turn follows Firefox.New Features
Repository::rev_parse*()
now supportsbranch@{upstream|push|u|p}
.Previously it would be parsed, but always error as the implementation didn't exist.
Now it will return the fetch and push tracking branches respectively.
Add
Reference::remote_tracking_ref_name()
and*::remote_ref_name()
.These methods mirror their respective
Repository::branch_*
prefixed versions.add
Repository::branch_remote_tracking_ref_name()
.add
push.default
config keyadd
config::Snapshot::trusted_program()
.That way it's possible to obtain an executable, program or script
from a key in the configuration that is in a trusted section of the
configuration.
This goes along with a new
command
feature that brings in thecommand
module at the top level to be able to execute such commands.
add
clone::PrepareFetch::with_in_memory_config_overrides()
.With it one can affect the repository configuration right before fetching.
New Features (BREAKING)
Repository::remote_names|remote_default_name()
now returnsCow<'_, BStr>
instead ofCow<'_, str>
.That way information won't degenerate due to enforcement of UTF-8.
Bug Fixes (BREAKING)
rename
Repository::branch_remote_ref()
toRepository::branch_remote_ref_name()
, adddirection
argument (also toRepository::branch_remote_name()
andRepository::branch_remote()
).This better differentiates the return value from the corresponding ref objects,
which would require the named ref to exist in the repository.
The
direction
argument allows to get the reference to push to as well.Further, it now takes a full ref name to support deriving the name of branches
to push to.
Regarding
Repository::branch_remote()
, previously, this functionalitywas only available from a
Reference
,but now it's more generally available with just a branch name.
The method was also adjusted to permit looking up non-symbolic remote
names, like remotes that are specified by their URL.
mark
gix::interrupt::init_handler()
as unsafeThe passed
interrupt()
argument will be called from a signalhandler, so that needs to be documented and the call sites need to
state that they fulfill the contract.
Thanks to @Manishearth for pointing this out.
Commit Statistics
Thanks Clippy
Clippy helped 1 time to make code idiomatic.
Commit Details
view details
11c9f66
)8ef0538
)config::Snapshot::trusted_program()
. (3f84213
)2e04403
)e78a92b
)4454c9d
)aea89c3
)d38d1cc
)0fe20e8
)530c15d
)Repository::rev_parse*()
now supportsbranch@{upstream|push|u|p}
. (3fba5b8
)Reference::remote_tracking_ref_name()
and*::remote_ref_name()
. (270322e
)Repository::branch_remote_tracking_ref_name()
. (4aa4b05
)Repository::branch_remote_ref()
toRepository::branch_remote_ref_name()
, adddirection
argument (also toRepository::branch_remote_name()
andRepository::branch_remote()
). (404fde5
)Repository::remote_names|remote_default_name()
now returnsCow<'_, BStr>
instead ofCow<'_, str>
. (5c07c76
)push.default
config key (8ac2dcc
)cda5b51
)1691ba6
)c1cfe6e
)20dce42
)Executable
andProgram
(56d1d09
)core.editor
key (ff71e07
)7549559
)35439de
)b6f2b81
)98b08f4
)8dda069
)mailmap
keys and make a few improvements. (7f65ffd
)mailmap
keys (1bf3e88
)86c7fa1
)281fda0
)clone::PrepareFetch::with_in_memory_config_overrides()
. (b5c36b8
)9833b45
)4917beb
)c23bb87
)gix::interrupt::init_handler()
as unsafe (59b8104
)d77bc0e
)cd26fd8
)56588a9
)ec0211a
)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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.