From 9ab5eb820f5f4f99a009576122674f719827e05c Mon Sep 17 00:00:00 2001 From: mainframev Date: Sun, 25 Oct 2026 02:30:41 +0100 Subject: [PATCH 1/8] chore(install): run brew bundle verbosely Show per-package progress so a failing Brewfile entry is visible in the installer output. --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index b09eccb..6435202 100755 --- a/install.sh +++ b/install.sh @@ -433,14 +433,14 @@ install_brew_packages() { print_error "Could not read casks from Brewfile: $BREWFILE" return 1 fi - if ! HOMEBREW_DOWNLOAD_CONCURRENCY=1 HOMEBREW_NO_INSTALL_CLEANUP=1 HOMEBREW_BUNDLE_CASK_SKIP="${casks//$'\n'/ }" brew bundle --jobs=1 --file="$BREWFILE"; then + if ! HOMEBREW_DOWNLOAD_CONCURRENCY=1 HOMEBREW_NO_INSTALL_CLEANUP=1 HOMEBREW_BUNDLE_CASK_SKIP="${casks//$'\n'/ }" brew bundle --jobs=1 --verbose --file="$BREWFILE"; then print_error "Homebrew failed to install CLI packages from: $BREWFILE" return 1 fi print_success "CLI packages installed" else print_header "Installing all packages from Brewfile..." - if ! HOMEBREW_DOWNLOAD_CONCURRENCY=1 HOMEBREW_NO_INSTALL_CLEANUP=1 brew bundle --jobs=1 --file="$BREWFILE"; then + if ! HOMEBREW_DOWNLOAD_CONCURRENCY=1 HOMEBREW_NO_INSTALL_CLEANUP=1 brew bundle --jobs=1 --verbose --file="$BREWFILE"; then print_error "Homebrew failed to install packages from: $BREWFILE" return 1 fi From 55fb34ee50ef04f9f3a03a698ce5efd6851dd729 Mon Sep 17 00:00:00 2001 From: mainframev Date: Sun, 25 Oct 2026 02:30:41 +0100 Subject: [PATCH 2/8] refactor(install): drop Stow-era migration steps Every machine has been migrated to dotstate, so link_dotfiles no longer needs to move pre-dotstate state or unfold Stow directory links. --- install.sh | 66 +----------------------------------------------------- test.sh | 15 ++++--------- 2 files changed, 5 insertions(+), 76 deletions(-) diff --git a/install.sh b/install.sh index 6435202..e9595e7 100755 --- a/install.sh +++ b/install.sh @@ -642,69 +642,8 @@ install_dotstate() { print_success "dotstate installed to ~/.local/bin" } -# Move untracked state left at pre-dotstate paths (e.g. .config/zsh/secrets.zsh, -# herdr sessions, tmux plugins) into the common/ or macos/ directory that is now -# linked in its place. Apps the manifest does not link (no such directory under -# common/ or a profile) stay put. -migrate_legacy_state() { - [ -d "$DOTFILES/.config" ] || return 0 - - local app dir - for app in "$DOTFILES"/.config/*/; do - app="$(basename "$app")" - for dir in common macos linux; do - if [ -d "$DOTFILES/$dir/.config/$app" ]; then - merge_legacy_dir "$DOTFILES/.config/$app" "$DOTFILES/$dir/.config/$app" ".config/$app" - break - fi - done - done - - find "$DOTFILES/.config" -depth -type d -empty -delete -} - -# Move every entry of $1 into $2 without replacing anything already there. -# Usage: merge_legacy_dir