Repository navigation
Fresh-Mac installer with tool profiles - #16
Merged
Merged
Conversation
tools.txt lists each tool's Homebrew packages, stow package, needs, and profiles. install.sh resolves a selection from it (--profile, --only, --skip, --pick), remembers it per machine in the gitignored tools.local, installs missing packages, backs up anything in the way, and stows. Co-authored-by: drewjsdev <drewjsdev@pm.me>
The full job removes the runner's Homebrew and installs everything through the curl bootstrap. The subset job installs --only nvim,skhd over the preinstalled Homebrew. verify-install.sh seeds conflicting files, then checks packages, links, backups, that nothing outside the selection is installed or linked, and that a bare rerun changes nothing by before/after snapshot. Co-authored-by: drewjsdev <drewjsdev@pm.me>
Co-authored-by: drewjsdev <drewjsdev@pm.me>
Co-authored-by: drewjsdev <drewjsdev@pm.me>
Co-authored-by: drewjsdev <drewjsdev@pm.me>
Co-authored-by: drewjsdev <drewjsdev@pm.me>
Save --profile, --only, and --skip at ~/Library/Application Support/dotfiles/selection so a bare rerun and a re-clone repeat that request. Add --audit, and export HOMEBREW_NO_AUTO_UPDATE=1 so a brew install does not refresh Homebrew. Co-authored-by: drewjsdev <drewjsdev@pm.me>
ReviewSolid work. The manifest design, bash 3.2 discipline, backup-not-delete behavior, and the black-box CI verifier are all good. I read the diff only and did not run it. Findings below, most important first. Issues
CI / cost
Minor
TestsGood coverage of full and subset installs, rerun no-op, backups, 🤖 Generated with Claude Code |
drewjs
marked this pull request as ready for review
October 17, 2026 23:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before: packages are stowed by hand, and there is no installer.
After: one command installs the chosen tools and stows only those configs.
Base is the manifest registry. Grafts are the external selection file,
--audit, andHOMEBREW_NO_AUTO_UPDATE=1. Chezmoi and per-tool cards were rejected.On a Mac that already has configs, a conflicting file or a symlink that does not already point into this checkout is moved aside and that path is replaced by the repo link (or by a real directory, when a directory symlink was in the way). Nothing is deleted. The previous file or symlink is kept under
~/.dotfiles-backup/<YYYYmmdd-HHMMSS>-<pid>/. Links that already point into this checkout are left alone. Deselecting a tool does not unlink or uninstall it.