From d37735654bd55ab61500ce487f911b28d00ad36c Mon Sep 17 00:00:00 2001 From: Rick Bouma Date: Thu, 27 Aug 2026 01:31:55 +0200 Subject: [PATCH] fix: use mutagen-io brew tap for Mutagen install The havoc-io/mutagen tap is no longer available, so `roll sync` failed to auto-install Mutagen on macOS. Point the install and upgrade hints at the current mutagen-io/mutagen tap. Also fail fast when the brew install does not succeed, surfacing the `brew trust mutagen-io/mutagen` step recent Homebrew versions require for third-party taps, instead of falling through to a confusing version check. Co-Authored-By: Claude Opus 5 (1M context) --- commands/sync.cmd | 8 ++++++-- docs/installing.md | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/commands/sync.cmd b/commands/sync.cmd index 4a2d492..adb0d98 100644 --- a/commands/sync.cmd +++ b/commands/sync.cmd @@ -16,7 +16,11 @@ fi ## attempt to install mutagen if not already present if ! which mutagen >/dev/null; then echo -e "\033[33mMutagen could not be found; attempting install via brew.\033[0m" - brew install havoc-io/mutagen/mutagen + if ! brew install mutagen-io/mutagen/mutagen; then + error "Failed to install Mutagen via brew." + >&2 printf "\nIf brew refused to load the formula from an untrusted tap, run:\n\n brew trust mutagen-io/mutagen\n brew install mutagen-io/mutagen/mutagen\n\n" + exit 1 + fi fi ## verify mutagen version constraint @@ -24,7 +28,7 @@ MUTAGEN_VERSION=$(mutagen version 2>/dev/null) || true MUTAGEN_REQUIRE=0.11.8 if [[ $OSTYPE =~ ^darwin ]] && ! test $(version ${MUTAGEN_VERSION}) -ge $(version ${MUTAGEN_REQUIRE}); then error "Mutagen version ${MUTAGEN_REQUIRE} or greater is required (version ${MUTAGEN_VERSION} is installed)." - >&2 printf "\nPlease update Mutagen:\n\n brew upgrade havoc-io/mutagen/mutagen\n\n" + >&2 printf "\nPlease update Mutagen:\n\n brew upgrade mutagen-io/mutagen/mutagen\n\n" exit 1 fi diff --git a/docs/installing.md b/docs/installing.md index bdb0a98..5e24442 100644 --- a/docs/installing.md +++ b/docs/installing.md @@ -5,7 +5,7 @@ * [Docker Desktop for Mac](https://hub.docker.com/editions/community/docker-ce-desktop-mac) 2.2.0.0 or later or [Docker for Linux](https://docs.docker.com/install/) or [Docker for Windows](https://docs.docker.com/desktop/windows/install/) * `docker-compose` version 2.0 or later is required (this can be installed via `brew`, `apt`, `dnf`, or `pip3` as needed) -* [Mutagen](https://mutagen.io/) 0.11.4 or later is required for environments leveraging sync sessions on Mac OS. RollDev will attempt to install this via `brew` if not present. +* [Mutagen](https://mutagen.io/) 0.11.4 or later is required for environments leveraging sync sessions on Mac OS. RollDev will attempt to install this via `brew install mutagen-io/mutagen/mutagen` if not present. Recent Homebrew versions refuse formulae from untrusted third-party taps; if the install is blocked, run `brew trust mutagen-io/mutagen` first. :::{warning} **By default Docker Desktop for Mac allocates 2GB memory.**