Fix borgmatic LaunchAgent to work with mise-installed binaries #2

Merged
eblume merged 2 commits from feature/fix-borgmatic-launchagent into main 2026-01-14 10:36:16 -08:00
3 changed files with 35 additions and 6 deletions

View file

@ -50,9 +50,25 @@ git commit -m "Description of change"
# Push and create PR using tea CLI # Push and create PR using tea CLI
git push -u origin feature/description-of-change git push -u origin feature/description-of-change
tea pr create --title "Description of change" --description "Details..." tea pr create --title "Description of change" --description "$(cat <<'EOF'
## Summary
- First change
- Second change
## Test plan
- [x] Tested thing one
- [ ] Need to test thing two
🤖 Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"
``` ```
Note: `tea` uses `--description` (not `--body` like `gh`). Other useful flags:
- `--base <branch>` - target branch (default: repo's default branch)
- `--assignees <user>` - assign reviewers
- `--labels <label>` - add labels
PRs are reviewed and merged via the Forgejo web UI at https://forge.tail8d86e.ts.net. PRs are reviewed and merged via the Forgejo web UI at https://forge.tail8d86e.ts.net.
After creating a PR, run `open <pr-url>` to open it in the browser (Claude Code's UI will prompt for permission). After creating a PR, run `open <pr-url>` to open it in the browser (Claude Code's UI will prompt for permission).

View file

@ -2,8 +2,13 @@
- name: Configure indri - name: Configure indri
hosts: indri hosts: indri
roles: roles:
- prometheus - role: prometheus
- grafana tags: prometheus
- kiwix - role: grafana
- borgmatic tags: grafana
- forgejo - role: kiwix
tags: kiwix
- role: borgmatic
tags: borgmatic
- role: forgejo
tags: forgejo

View file

@ -7,8 +7,16 @@
<false/> <false/>
<key>Label</key> <key>Label</key>
<string>mcquack.eblume.borgmatic</string> <string>mcquack.eblume.borgmatic</string>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/opt/homebrew/bin:/usr/bin:/bin</string>
</dict>
<key>ProgramArguments</key> <key>ProgramArguments</key>
<array> <array>
<string>/opt/homebrew/opt/mise/bin/mise</string>
<string>x</string>
<string>--</string>
<string>borgmatic</string> <string>borgmatic</string>
<string>--config</string> <string>--config</string>
<string>{{ borgmatic_config }}</string> <string>{{ borgmatic_config }}</string>