You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(dist): Homebrew formula for macOS/Linux with polylogue + polylogued + polylogue-mcp #1237
Per the umbrella's strengthening pass: "Homebrew/cask: only after Python/Nix install contracts are stable." This issue is unblocked once the PyPI workflow (#TBD) ships, since the formula installs from the PyPI wheel rather than re-building from source.
Decision: formula (not cask) since polylogue is CLI-only, not a GUI app. Both macOS and Linuxbrew supported.
Files affected
New tap repo: homebrew-tap (separate repo at github.com/Sinity/homebrew-tap) — Formula/polylogue.rb
.github/workflows/homebrew-bump.yml (new in this repo) — trigger on tag, opens PR against the tap repo
docs/installation.md — Homebrew section
Acceptance criteria
Formula installs from PyPI sdist (url "https://files.pythonhosted.org/packages/source/p/polylogue/polylogue-X.Y.Z.tar.gz")
Three binaries installed: polylogue, polylogued, polylogue-mcp
Formula declares Python dependency (depends_on "[email protected]") and uses virtualenv_install_with_resources
brew test polylogue runs polylogue --version and asserts exit 0
brew audit --strict --online polylogue clean
Tap repo README documents brew tap sinity/tap && brew install polylogue
On tag push, homebrew-bump.yml workflow opens PR against tap repo with new version + SHA256
LaunchAgent / systemd unit for polylogued is NOT installed by default — user opts in via brew services start polylogued (formula declares service do ... end block)
Installation docs note that first-run creates XDG archive at standard location
Out of scope
Casks (this is CLI, not GUI)
Submitting to homebrew-core (own tap is sufficient until distribution stabilizes)
Verification
brew install --build-from-source Formula/polylogue.rb on macOS and Linux runners
brew test polylogue green
brew audit --strict clean
Ambitious expansion
While building the tap, also automate formula bumps via release-please post-merge action.
Every release tag auto-PRs the Homebrew formula update. Standard for well-maintained CLI tools; eliminates the manual maintenance tax that kills most third-party Homebrew taps.
Activity