Recent Releases of https://github.com/blurgyy/dt

https://github.com/blurgyy/dt - v0.7.10

[0.7.9] - 2022-06-08

Bug Fixes

  • Don't abort with ConfigError if dir to be created already exists

Documentation

  • Outdated API doc for Registry::get()
  • Fix typos
  • Update key references

Miscellaneous Tasks

  • Fix typos
  • Add typos checking config for documentation
  • Minor adjustment to error message

Styling

  • Format code with textwidth=100

Testing

  • Update as per commit 71ae07e349f673b3b081cb754d1b198b61a89fc7

Build

  • Strip installed binary

Ops

  • Check typos with crate-ci/typos
  • Also check typos in documentation
  • Remove unused exclude entry for checking typos

- Rust
Published by github-actions[bot] over 3 years ago

https://github.com/blurgyy/dt - v0.7.9

[0.7.9] - 2022-06-08

Bug Fixes

  • Don't abort with ConfigError if dir to be created already exists

Documentation

  • Outdated API doc for Registry::get()
  • Fix typos
  • Update key references

Miscellaneous Tasks

  • Fix typos
  • Add typos checking config for documentation
  • Minor adjustment to error message

Styling

  • Format code with textwidth=100

Testing

  • Update as per commit 71ae07e349f673b3b081cb754d1b198b61a89fc7

Build

  • Strip installed binary

Ops

  • Check typos with crate-ci/typos
  • Also check typos in documentation
  • Remove unused exclude entry for checking typos

- Rust
Published by github-actions[bot] almost 4 years ago

https://github.com/blurgyy/dt - v0.7.8

[0.7.8] - 2022-04-15

Bug Fixes

  • Wrong help messages for helpers
  • Unrenderable sources were not registered into registry

Documentation

  • Adjust formatting in helpers' API docs and usage messages
  • Add API docs for helper if_os and unless_os

Features

  • Config renderablility globally or per-group explicitly
  • Allow conditioning on os-release info with if_os and unless_os helpers

Miscellaneous Tasks

  • Update log messages and documentation for the new renderable key

Performance

  • Lazy load non-renderable files

Styling

  • Reuse helper's help strings internally

Testing

  • Add tests for helpers if_os and unless_os

- Rust
Published by github-actions[bot] about 4 years ago

https://github.com/blurgyy/dt - v0.7.7

[0.7.7] - 2022-04-05

Bug Fixes

  • Do not silently pass unreadable sources while initializing registry

Documentation

  • Add examples for using arrays in [context] to match attributes
  • Add mandatory double quotes for usage examples for helpers

Features

  • Template a group if any component of its name exists as a context key
  • Match negated (list of) elements in block helpers
  • Allow arrays from templating contexts to serve as conditions

Miscellaneous Tasks

  • [breaking] Change for_XX helper names to if_XX
  • Resolve warnings generated by cargo-clippy

Performance

  • Minor optimization when matching condition is an array

Refactor

  • Remove negated matching in block helpers
  • Move negated matching to separate helpers
  • Prepare for unit testing of helpers

Testing

  • Add unit tests for templating helpers
  • Use deterministic dummy functions for tests

- Rust
Published by github-actions[bot] about 4 years ago

https://github.com/blurgyy/dt - v0.7.6

[0.7.6] - 2022-03-27

Bug Fixes

  • Better error message while creating directory over existing file

- Rust
Published by github-actions[bot] about 4 years ago

https://github.com/blurgyy/dt - v0.7.5

[0.7.5] - 2022-03-16

