Homebrew tap for jmxsh — an interactive command-line JMX client for monitoring and managing Java applications.
Website: jmx.sh
brew install nyg/jmxsh/jmxshOr tap first, then install:
brew tap nyg/jmxsh
brew install jmxshOr in a Brewfile:
tap "nyg/jmxsh"
brew "jmxsh"Once installed, run jmxsh to start the interactive shell. See the upstream documentation for the full command reference.
When a new release is published in nyg/jmxsh, the formula in this tap is updated and published automatically — no manual steps required.
sequenceDiagram
participant U as nyg/jmxsh
participant D as repository_dispatch
participant UF as update-formula.yml
participant PR as Pull Request
participant TB as tests.yml
participant AL as auto-pr-pull.yml
participant PB as publish.yml
participant M as master
U->>D: Release published
D->>UF: update-formula event
UF->>UF: Download JAR, compute SHA256
UF->>PR: Create PR (update formula)
PR->>TB: pull_request event
TB->>TB: Build bottles (macOS Intel,<br/>macOS ARM, Linux)
TB-->>PR: Upload bottle artifacts
TB->>AL: workflow_run completed
AL->>PR: Apply pr-pull label
PR->>PB: pull_request_target labeled
PB->>PB: Download bottles, upload<br/>to GitHub Release
PB->>PB: Cherry-pick PR commit,<br/>add bottle annotations
PB->>PR: Force-push bottle commit<br/>to PR branch
PB->>M: Squash-merge PR
PB->>PR: Delete branch
-
Trigger — A release in
nyg/jmxshsends arepository_dispatchevent to this repository with the new version, JAR URL, and Java version. -
Update formula (
update-formula.yml) — Downloads the JAR, computes its SHA256, updates the formula'surl,sha256, and optionallydepends_onfields, then opens a PR on a branch namedupdate-jmxsh-<version>. -
Test (
tests.yml) — Runsbrew test-boton three platforms (macOS Intel, macOS ARM, Linux). Builds bottles and uploads them as workflow artifacts. -
Auto-label (
auto-pr-pull.yml) — Triggered whentests.ymlcompletes successfully on anupdate-jmxsh-*branch. Applies thepr-pulllabel to the PR. UsesHOMEBREW_TAP_TOKENso the label event triggers the next workflow (events fromGITHUB_TOKENdon't trigger downstream workflows). -
Publish (
publish.yml) — Triggered by thepr-pulllabel. Runsbrew pr-pullwhich downloads bottle artifacts, uploads the bottle tarballs to a GitHub Release, cherry-picks the PR commit, and amends it with abottleblock. The bottle-annotated commit is then force-pushed back to the PR branch and squash-merged into master via the GitHub API.