homebrew-tap
Clone
Read only, no credentials:
https://rodent.software/homebrew-tap.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software/homebrew-tap.git
Homebrew tap for Rodent Software.
| 1 | # Rodent Software Homebrew Tap |
| 2 | |
| 3 | This repository provides [Homebrew](https://brew.sh) formulae for Rodent |
| 4 | Software projects. Formulae install the same prebuilt binaries published with |
| 5 | each project release and verify them against pinned SHA-256 checksums. |
| 6 | |
| 7 | ## Available formulae |
| 8 | |
| 9 | | Formula | Project | Description | |
| 10 | | --- | --- | --- | |
| 11 | | `vole` | [Vole](https://rodent.software/vole) | A forge that lives in your Git repository | |
| 12 | |
| 13 | Vole supports macOS and Linux on ARM64 and Intel (x86_64) systems. |
| 14 | |
| 15 | ## Installation |
| 16 | |
| 17 | Install [Homebrew](https://brew.sh), then add the tap. The explicit Git URL is |
| 18 | required because this repository is hosted on the Rodent Software forge rather |
| 19 | than GitHub: |
| 20 | |
| 21 | ```sh |
| 22 | brew tap rodent-software/homebrew-tap https://rodent.software/homebrew-tap.git |
| 23 | ``` |
| 24 | |
| 25 | You only need to add the tap once. Install Vole with its fully qualified |
| 26 | formula name: |
| 27 | |
| 28 | ```sh |
| 29 | brew install rodent-software/homebrew-tap/vole |
| 30 | ``` |
| 31 | |
| 32 | For other formulae, replace `vole` with a name from the table above. To use a |
| 33 | mirror or a self-hosted copy of the tap, replace the clone URL in the `brew |
| 34 | tap` command with its public Git URL. |
| 35 | |
| 36 | ## Upgrading |
| 37 | |
| 38 | Update the tap and upgrade an installed formula with: |
| 39 | |
| 40 | ```sh |
| 41 | brew update |
| 42 | brew upgrade vole |
| 43 | ``` |
| 44 | |
| 45 | ## Running Vole |
| 46 | |
| 47 | The `vole` executable provides the server, command-line client, and CI runner. |
| 48 | To run the forge as a background service: |
| 49 | |
| 50 | ```sh |
| 51 | brew services start vole |
| 52 | ``` |
| 53 | |
| 54 | The service runs `vole serve` and writes its output to Homebrew's Vole log. |
| 55 | Stop it with: |
| 56 | |
| 57 | ```sh |
| 58 | brew services stop vole |
| 59 | ``` |
| 60 | |
| 61 | On macOS, `brew services` runs Vole as a per-user LaunchAgent. It listens on |
| 62 | `127.0.0.1:2222` for SSH and `127.0.0.1:8080` for HTTP, and stops when the user |
| 63 | logs out. For public SSH clone URLs, HTTPS with socket activation, and a |
| 64 | machine-wide LaunchDaemon, see the |
| 65 | [Vole macOS deployment guide](https://rodent.software/vole/deploy/macos/). |
| 66 | The socket-activation property list is included in this repository at |
| 67 | [`share/launchd/software.rodent.vole.plist`](share/launchd/software.rodent.vole.plist). |
| 68 | |
| 69 | ## Uninstalling |
| 70 | |
| 71 | Stop any running services before uninstalling their formulae: |
| 72 | |
| 73 | ```sh |
| 74 | brew services stop vole |
| 75 | brew uninstall vole |
| 76 | ``` |
| 77 | |
| 78 | After removing all formulae installed from this repository, you can remove the |
| 79 | tap itself: |
| 80 | |
| 81 | ```sh |
| 82 | brew untap rodent-software/homebrew-tap |
| 83 | ``` |
| 84 | |
| 85 | ## Maintaining the tap |
| 86 | |
| 87 | Each `Formula/<project>.rb` file pins a release version and the checksums of |
| 88 | its release artifacts. To update a formula, run the bump script from the |
| 89 | repository root. |
| 90 | |
| 91 | To use the latest release listed on the project's homepage: |
| 92 | |
| 93 | ```sh |
| 94 | scripts/autobump.sh vole |
| 95 | ``` |
| 96 | |
| 97 | To select a release explicitly, pass its tag as the second argument: |
| 98 | |
| 99 | ```sh |
| 100 | scripts/autobump.sh vole v0.2.0 |
| 101 | ``` |
| 102 | |
| 103 | The script downloads every artifact referenced by the formula, verifies each |
| 104 | one against the release's `SHA256SUMS`, and updates the formula only when all |
| 105 | checksums match. Review the result, then commit and push the change: |
| 106 | |
| 107 | ```sh |
| 108 | git diff Formula/vole.rb |
| 109 | git commit -am "Update vole formula" |
| 110 | git push |
| 111 | ``` |
| 112 | |
| 113 | To add another project: |
| 114 | |
| 115 | 1. Add its formula as `Formula/<project>.rb`. |
| 116 | 2. Publish every artifact referenced by the formula and a `SHA256SUMS` file |
| 117 | under `https://rodent.software/<project>/releases/<tag>/artifacts/`. |
| 118 | 3. Add the formula to the [Available formulae](#available-formulae) table. |
| 119 | |
| 120 | The bump script updates the formula only; committing and publishing changes |
| 121 | remain explicit maintainer actions. |
| 122 |