Features

  • Determine config path from environment variables (#2)

Miscellaneous Tasks

  • Move help messages to doc comments

Refactor

  • Handle panics occurred during inferring config path

- Rust
Published by github-actions[bot] about 4 years ago

https://github.com/blurgyy/dt - v0.7.4

[0.7.4] - 2022-03-06

Bug Fixes

  • Error occurred during setting permissions no longer aborts program

Features

  • Add key ignore_failure to treat syncing errors as warnings
  • Add block helpers for_user and for_uid
  • Add block helper for_host

Miscellaneous Tasks

  • Remove unused use in module item

Performance

  • Registry cache was not utilized

Refactor

  • Use to_string_lossy to convert OsStr to str across codebase

Styling

  • Log single-line verbose messages at level "debug"

- Rust
Published by github-actions[bot] about 4 years ago

https://github.com/blurgyy/dt - v0.7.3

[0.7.3] - 2022-02-24

Bug Fixes

  • Restore checks for remote groups
  • Type of Group::sources was non-generic

Documentation

  • Resolve dead links in API docs

Features

  • Allow hierarchical subgroups delimitered with slashes in name of groups
  • Filter groups hierarchically via command line

Refactor

  • Provide no default impl in trait DTItem
  • Restrict group's generic parameter with bound Operate
  • Provide no default impl in trait DTRegistry
  • Render templates before modifying the file system
  • Take ownership for methods that return Self

Styling

  • Rename trait DTItem to Operate
  • Rearrange order of struct definitions in config.rs
  • Update doc comments

- Rust
Published by github-actions[bot] over 4 years ago

https://github.com/blurgyy/dt - v0.7.2

[0.7.2] - 2022-02-14

Bug Fixes

  • Program panicked with non-existent relative staging/target path

Documentation

  • Escape angled brackets in API docs

Features

  • Pass no argument to helper get_mine to get hostname

Testing

  • Check base's read permission in module config

- Rust
Published by github-actions[bot] over 4 years ago

https://github.com/blurgyy/dt - v0.7.1

[0.7.1] - 2022-02-04

Bug Fixes

  • Host-specific item can sometimes be populated twice to destination

Documentation

  • Fix highlighted lines in config example
  • Fix broken links in API docs

Features

  • Add built-in helper get-mine to retrieve value for current host
  • Add array of remote groups to DTConfig
  • Abort on base/target/staging being the same
  • Treat empty paths in stating/base/target as .

Miscellaneous Tasks

  • Update roadmap

Refactor

  • Make Group a generic type to prepare for remote groups

Styling

  • Remove redundant commas and format comments

Testing

  • Make unit tests self-contained
  • Allow empty base to be present in config files
  • Refactor config tests that need filesystem access into config.rs

Ops

  • Run tests on aarch64, armv7 and x86_64 architectures

Reafactor

  • [breaking] Rename basedir to base and LocalGroup to Group

- Rust
Published by github-actions[bot] over 4 years ago

https://github.com/blurgyy/dt - v0.7.0

[0.7.0] - 2022-01-25

Bug Fixes

  • Copy source file's permissions to destination
  • Non-existent target path's permission was read when symlinking

Documentation

  • Add explanation of a "group"
  • Proof-read API docs
  • Add examples for the templating feature

Features

  • Add templating utility via [context] section in config file

Miscellaneous Tasks

  • Remove unused clippy exclude macro
  • Remove unused clippy exclude macro
  • Better error message when encoutering unreadable a source item
  • Fix typo "conig" -> "config"

Refactor

  • Try to avoid rendering on binary files
  • Use handlebars instead of minijinja as templating engine
  • Make method DTConfig::expand_tilde behave functionally
  • Minor optimization on staging directory check
  • Infer default values for [global] section from helper types
  • Register templates into a global registry for later rendering
  • Drop templated config key, check is_templated on the fly
  • Deserialize scope key as default value when it's not present

Styling

  • Resolve cargo-clippy warnings

Ops

  • Run tests on all branches except for branch "docs"

- Rust
Published by github-actions[bot] over 4 years ago

https://github.com/blurgyy/dt - v0.6.3

[0.6.3] - 2022-01-15

Bug Fixes

  • Staging path did not contain group name as namespace

Documentation

  • Bump dependencies

- Rust
Published by github-actions[bot] over 4 years ago

https://github.com/blurgyy/dt - v0.6.2

[0.6.2] - 2022-01-15

Documentation

  • Bump to v0.6.1
  • Wrong link name and broken link due to line breaking
  • Update descriptions for default staging directory

Miscellaneous Tasks

  • Simplify function calls in dt-cli

Performance

  • Reimplement item populating as a method from trait DTItem
  • Reimplement item populating (dry run) as a method from DTItem

Build

  • Update color-eyre requirement in /dt-core

Ops

  • Strip "linux" from names of released binaries
  • Use armv7 as architecture name for armv7 builds

- Rust
Published by github-actions[bot] over 4 years ago

https://github.com/blurgyy/dt - v0.6.1

[0.6.1] - 2022-01-05

Documentation

  • Update example for scope in API docs for dt-core
  • Add documentations for the rename key
  • Better illustration structure for introduction of filename manip.
  • Add missing long option for showing version info

Features

  • Allow groups to have duplicated names to enable finer control

Miscellaneous Tasks

  • Only include executable crates in "command-lint-utilities" category
  • Use XDGDATAHOME instead of XDGCACHEHOME to store staged items
  • Remove duplicated keywords from dt-cli/Cargo.toml

Performance

  • Reduce cloning operations when trying to get groups' attributes

Styling

  • Quote path in tracing message when renaming items

Ops

  • Use only tag as release name
  • Remove all symbols with strip
  • Release binaries for armv7l and aarch64

- Rust
Published by github-actions[bot] over 4 years ago

https://github.com/blurgyy/dt - Release v0.6.0

[0.6.0] - 2021-12-26

Features

Documentation

  • Revise API docs for regex matching and replacing utility
  • Default staging path was ambiguous in configuration guide

Styling

  • Make tracing information for match and replace more readable

- Rust
Published by github-actions[bot] over 4 years ago

https://github.com/blurgyy/dt - Release v0.5.2

[0.5.2] - 2021-12-16

Bug Fixes

  • Attempted to read staging file even if it did not exist

Documentation

  • Use larger open graph title image
  • Bump dependencies
  • Update text in header link
  • Bump dependencies
  • Add "^/features" to activeMatched paths for header "Overview"

Miscellaneous Tasks

  • Use comprehensive command line argument name

Styling

  • Resolve warnings generated by cargo-clippy

- Rust
Published by github-actions[bot] over 4 years ago

https://github.com/blurgyy/dt - Release v0.5.1

[0.5.1] - 2021-12-06

Performance

  • Skip overwriting destination files with identical contents as src

Documentation

  • Update docs domain to dt.cli.rs (Thanks @zackify for the awesome repo cli.rs)
  • Fix repository link in package.json
  • Add comprehensive documentations for the scope key
  • Move config examples of scope into hands-on guide
  • Add action link to quickly skip background subsection
  • Fix typos, add emphasizes, and improve grammars
  • Bump dependencies

Miscellaneous Tasks

Ops

  • Include build arch in file name of released binary

- Rust
Published by github-actions[bot] over 4 years ago

https://github.com/blurgyy/dt - Release v0.5.0

[0.5.0] - 2021-11-26

Features

  • Specify optional desired group names without -l|--local-name

Bug Fixes

  • Not all bad globbing patterns were considered
  • Do not create staging directory when method is not "Symlink"
  • Should use target to determine conflicting groups

Documentation

  • Review API docs for DTScope
  • Update structure of documentation home page

Miscellaneous Tasks

  • Rephrase readme
  • Add missing punct in readme
  • Fix git clone remote in readme
  • Update roadmap

Ops

  • Include version info in file name of released binary

- Rust
Published by github-actions[bot] over 4 years ago

https://github.com/blurgyy/dt - Release v0.4.0

[0.4.0] - 2021-11-16

Features

  • Add priority control via the scope key

Performance

  • Only expand groups that are to be synced when -l is passed
  • Reduce useless fs operations by checking properly set symlinks

Bug Fixes

  • Do not try to read non-existent basedir
  • Method Copy did not work properly when target is a symlink
  • Do not create missing staging/target directory during dry run

Documentation

  • Add missing description and tests for DTItem::make_target
  • Strip redundant line

Miscellaneous Tasks

  • Bump dt-core version for dt-cli
  • Update roadmap
  • Remove unit test instructions
  • Update roadmap
  • Update readme

Refactor

  • Handle group name filtering before passing config to dt-core

Styling

  • Remove "Syncing" in log message throughout syncing

Testing

  • Add unit tests for priority controlling
  • Avoid boilerplate code in doc tests

Build

  • Minimize released binary size

- Rust
Published by github-actions[bot] over 4 years ago

https://github.com/blurgyy/dt - Release v0.3.1

[0.3.1] - 2021-11-06

Bug Fixes

  • Show error message about unreadable basedir

Documentation

  • Complete API docs of dt-core

Features

  • Manage item behaviours with trait DTItem
  • Only attempt to remove existing target/staging file when they are readonly
  • Warn about source that does not match anything

Refactor

  • Provide error types from dt-core
  • Make target path via trait DTItem
  • Remove useless condition
  • Use ! to negate boolean
  • Resolve warnings generated by cargo clippy

Styling

  • Resolve warnings generated by cargo-clippy
  • Quote paths in panic messages
  • Add trailing comma after last parameters of macros

Testing

  • Cover cases introduced from 8ccada2
  • Also clean up dummy file when test fails

Build

  • Add licenses to released assets

- Rust
Published by github-actions[bot] over 4 years ago

https://github.com/blurgyy/dt - Release v0.3.0

[0.3.0] - 2021-10-27

Features

  • Use $XDG_CONFIG_HOME/dt/cli.toml as default config for dt-cli, fallback to $XDG_CONFIG_HOME/dt/config.toml
  • Pass -l|--local-name to specify name of group(s) to be processed E.g.: Command dt-cli -lSSH -lGPG -lNeovim will sync only groups with name that is either SSH, GPG, Neovim, and warn about unrecognized group names.

Documentation

  • Prettify code example in docs
  • Update command line flags and options

Miscellaneous Tasks

  • Use Rust version 2021
  • Fix typo in roadmap
  • Update readme

Refactor

  • Infer default config path in dt-core::utils

Styling

  • Log which config file is used in dt-cli
  • Better logging messages
  • Wrap comments with rustfmt

Testing

  • Update globbing test to account for "dt-server"

Build

  • Lock dependencies in continuous integration pipelines

- Rust
Published by github-actions[bot] over 4 years ago

https://github.com/blurgyy/dt - Release v0.2.1

[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 __VPSTATICSTART__
  • 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 CODEOFCONDUCT.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

- Rust
Published by github-actions[bot] over 4 years ago

https://github.com/blurgyy/dt - Release v0.1.0

Initial release, no changelog here.

See documentation at https://dt-cli-docs.blurgy.xyz for usage!

- Rust
Published by github-actions[bot] over 4 years ago