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.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.