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`
|
||||
14
docs/plans/2026-11-04-load-part-at-instances.md
Normal file
14
docs/plans/2026-11-04-load-part-at-instances.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# load_part_at instances (priv.spacetime / ppc.spacetime)
|
||||
|
||||
Approved 2026-11-04.
|
||||
|
||||
## Goal
|
||||
Instantiate the same `spacetime` `.so` under different part ids (`priv.spacetime`, `ppc.spacetime`), each with its own config namespace. Dependents use `Spacetime::get("priv.spacetime")` etc.
|
||||
|
||||
## Changes
|
||||
1. Platform `load_part(part_name, path, at_id)` via `get_global_mize()`; save/restore `cur_eval_part`.
|
||||
2. Rename `Mize::load_part_at` → `load_part_from_path`.
|
||||
3. `config::load_part_at(at_id, part_name)` — no-op in generate mode.
|
||||
4. Codegen: special SpacetimeDB client gen when `gen` contains `"spacetime"`, module at `{cwd}/spacetime` if present.
|
||||
5. `sci`: `gen += spacetime`, `load_part_at("priv.spacetime", "spacetime")`.
|
||||
6. New `mize/parts/ppc`: loads `ppc.spacetime`.
|
||||
Reference in New Issue
Block a user