Skip to content

v0.8.0

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Jun 02:15
v0.8.0
a553a48

Added

  • Add man page entries for command-set.
  • Add crate::cluster::Cluster::match_targets to perform shell glob matching
    on cluster entries.
  • Add GitFixture in test suite to make it easier to test crate::store::Root
    and crate::store::Node.
  • Add binary deployment workflow to deploy release binaries of project through
    GitHub actions.

Changed

  • Restructured cluster definition layout.
    • Each entry of a cluster gets a separate configuration file entry.
    • Root entry configuration is now in $XDG_CONFIG_HOME/ocd/root.toml.
    • Node entry configurations are now in $XDG_CONFIG_HOME/ocd/nodes/<name>.toml
    • OCD will not modify cluster definition data anymore.
  • Move cluster configuration logic from crate::model to crate::model::cluster.
  • Move command hook logic from crate::model to crate::model::hook.
  • Simplify repository management logic by refactoring crate::store::Git to
    crate::store::RepoEntry with builder pattern.
  • Replace old configuration file management logic with config crate API.
  • Move integration test cases out into tests/ directory.
  • Move website data, i.e., blog posts, usage guide, etc., from GitHub pages site
    in docs/ to personal self-hosted site at https://www.awkless.com.

Fixed

  • Fix broken URL links in API documentation.
  • Fix grammar in CLI text.
  • Fix bug where excluded files would not get undeployed properly with
    --excluded-only flag for undeloy command.
  • Fix bug where initializing root fails, because default configuration uses an
    empty working directory alias path.
  • Fix targeting feature of hook system for rm command.

Removed

  • Remove fs module, because of using config crate.
  • Remove error variant logic in favor of just using anyhow crate.
  • Remove format preservation logic in crate::model::cluster::Cluster.