Repository navigation
fix(deps): update rust crate gix-object to 0.65 - #73
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
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.64→0.65Release Notes
GitoxideLabs/gitoxide (gix-object)
v0.65.0: gix-object v0.65.0Compare Source
New Features
add
Never::panic_on_access()to forbid object accessTests that must avoid object database access can use
Never::panic_on_access()instead of implementing their own panicking stores. The returned
PanicAlwaystype panics on reads, existence checks, and writes, while preserving the
existing
Neverunit struct and its behavior.Replace the custom panicking stores in the null-ID tests in
gix-diffandgix-merge, and cover every object-access method. Validated theobject,diff,and
mergeintegration test suites andcargo fmt --all -- --check.Keep rustdoc links aligned with the constructor name. CI's
testandlintjobs build documentation with warnings denied, and the old
Never::fail_always()links failed to resolve. The failure was reproducedlocally;
RUSTDOCFLAGS='-D warnings' cargo doc -p gix-object --no-deps --features sha1passes with the corrected links.
Bug Fixes
Keep rust workspace tests inside disposable repositories and isolated environments
Direct Git launches inherited repository selectors and user configuration even
when tests supplied a fixture working directory. Tests of default-environment
APIs and local Git transports also shared the runner's environment. A few
journey tests wrote beneath source directories or used the source checkout as
the repository under test.
Use the shared
gix-testtoolsGit command builder for subprocess setup, isolatedrepository options for fixtures, and isolated child processes where the real
environment-reading API must be exercised. Scope CWD changes, copy the fixture
used by an object-write test, and run shell journeys through
jtt run. Keepjourney worktrees and example output within their disposable sandboxes and
replace the attributes checkout test with a representative fixture repository.
Prompt examples also run in isolated children and must build successfully; the
old tests could ignore build failures and execute stale cached binaries.
The affected Rust crate suites, internal test-tool build, and
max-purejourneysuite pass from a source copy without Git metadata. Signing and Git-daemon
checks use only disposable keys, repositories, and local sockets.
omit the final newline from bodyless commit titles
An ordinary commit created with
git commit -m "initial commit"exposes"initial commit\n"asMessageRef::titlebecause the no-separator pathreturns the entire message. Exclude a final LF or CRLF in that shared
parser path, preserving other whitespace, interior newlines, and raw bytes.
Correct the existing LF and CRLF expectations, add boundary cases for empty
and multiline titles, whitespace, lone CR, and non-UTF-8 bytes, and update
the public documentation and
gixreference example.Git reference:
pretty.c(is_blank_line()andformat_subject()) andt/t6006-rev-list-format.shat1630431f326e15fcde608827b5ff38422528eb59.Git 2.50.1 also returns
Sync with 'maint'via%sfor reference commitaec3f587505a472db67e9462d0702e7d463a449d, whose raw message ends in LF.invoke signature programs without a shell
Treat signing and verification programs as executable paths, matching the
argv-based launch used by Git. Shell detection treated paths containing spaces
as shell commands, so unquoted Windows paths could fail before reaching the
signer.
Keep wrapper customization explicit through
program_argumentsand cover signerand verifier paths containing spaces with regression tests.
Changed (BREAKING)
migrate errors to gix-error
rubberstamp
raise MSRV to Rust 1.88
The newly published
dua-core3.3 release used by linked-worktree removalrequires Rust 1.88, so raise every workspace crate and the advertised badge
together.
Keep the MSRV checks buildable by selecting the latest
sysinfoandrusqliterelease lines that support Rust 1.88.
Commit Statistics
Commit Details
view details
f51c0c5)6356013)daf73b5)8c101c9)4b9ff51)c609062)4e0f8ff)4f29e0c)d7551f1)Never::panic_on_access()to forbid object access (36e9406)c16300c)b7bedcf)9b26904)a095334)4b42e0c)7e35849)888677a)6704303)Configuration
📅 Schedule: (UTC)
🚦 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.