Skip to content

v0.3.0 · Restore shows what it will do

Choose a tag to compare

@github-actions github-actions released this 19 Oct 22:13
· 12 commits to main since this release

Changed

  • Restore looks like backup, in three steps. Source lists every destination with the date of its backup and marks the one being restored. Comparing checks each tool against this machine. Restoring reinstalls only what you picked.
  • Only what differs. Tools that already match the backup are left alone. If nothing differs, restore says so and stops. --only still restores what you name.
  • What will be done, before it is done. Each difference becomes an action: "install v20.19.6", "change version manager: system → nvm", "replace ~/.zshrc". Press Enter to restore all of it, or E to pick tools from a checklist. With -y, it restores the tools that differ.
  • A line per tool at the end, restored or not, after the installers' output.
  • dudu status names things as you know them: iterm2 (cask) instead of "Brewfile changed", and "version manager: nvm → system".

Fixed

  • A long spinner line no longer floods the screen. On a narrow terminal, "Fetching the newest backup…" wrapped and was redrawn over and over. Spinner labels are now cut to the terminal width.

Install or update

brew install fontnelle/tap/dudu            # new install
brew update && brew upgrade dudu           # update
curl -fsSL https://raw.githubusercontent.com/fontnelle/dudu/main/install.sh | bash   # without Homebrew

Full Changelog: v0.2.2...v0.3.0