github Byron/gitoxide git-testtools-v0.10.0
git-testtools v0.10.0

21 months ago

New Features

  • allow execution of scripts without 'bash'.
    This works by trying to execute the file directly, and on failure, use 'bash'
    as interpreter.

    That way we are finally able to support a wider variety of fixture generators
    and make the crate more useful to a wieder audience.

  • spawn_git_daemon() to spawn a git daemon hosting a working directoy…
    …with support for multiple at a time thanks to port selection (allowing
    tests to run in parallel) as well as auto-kill on drop.

  • increase the waiting time on MacOS for file base locks
    It appears that these workers run into timeouts more and more,
    they got slower or maybe there are just more tests.

  • add Env::unset() for convenience

Bug Fixes

  • don't overwrite unexpanded git-lfs pointer files.
    It's possible for those with incomplete git-lfs installations
    (and many more situations) to end up in a spot where pointer files
    aren't expanded. If we overwrite the with archives, files look
    changed which can be confusing and lead to even bigger messes
    to happen.

    Now we don't overwrite those files anyomre.

  • Disable tag.gpgSign in test scripts
    This is done for the same reason that commit.gpgsign is disabled for test
    scripts. It prevents test failures if the user has tag.gpgsign enabled in
    their global git config when invoking tests.

Changed (BREAKING)

  • rename scripted_fixture_* to not contain 'repo' in the name.
    Further make clear in the documentation that bash is used to execute
    the fixture scripts, previously it wasn't even implied and got
    lost in history.

New Features (BREAKING)

  • upgrade edition to 2021 in most crates.
    MSRV for this is 1.56, and we are now at 1.60 so should be compatible.
    This isn't more than a patch release as it should break nobody
    who is adhering to the MSRV, but let's be careful and mark it
    breaking.

    Note that git-features and git-pack are still on edition 2018
    as they make use of a workaround to support (safe) mutable access
    to non-overlapping entries in a slice which doesn't work anymore
    in edition 2021.

Commit Statistics

  • 35 commits contributed to the release over the course of 98 calendar days.
  • 98 days passed between releases.
  • 8 commits were understood as conventional.
  • 3 unique issues were worked on: #450, #607, #650

Thanks Clippy

Clippy helped 2 times to make code idiomatic.

Commit Details

