docs: new root as prior history lost (orphan + GC); ~215 commits not recoverable
This commit is contained in:
commit
96961f23f5
268 changed files with 24161 additions and 0 deletions
26
2026/2026-07-11--bonfire-gitbot-systemd.md
Normal file
26
2026/2026-07-11--bonfire-gitbot-systemd.md
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# Bonfire gitbot + boot (2026-07-11)
|
||||
|
||||
After `2026/2026-07-09--bonfire-ground-zero.md`.
|
||||
|
||||
## Problems
|
||||
|
||||
- Bare hostnames in commit text crash `createPost` (`URI.parse/1`).
|
||||
- No webhook; bot polls git.ngi-0.eu every 300s.
|
||||
- Stack did not start on boot.
|
||||
|
||||
## Fix
|
||||
|
||||
- `gitbot-mirror.py`: prefix bare hosts, fallback post, skip after 3 fails.
|
||||
- User systemd: `gitbot-mirror.service`, `container-koopa-bonfire-*.service` (`podman-compose up -d`).
|
||||
- Install: `scripts/bonfire/install-systemd.sh`
|
||||
|
||||
**Official:** [Hosting guide](https://docs.bonfirenetworks.org/deploy.html) recommends Co-op Cloud; we run podman-compose on koopa (ops choice, not upstream path).
|
||||
GraphQL `createPost`: [API reference](https://docs.bonfirenetworks.org/api-reference.html) — no official gitbot mirror doc; custom script.
|
||||
|
||||
## Ops
|
||||
|
||||
```bash
|
||||
systemctl --user status container-koopa-bonfire-db.service container-koopa-bonfire.service gitbot-mirror.service
|
||||
tail -30 ~/koopa-bonfire/gitbot.log
|
||||
python3 ~/koopa-bonfire/bin/gitbot-mirror.py
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue