README: the yak/yamase mirrors are gone, consumers import this module directly

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
terminarandClaude Opus 5.5 committed 2026-10-23 15:03:33 +02:00
1 parent 6b40ff059c
commit b6a6298353
1 file changed
+7 -38
+7 -38
View File
@@ -9,44 +9,13 @@ see `layout.go` for the API (`PageHeader`, `NavItem`, `NewRenderer`,
## Source of truth
This repo is the **source of truth** for the shared layout. `yak/yak-webui-template`
and `yamase/yamase-webui-template` are git-history mirrors of it (each repo's
root mirrors this repo's root — not a subdirectory — created via `git merge
--allow-unrelated-histories`, so the histories are related and can be
re-merged incrementally). Each mirror has exactly one intentional local
difference: its `go.mod` `module` line, which names that repo's own import
path instead of this one. Make layout changes *here first*, tag a new
version, then pull the change into each mirror — never edit the mirrored
copies directly.
### Pulling a change into a mirror
From inside `yak-webui-template` or `yamase-webui-template` (each already
has a `source` remote pointing back here):
```sh
git fetch source main
git merge source/main
# resolve the go.mod conflict: keep the mirror's own module line, take
# everything else from source
git checkout --ours go.mod # if go.mod conflicted
git add go.mod
git commit
go test ./...
git push origin main
```
### One-time mirror setup (already done, kept here for reference/re-setup)
```sh
git init -b main
git remote add source git@teruna.dev:yetano/yetano-webui-template.git
git fetch source main
git merge --allow-unrelated-histories -m "Initial mirror of yetano-webui-template" source/main
go mod edit -module teruna.dev/<org>/<org>-webui-template
git remote add origin git@teruna.dev:<org>/<org>-webui-template.git
git push -u origin main
```
This repo is the **single source of truth** for the shared layout. Every
consumer -- in `yetano`, `yak` (`yakwui`) and `yamase` (`yamase-web`) --
imports `teruna.dev/yetano/yetano-webui-template` directly: make layout
changes here, tag a new version, then bump the consumers. The former
git-history mirrors `yak/yak-webui-template` and
`yamase/yamase-webui-template` were removed and their repositories
archived on 2026-10-23 (nothing imported them).
## What's shared vs. what stays per-project