view details
  • #450
    • add Env::unset() for convenience (09da4c5)
  • #607
    • don't overwrite unexpanded git-lfs pointer files. (761b7d7)
    • improve documentation to inform about the need for git-lfs. (519db50)
  • #650
    • allow execution of scripts without 'bash'. (15ecd84)
    • rename scripted_fixture_* to not contain 'repo' in the name. (dbf6c8c)
  • Uncategorized
    • Release git-date v0.3.1, git-features v0.25.0, git-actor v0.15.0, git-glob v0.5.1, git-path v0.7.0, git-attributes v0.7.0, git-config-value v0.10.0, git-lock v3.0.1, git-validate v0.7.1, git-object v0.24.0, git-ref v0.21.0, git-sec v0.6.0, git-config v0.13.0, git-prompt v0.3.0, git-url v0.12.0, git-credentials v0.8.0, git-diff v0.24.0, git-discover v0.10.0, git-traverse v0.20.0, git-index v0.10.0, git-mailmap v0.7.0, git-pack v0.28.0, git-odb v0.38.0, git-packetline v0.14.1, git-transport v0.24.0, git-protocol v0.25.0, git-revision v0.8.0, git-refspec v0.5.0, git-worktree v0.10.0, git-repository v0.30.0, safety bump 26 crates (e6b9906)
    • Merge branch 'adjustments-for-cargo' (083909b)
    • thanks clippy (f1160fb)
    • Release git-hash v0.10.1, git-hashtable v0.1.0 (7717170)
    • Merge branch 'main' into http-config (bcd9654)
    • Release git-hash v0.10.0, git-features v0.24.0, git-date v0.3.0, git-actor v0.14.0, git-glob v0.5.0, git-path v0.6.0, git-quote v0.4.0, git-attributes v0.6.0, git-config-value v0.9.0, git-tempfile v3.0.0, git-lock v3.0.0, git-validate v0.7.0, git-object v0.23.0, git-ref v0.20.0, git-sec v0.5.0, git-config v0.12.0, git-command v0.2.0, git-prompt v0.2.0, git-url v0.11.0, git-credentials v0.7.0, git-diff v0.23.0, git-discover v0.9.0, git-bitmap v0.2.0, git-traverse v0.19.0, git-index v0.9.0, git-mailmap v0.6.0, git-chunk v0.4.0, git-pack v0.27.0, git-odb v0.37.0, git-packetline v0.14.0, git-transport v0.23.0, git-protocol v0.24.0, git-revision v0.7.0, git-refspec v0.4.0, git-worktree v0.9.0, git-repository v0.29.0, git-commitgraph v0.11.0, gitoxide-core v0.21.0, gitoxide v0.19.0, safety bump 28 crates (b2c301e)
    • Merge branch 'git-lfs-improvements' (4c1685b)
    • Merge branch 'jpgrayson/main' (b242853)
    • Disable tag.gpgSign in test scripts (1ce3190)
    • Merge branch 'version2021' (0e4462d)
    • upgrade edition to 2021 in most crates. (3d8fa8f)
    • Release git-glob v0.4.2, git-config-value v0.8.2, git-lock v2.2.0, git-ref v0.19.0, git-config v0.11.0, git-discover v0.8.0, git-index v0.8.0, git-transport v0.22.0, git-protocol v0.23.0, git-worktree v0.8.0, git-repository v0.28.0, gitoxide-core v0.20.0, gitoxide v0.18.0, safety bump 9 crates (0c253b1)
    • Merge branch 'main' into http-config (f4ff821)
    • Merge branch 'async-fetch' (0c9c48b)
    • let's be very conservative regarding maximum lock times (ba83945)
    • This should work on windows (when launching the git-daemon) (52f4095)
    • Make sure we can shut-down the daemon by starting it directly (4924b33)
    • spawn_git_daemon() to spawn a git daemon hosting a working directoy… (221f137)
    • Release git-features v0.23.1, git-glob v0.4.1, git-config-value v0.8.1, git-tempfile v2.0.6, git-object v0.22.1, git-ref v0.18.0, git-sec v0.4.2, git-config v0.10.0, git-prompt v0.1.1, git-url v0.10.1, git-credentials v0.6.1, git-diff v0.21.0, git-discover v0.7.0, git-index v0.7.0, git-pack v0.25.0, git-odb v0.35.0, git-transport v0.21.1, git-protocol v0.22.0, git-refspec v0.3.1, git-worktree v0.7.0, git-repository v0.26.0, git-commitgraph v0.10.0, gitoxide-core v0.19.0, gitoxide v0.17.0, safety bump 9 crates (d071583)
    • Merge branch 'main' into write-sparse-index (upgrade to Rust 1.65) (5406630)
    • thanks clippy (04cfa63)
    • Merge branch 'main' into write-sparse-index (c4e6849)
    • Merge branch 'gix-clone' (def53b3)
    • Assure the 'file' protocol is always allowed (7086101)
    • Release git-hash v0.9.11, git-features v0.23.0, git-actor v0.13.0, git-attributes v0.5.0, git-object v0.22.0, git-ref v0.17.0, git-sec v0.4.1, git-config v0.9.0, git-url v0.10.0, git-credentials v0.6.0, git-diff v0.20.0, git-discover v0.6.0, git-traverse v0.18.0, git-index v0.6.0, git-mailmap v0.5.0, git-pack v0.24.0, git-odb v0.34.0, git-packetline v0.13.1, git-transport v0.21.0, git-protocol v0.21.0, git-revision v0.6.0, git-refspec v0.3.0, git-worktree v0.6.0, git-repository v0.25.0, safety bump 24 crates (104d922)
    • Merge branch 'main' into new-http-impl (702a161)
    • Merge branch 'fetch-pack' (3c49400)
    • Merge branch 'main' into fetch-pack (93917cb)
    • increase the waiting time on MacOS for file base locks (67777a8)
    • Merge branch 'diff' (25a7726)

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.