updated README and a bunch of other stuff
This commit is contained in:
18
docs/plans/2026-11-03-dist-publish.md
Normal file
18
docs/plans/2026-11-03-dist-publish.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# Plan: dist publish + dist.mize.works (approved)
|
||||
|
||||
## Config
|
||||
- `parts.workspaces`: list of dirs; each subdir is a part to build/upload
|
||||
- `parts.dist.cd`: bool; when true artifact uses `-cd` instead of `-{version}`
|
||||
|
||||
## Publish (`mize.dev`)
|
||||
- After build: pack each part `.so` under `lib/`, special part `mize` gets `libmize.so` + `bin/mize`
|
||||
- Hash via `get_part_hash` with modName, system (target), mize_version
|
||||
- Filename: `{hash}-{id}-{version}.tar.gz` or `{hash}-{id}-cd.tar.gz`
|
||||
- rsync to `ocib:host/mize-dist/`
|
||||
|
||||
## fetch_part
|
||||
- Base URL `https://dist.mize.works/`
|
||||
- Same naming; ensure mize_version in selector
|
||||
|
||||
## ocib
|
||||
- `~/host/docker-compose.yaml`: Traefik + kugland/darkhttpd serving `mize-dist` for `dist.mize.works`
|
||||
Reference in New Issue
Block a user