Chore
- make docs-rs work, and publishing
New Features
-
redact unstable values in diagnostic snapshots
Complete error snapshots expose useful context and causes, but temporary
paths, dynamically assigned ports, object IDs, and platform-specific I/O
messages make their output unstable.Add
redact_debug_snapshot()to apply explicit replacements, reuse object-ID
normalization, and render OS errors by their portableErrorKind. Handle
plain and debug-escaped Windows paths while retaining meaningful suffixes
and unrelated backslashes. Return an ownedDebugvalue soinstadisplays
the diagnostic without additional quoting or newline escaping.Cover redaction, object identity, and OS error formatting, and convert the
environment, SBOM argument, and Rust fixture error assertions to complete
inline snapshots. The helper is available before downstream diagnostic
snapshot migrations need it.
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, isolated
repository 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 throughjtt run. Keep
journey 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-purejourney
suite pass from a source copy without Git metadata. Signing and Git-daemon
checks use only disposable keys, repositories, and local sockets. -
isolate fixtures from inherited Git templates
Fixture commands already ignore external Git configuration, but inherited
GIT_TEMPLATE_DIRcould still inject personal template files into repositories
created bygit init, making fixtures depend on the caller's environment.Clear that variable in the shared command setup used by fixture scripts and
isolated Git helpers. Keep Git's installed templates available because existing
fixtures rely on their standard files and directory layout.Document the isolation behavior and add a regression that supplies an external
template containing a marker file, then verifies thatgit initdoes not copy
it into the fixture repository. -
keep fixture scripts isolated when they set GIT_CONFIG_COUNT themselves
The isolation configuration (no signing, no auto-maintenance,init.defaultBranch=main)
reached scripts only asGIT_CONFIG_COUNTvariables, so a script exporting its own
GIT_CONFIG_COUNTreplaced all of it. With maintenance back on, each commit in such a
script spawned a detachedgit maintenance run --autothat could outlive the script and
mutate the fixture while it was being copied, failing tests with a bare ENOENT.- the isolation now lives in a global configuration file under
tests/fixtures/generated-do-not-edit/, written once per process; a script's own
GIT_CONFIG_COUNTlayers on top of it - ambient
GIT_CONFIG_COUNTis removed from the script environment, as it used to be
overwritten - a script or
git()call that writes global configuration fails with a clear message
and the file is restored, so the mistake stays contained to the offender
- the isolation now lives in a global configuration file under
Changed (BREAKING)
-
raise MSRV to Rust 1.88
The newly published
dua-core3.3 release used by linked-worktree removal
requires Rust 1.88, so raise every workspace crate and the advertised badge
together.Keep the MSRV checks buildable by selecting the latest
sysinfoandrusqlite
release lines that support Rust 1.88.
Commit Statistics
- 22 commits contributed to the release over the course of 32 calendar days.
- 33 days passed between releases.
- 6 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details
- Uncategorized
- Make docs-rs work, and publishing (6de1175)
- Merge pull request #3020 from GitoxideLabs/report-september (5fb3dcf)
- Release gix-error v0.4.0, gix-date v0.17.0, gix-actor v0.43.0, gix-trace v0.2.0, gix-validate v0.12.0, gix-path v0.13.0, gix-utils v0.4.0, gix-quote v0.9.0, gix-command v0.11.0, gix-features v0.50.0, gix-hash v0.27.0, gix-hashtable v0.17.0, gix-fs v0.23.0, gix-tempfile v25.0.0, gix-object v0.65.0, gix-glob v0.28.0, gix-attributes v0.36.0, gix-packetline v0.23.0, gix-filter v0.35.0, gix-chunk v0.9.0, gix-commitgraph v0.40.0, gix-revwalk v0.36.0, gix-traverse v0.62.0, gix-worktree-stream v0.37.0, gix-archive v0.37.0, gix-bitmap v0.5.0, gix-lock v25.0.0, gix-index v0.56.0, gix-config-value v0.20.0, gix-pathspec v0.21.0, gix-ignore v0.23.0, gix-worktree v0.57.0, gix-imara-diff v0.3.0, gix-diff v0.68.0, gix-blame v0.18.0, gix-ref v0.68.0, gix-sec v0.15.0, gix-config v0.61.0, gix-prompt v0.18.0, gix-url v0.39.0, gix-credentials v0.41.0, gix-discover v0.56.0, gix-dir v0.30.0, gix-mailmap v0.35.0, gix-revision v0.50.0, gix-merge v0.21.0, gix-negotiate v0.36.0, gix-note v0.2.0, gix-zlib v0.2.0, gix-pack v0.75.0, gix-odb v0.85.0, gix-macros v0.2.0, gix-refspec v0.46.0, gix-shallow v0.14.0, gix-transport v0.60.0, gix-protocol v0.66.0, gix-status v0.35.0, gix-submodule v0.35.0, gix-worktree-state v0.35.0, gix v0.88.0, gix-fsck v0.26.0, gitoxide-core v0.62.0, gix-tix v0.4.0, gitoxide v0.59.0, safety bump 60 crates (37860b3)
- Merge pull request #2847 from GitoxideLabs/gix-error-completion (6356013)
- Redact unstable values in diagnostic snapshots (faf8510)
- Merge pull request #2999 from GitoxideLabs/sbom (77c8cd9)
- Add configurable CycloneDX and SPDX SBOM generation with
jtt(40b8e5e) - Merge pull request #2989 from GitoxideLabs/error-conversion-review (4b9ff51)
- Merge pull request #2990 from GitoxideLabs/various-improvements (c609062)
- Keep rust workspace tests inside disposable repositories and isolated environments (4e0f8ff)
- Isolate all Git subprocess helpers used by tests (a1834d6)
- Merge pull request #2984 from justonemorenight/fix/config-path-tilde-parity (92b6508)
- Isolate fixtures from inherited Git templates (42c46f4)
- Merge pull request #2982 from mtsgrd/testtools-config-file-isolation (0cd9319)
- Review (bc9185d)
- Keep fixture scripts isolated when they set GIT_CONFIG_COUNT themselves (13d784d)
- Merge pull request #2958 from GitoxideLabs/sign-on-windows (c16300c)
- Merge pull request #2949 from GitoxideLabs/error-conversion-review (a095334)
- Raise MSRV to Rust 1.88 (4b42e0c)
- Merge pull request #2955 from GitoxideLabs/transport-url-encoding (7e35849)
- Release gix-path v0.12.6, gix-error v0.3.2, gix-command v0.10.1, gix-transport v0.59.2 (888677a)
- Merge pull request #2932 from GitoxideLabs/fundamental-types-comp (6704303)