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.
|
c55615f1
Keenan Nemetz
3d ago
|
1 | # Rodent Software Homebrew Tap |
|
ab3f4cba
keenan
7d ago
|
2 | |
|
c55615f1
Keenan Nemetz
3d ago
|
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. | |
|
8b2c3ebf
keenan
7d ago
|
6 | |
|
c55615f1
Keenan Nemetz
3d ago
|
7 | ## Available formulae |
|
ab3f4cba
keenan
7d ago
|
8 | |
|
c55615f1
Keenan Nemetz
3d ago
|
9 | | Formula | Project | Description | |
| 10 | | --- | --- | --- | | |
| 11 | | `vole` | [Vole](https://rodent.software/vole) | A forge that lives in your Git repository | | |
|
ab3f4cba
keenan
7d ago
|
12 | |
|
c55615f1
Keenan Nemetz
3d ago
|
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: | |
|
60730641
keenan
7d ago
|
20 | |
|
ab3f4cba
keenan
7d ago
|
21 | ```sh |
|
100ec144
keenan
7d ago
|
22 | brew tap rodent-software/homebrew-tap https://rodent.software/homebrew-tap.git |
|
ab3f4cba
keenan
7d ago
|
23 | ``` |
| 24 | ||
|
c55615f1
Keenan Nemetz
3d ago
|
25 | You only need to add the tap once. Install Vole with its fully qualified |
| 26 | formula name: | |
|
8b2c3ebf
keenan
7d ago
|
27 | |
|
c55615f1
Keenan Nemetz
3d ago
|
28 | ```sh |
| 29 | brew install rodent-software/homebrew-tap/vole | |
| 30 | ``` | |
|
8b2c3ebf
keenan
7d ago
|
31 | |
|
c55615f1
Keenan Nemetz
3d ago
|
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. | |
|
ab3f4cba
keenan
7d ago
|
35 | |
|
c55615f1
Keenan Nemetz
3d ago
|
36 | ## Upgrading |
|
ab3f4cba
keenan
7d ago
|
37 | |
|
c55615f1
Keenan Nemetz
3d ago
|
38 | Update the tap and upgrade an installed formula with: |
|
ab3f4cba
keenan
7d ago
|
39 | |
|
c55615f1
Keenan Nemetz
3d ago
|
40 | ```sh |
| 41 | brew update | |
| 42 | brew upgrade vole | |
| 43 | ``` | |
|
ab3f4cba
keenan
7d ago
|
44 | |
|
c55615f1
Keenan Nemetz
3d ago
|
45 | ## Running Vole |
|
ab3f4cba
keenan
7d ago
|
46 | |
|
c55615f1
Keenan Nemetz
3d ago
|
47 | The `vole` executable provides the server, command-line client, and CI runner. |
| 48 | To run the forge as a background service: | |
|
ab3f4cba
keenan
7d ago
|
49 | |
| 50 | ```sh | |
|
c55615f1
Keenan Nemetz
3d ago
|
51 | brew services start vole |
|
ab3f4cba
keenan
7d ago
|
52 | ``` |
| 53 | ||
|
c55615f1
Keenan Nemetz
3d ago
|
54 | The service runs `vole serve` and writes its output to Homebrew's Vole log. |
| 55 | Stop it with: | |
|
8b2c3ebf
keenan
7d ago
|
56 | |
|
c55615f1
Keenan Nemetz
3d ago
|
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: | |
|
8b2c3ebf
keenan
7d ago
|
72 | |
|
c55615f1
Keenan Nemetz
3d ago
|
73 | ```sh |
| 74 | brew services stop vole | |
| 75 | brew uninstall vole | |
| 76 | ``` | |
|
ab3f4cba
keenan
7d ago
|
77 | |
|
c55615f1
Keenan Nemetz
3d ago
|
78 | After removing all formulae installed from this repository, you can remove the |
| 79 | tap itself: | |
|
ab3f4cba
keenan
7d ago
|
80 | |
|
c55615f1
Keenan Nemetz
3d ago
|
81 | ```sh |
| 82 | brew untap rodent-software/homebrew-tap | |
|
ab3f4cba
keenan
7d ago
|
83 | ``` |
|
c55615f1
Keenan Nemetz
3d ago
|
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. |