Skip to content

v0.1.7

Choose a tag to compare

@joeinnes joeinnes released this 07 Mar 09:52
5c8e301

Fix cow sync name parsing, Linux materialise reflink, and test coverage improvements.

Patch release fixing two bugs — a silent mismatch in cow sync argument parsing and missing Linux support in cow materialise — plus a major expansion of the integration test suite.

Bug fixes

  • fix cow sync <name> — the positional pasture name was silently assigned to source_branch instead of name due to swapped clap annotations in SyncArgs. The command fell back to resolving the pasture from the current working directory, targeting the wrong pasture. Fixed by making name the bare positional argument and source_branch a --source-branch flag (consistent with all other commands).
  • fix cow materialise on Linux — the materialise command lacked a Linux implementation, causing a compile error on non-macOS targets. Now uses cp --reflink=always with graceful fallback to a plain cp -R (matching cow create behaviour).

Internal

  • test Integration test coverage improved from 78% to 87.6%. Dedicated test suites added for gc, stats, materialise, migrate, and fetch-from, covering the main happy paths and key error branches in each command.