Skip to content

Commit 15ebc13

Browse files
iostreamer-Xclaude
andcommitted
feat: add beads@0.55.4 formula
Static build with icu4c linked in. macOS arm64 only. Upstream beads 0.57+ has breaking changes to bd import and hook formats. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 parents  commit 15ebc13

File tree

2 files changed

+64
-0
lines changed

2 files changed

+64
-0
lines changed

Formula/beads@0.55.4.rb

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
class BeadsAT0554 < Formula
2+
desc "Git-backed issue tracker with first-class dependency support (pinned for requestly-api-client)"
3+
homepage "https://github.com/steveyegge/beads"
4+
version "0.55.4"
5+
license "MIT"
6+
7+
on_macos do
8+
if Hardware::CPU.arm?
9+
url "https://github.com/requestly/homebrew-tools/releases/download/beads-0.55.4/bd-0.55.4-darwin-arm64.tar.gz"
10+
sha256 "812262396e8d18aa662a13c985dd9ce356cb275e7017fbba60fd606073fed77c"
11+
end
12+
end
13+
14+
depends_on :macos
15+
16+
def install
17+
bin.install "bd"
18+
end
19+
20+
test do
21+
assert_match "0.55.4", shell_output("#{bin}/bd --version")
22+
end
23+
end

README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Requestly Homebrew Tap
2+
3+
Custom Homebrew formulae for Requestly development tools.
4+
5+
## Install
6+
7+
```bash
8+
brew tap requestly/tools
9+
brew install requestly/tools/beads@0.55.4
10+
```
11+
12+
## Available Formulae
13+
14+
| Formula | Version | Description |
15+
|---------|---------|-------------|
16+
| `beads@0.55.4` | 0.55.4 | Git-backed issue tracker (static build with icu4c linked in) |
17+
18+
## Why pinned versions?
19+
20+
The upstream `beads` Homebrew formula tracks the latest release. When upstream introduces breaking changes that affect our workflow, we pin to a known-good version here until we can upgrade.
21+
22+
## Building from source
23+
24+
The beads binary requires CGO with icu4c for embedded Dolt support. The upstream GitHub releases ship without CGO on macOS, so we build our own:
25+
26+
```bash
27+
brew install go icu4c@78
28+
git clone --branch v0.55.4 --depth 1 https://github.com/steveyegge/beads.git
29+
cd beads
30+
31+
mkdir -p icu-static-lib
32+
cp /opt/homebrew/opt/icu4c@78/lib/libicuuc.a icu-static-lib/
33+
cp /opt/homebrew/opt/icu4c@78/lib/libicui18n.a icu-static-lib/
34+
cp /opt/homebrew/opt/icu4c@78/lib/libicudata.a icu-static-lib/
35+
36+
CGO_ENABLED=1 \
37+
CGO_CFLAGS="-I/opt/homebrew/opt/icu4c@78/include" \
38+
CGO_CXXFLAGS="-I/opt/homebrew/opt/icu4c@78/include" \
39+
CGO_LDFLAGS="-L$(pwd)/icu-static-lib -lstdc++ -lc++" \
40+
go build -o bd -ldflags="-s -w -X main.Version=0.55.4 -X main.Build=static" ./cmd/bd
41+
```

0 commit comments

Comments
 (0)