Skip to content

chore(homebrew): publish dot-swarm.rb formula for v1.0.0#1

Merged
oasis-main merged 1 commit into
mainfrom
chore/homebrew-formula-v1.0.0
May 4, 2026
Merged

chore(homebrew): publish dot-swarm.rb formula for v1.0.0#1
oasis-main merged 1 commit into
mainfrom
chore/homebrew-formula-v1.0.0

Conversation

@oasis-main
Copy link
Copy Markdown
Owner

Summary

  • Replaces the legacy swarm-city.rb.template placeholder with a real Homebrew formula tied to the v1.0.0 PyPI release.
  • All 29 transitive resource blocks pinned to current versions, generated from pip install --dry-run --report against dot-swarm[crypto]==1.0.0 (because homebrew-pypi-poet is broken on Python ≥ 3.12).
  • depends_on \"rust\" => :build so the cryptography sdist build path works on platforms without prebuilt wheels.
  • Real test do block — exercises swarm --version plus a swarm init + swarm add round-trip, so a broken release fails brew test, not just brew install.
  • Homepage corrected from MikeHLee/dot_swarmoasis-main/dot_swarm.

This closes [SWC-005]. [SWC-006] (tap submission — homebrew-core vs project-owned tap) remains as a follow-up decision.

Verification

  • ruby -c dot-swarm.rb — Syntax OK
  • sha256 verified against the live PyPI tarball (https://pypi.org/pypi/dot-swarm/json)
  • 29 resource blocks match the current pip install --dry-run --report resolution
  • brew install --build-from-source <tap>/dot-swarm (requires the formula to be in a tap first — gated on SWC-006)

Test plan

  • Once merged + dropped into the chosen tap, run brew install --build-from-source <tap>/dot-swarm on macOS
  • swarm --version prints 1.0.0
  • swarm init followed by swarm add "smoke" works in a fresh sandbox dir
  • brew test <tap>/dot-swarm passes (exercises the same flow inside the formula's test do block)

🤖 Generated with Claude Code

Replaces the legacy swarm-city.rb.template placeholder with the real
formula, ready to drop into a Homebrew tap.

- url + sha256 point at the live PyPI tarball
  (sha256 0db6847386d96c201c1df7ac047894dc765327fbc4fb9c15dfb74ecb83d47658)
- 29 transitive resource blocks pinned to current versions, generated
  from `pip install --dry-run --report` against dot-swarm[crypto]==1.0.0
- Adds depends_on "rust" => :build for the cryptography sdist build path
  on platforms without prebuilt wheels
- test block exercises `swarm --version` plus a real `swarm init` +
  `swarm add` round-trip so a broken release fails brew test, not
  just brew install
- homepage updated from MikeHLee/dot_swarm → oasis-main/dot_swarm

Closes SWC-005. SWC-006 (tap submission) is the remaining decision.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@oasis-main oasis-main merged commit 791c375 into main May 4, 2026
5 of 7 checks passed
oasis-main pushed a commit that referenced this pull request May 4, 2026
.swarm/workflows/release.md
  - End-to-end runbook for cutting a release: pre-flight checklist,
    commit/tag/push, OIDC Trusted Publishing alignment, PyPI verify,
    Homebrew tap update, post-release housekeeping, common failure
    modes, multi-phase rollouts (SWC-046 pattern).
  - Documents the homebrew-pypi-poet → pip --report fallback for
    Python ≥ 3.12 (poet depends on removed pkg_resources).
  - Points at the live tap at oasis-main/homebrew-dot-swarm.

.swarm/queue.md
  - SWC-005 closed: dot-swarm.rb landed via PR #1.
  - SWC-006 closed: project-owned tap chosen over homebrew-core for
    the v1.x line. Tap live at oasis-main/homebrew-dot-swarm,
    tagged v1.0.0, brew test-bot CI matrix on macos-14/13 + ubuntu.
    Install:  brew tap oasis-main/dot-swarm && brew install dot-swarm

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.

2 participants