Skip to content

fix: take container and git-scrub from brew on mac - #114

Merged
catinspace-au merged 1 commit into
mainfrom
fix/macos-container-and-tap
Oct 6, 2026
Merged

catinspace-au merged 1 commit into
mainfrom
fix/macos-container-and-tap

Conversation

@catinspace-au

Copy link
Copy Markdown
Contributor

On macOS, Apple container and git-scrub now come from Homebrew, so brew upgrade keeps them current.

  • Apple container comes from the homebrew-core container formula, which has landed the same day as each of Apple's last four releases (1.5.0 on 2026-09-29).
    • The formula needs Apple silicon and macOS 26, so the install is skipped anywhere else.
    • A Mac with the old signed .pkg gets the brew copy first. Then Apple's own uninstall-container.sh -k removes the .pkg files and keeps the user's container data.
  • git-scrub comes from hyperi-io/tap/git-scrub (git-scrub 1.0.2 homebrew-tap#2). The old release-tarball binary in /usr/local/bin is removed first, because on an Intel Mac that is where brew links. Linux keeps the re-fetched release tarball.

Not run on a Mac. Checked with --syntax-check, ansible-lint (0 findings) and hyperi-ci check. Depends on hyperi-io/homebrew-tap#2 merging first.

Done when a Mac gets both tools from brew and the old .pkg and tarball copies are gone.

Apple container now comes from the homebrew-core formula, which tracks Apple's releases the same day, so brew upgrade keeps it current and the signed .pkg fetch is gone. A Mac that already has the .pkg gets the brew copy first, then Apple's own uninstall-container.sh removes the .pkg files and keeps the user's container data. The formula needs Apple silicon and macOS 26, so the install is skipped anywhere else rather than collecting a warning.

git-scrub on macOS now comes from the hyperi-io tap, which each git-scrub release rewrites. The release-tarball binary in /usr/local/bin and its cached tarballs are removed first, because on an Intel Mac that path is where brew links. Linux keeps the re-fetched release tarball.
@catinspace-au
catinspace-au merged commit d1dfc8d into main Oct 6, 2026
18 checks passed
@catinspace-au
catinspace-au deleted the fix/macos-container-and-tap branch October 6, 2026 23:36
@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant