Single-page BUC calculator for assembly build-up cost modelling.
Forgejo Actions auto-cancels older in-progress runs that share a workflow + ref when a new push lands. Back-to-back pushes to master will end up with the older run's deploy + close-tasks jobs marked "Has been cancelled" and silently dropping TASK closures. Add an explicit per-ref concurrency group with cancel-in-progress=false so back-to-back pushes queue instead of preempting each other. Mirrors the fix shipped in notes-app for BUG-095 / TASK-273. |
||
|---|---|---|
| .forgejo/workflows | ||
| .dockerignore | ||
| .gitignore | ||
| chip-samples.html | ||
| data.json | ||
| Dockerfile | ||
| index.html | ||
| README.md | ||
| server.py | ||
BUC Calculator
Single-page calculator for assembly BUC (build-up cost) modelling. State persists in SQLite.
Run locally
python server.py
# → http://localhost:8070
Pure stdlib – no uv sync, no pip install. The DB defaults to ./buc.db;
override with BUC_DB_PATH=/path/to/buc.db.
Deploy
git push deploy master (Forgejo) → buc.gsm.esseintes.ch. Workflow lives at
.forgejo/workflows/deploy-dev.yml. The container persists /data/buc.db
on a host volume.