Skip to content

Tuckr 0.11.0

Latest
Compare
Choose a tag to compare
@RaphGL RaphGL released this 02 Feb 17:34
· 6 commits to master since this release

Additions

  • System specific cache files such as .DS_Store on MacOS, Thumbs.db and .Trash-* are ignored, thus avoiding false flags when detecting conflicting files and avoiding littering your repos when doing commands such as tuckr push
  • Group names are now validated to prevent crashes and erroneous behavior. All group names that would be rejected by the file system on Windows, MacOS and Unix-like systems are now considered erroneous and rejected by tuckr. This might be "limiting" but it guarantees the program always works correctly
  • Hooks are now aware of conditional groups as well for convenience and consistency's sake
  • Added missing -y flag on add and rm commands
  • Added unset command, this command runs a hook prefixed with rm before removing the group
  • Added TUCKR_HOME and TUCKR_TARGET to override the default tuckr assumptions for where dotfiles are and where they are going to be linked into. TUCKR_HOME is the parent directory of your dotfiles directory and TUCKR_TARGET is the directory base directory from which all dotfiles are symlinked, by default it's $HOME (%USERPROFILE% on windows)
  • Dotfile groups now fallback when a conditional group has the same file. This allows for overriding dotfiles for a specific platform

Fixes

  • tuckr groupis no longer stops if a single check fails:
    Previously if a command like tuckr groupis file1 file2 file3 was run and file2 was not in any group the command would stop the checks altogether. Now it will continue checking until the end.
  • The symlinking step of running a hook is skipped for hooks that don't have a corresponding Configs group, this prevents the hook from being interrupted needlessly

Removal

  • Removed the from-stow command, as it assumed that you were using stow in the same way I did (grouping dotfiles by program at the top level of a dotfiles repo), so if your stow repo was setup differently, tuckr from-stow would just result in a tuckr repo that cannot fully take advantage of the group tracking/validation. So I've decided to remove the command and force users to manually convert their repos to tuckr as documented on the readme and the wiki.