Fix build instructions: never use make forgejo directly
make forgejo rebuilds with empty TAGS, stripping SQLite support. Updated docs and role to use mise run build instead, which wraps make build with the correct tags and creates the hardlink. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
521cec5fde
commit
de8a08ca2d
2 changed files with 10 additions and 10 deletions
|
|
@ -45,11 +45,14 @@ ssh indri 'cd ~/code/3rd/forgejo && git remote add forge https://forge.eblu.me/m
|
|||
|
||||
```fish
|
||||
ssh indri 'cd ~/code/3rd/forgejo && git fetch --tags && git checkout v14.0.3'
|
||||
ssh indri 'cd ~/code/3rd/forgejo && mise use go@1.25 node@24'
|
||||
ssh indri 'cd ~/code/3rd/forgejo && TAGS="bindata timetzdata sqlite sqlite_unlock_notify" mise x -- make build && mise x -- make forgejo'
|
||||
ssh indri 'cd ~/code/3rd/forgejo && mise run build'
|
||||
```
|
||||
|
||||
Build tags: `bindata` (embed assets), `timetzdata` (embed timezone data), `sqlite sqlite_unlock_notify` (SQLite support). The `make build` target produces `./gitea`; `make forgejo` creates a `./forgejo` hardlink.
|
||||
The `build` mise task (defined in the repo's `mise.toml`) runs `make build` with the correct tags and creates the `./forgejo` hardlink. It uses `go@1.25.8` and `node@24` as configured by `mise use`.
|
||||
|
||||
**WARNING:** Do NOT use `make forgejo` directly — it rebuilds with empty TAGS, stripping SQLite support. Always use `mise run build` or pass TAGS explicitly to `make build` and `ln -f gitea forgejo` afterwards.
|
||||
|
||||
Build tags: `bindata` (embed assets), `timetzdata` (embed timezone data), `sqlite sqlite_unlock_notify` (SQLite support).
|
||||
|
||||
After building, run `mise run provision-indri -- --tags forgejo` to deploy the config and restart the service.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue