Skip to content

Release v0.2.1

Compare
Choose a tag to compare
@github-actions github-actions released this 17 Oct 06:22
· 293 commits to main since this release
v0.2.1
b9c0933

[0.2.1] - 2021-10-17

Bug Fixes

  • Ignore and warn about unexpected file types
  • dry_sync() had the same behaviours as sync()
  • Application crashes when default config path does not exist
  • Handle hostname_sep occurred in sources array
  • to_non_host_specific did not remove all host-specific suffixes

Documentation

  • Add tip to host-specific syncing
  • Add hyperlink to repository in contributing guide
  • Add head image to home page
  • Deploy as a single page application
  • Fix size of head image
  • Fix typo in sidebar
  • Remove head image due to display error in latest vitepress
  • Add frontmatters to fix __VP_STATIC_START__
  • Add section "error handling"
  • Sync contributing guide with main project
  • Note about behaviours when type of an item is unexpected
  • Switch package manager to pnpm
  • Switch package manager to pnpm
  • Update command line usage example
  • Add more advantages of method "Symlink"
  • Organize command line options/flags into a table
  • Update license section in contributing guide
  • Update host-specific configs

Features

  • Add -v to increase verbosity
  • Infer default config file location when no config is specified
  • Use -q|--quiet to decrease logging verbosity
  • Deny source items that contains hostname_sep

Miscellaneous Tasks

  • Update roadmap
  • Add CODE_OF_CONDUCT.md
  • Add contributing guidelines
  • Add hyperlink to repository in contributing guide
  • Fix typo in README.md
  • Update roadmap
  • Update readme, contributing and roadmap
  • Update roadmap
  • Update example in README.md
  • Update license description
  • Add badge for crates.io to README.md
  • Fix license file name

Refactor

  • Rename struct LocalSyncConfig to LocalGroup
  • Resolve warnings from cargo-clippy
  • Initialize default config with constants
  • Use more idiomatic Rust

Styling

  • Format doc comments
  • Fix typo and add assertion failed info
  • Better logging behaviours with unimplemented file types
  • Make help messages for command line options/flags more coherent

Testing

  • Organize config validation order
  • Deny hostname_sep in basedir
  • Deny empty name/basedir/target
  • Handle when basedir/target/staging exists/is file
  • Fix host-specific basedir handling
  • Deny readonly target and staging paths
  • Deny unreadable source items
  • Restore item permissions after testing