diff --git a/TODO.md b/TODO.md index 86bd83c..fcc53d5 100644 --- a/TODO.md +++ b/TODO.md @@ -6,17 +6,21 @@ speculatively. ## Migration -- **Migrate `yet` onto `core/paths`/`core/config`.** `yet`'s - `internal/store.Home()` (`$YETANO_HOME`, defaulting to - `os.UserConfigDir()/yetano`) and `internal/config` (fixed - `/etc/yetano/yetano.yaml` -> `~/.config/yetano/yetano.yaml` -> - `./yetano.yaml` -> `--config` cascade) predate this library and - overlap with what it now provides. Migrating is a deliberately - separate follow-up, not part of this change -- `yet`'s existing - behavior needs to be evaluated field-by-field (e.g. `$YETANO_HOME`'s - default of `os.UserConfigDir()/yetano` is *not* the same location - `core/paths` would resolve for an app named "yetano"/"yet"; that - divergence needs a conscious decision, not a silent behavior change). +- [x] **Migrate `yet` onto `core/paths`/`core/config`.** `internal/config` + already used `core/config`/`core/paths` (shared `Application{Name: + "yetano"}`). `internal/store`'s own `$YETANO_HOME` (formerly + `os.UserConfigDir()/yetano`, one monolithic root) has now been split + across three independently overridable `core/paths` categories for + `Application{Name: "yet", Kind: core.CLI}`: `store.Home()` (`DataDir`; + store/packages/profiles/sources/credentials/trust-policy/deployments/ + share-lib-etc), `store.CacheHome()` (`CacheDir`; the blob cache), and + `store.BinDir()` (`BinDir`; managed command entrypoints, shared across + every Yetano application). This is a deliberate default-path and + env-var-shape change (`$YETANO_HOME` no longer exists; see + `YET_DATA_HOME`/`YETANO_DATA_HOME`, `YET_CACHE_HOME`/ + `YETANO_CACHE_HOME`, `YET_BIN_HOME`/`YETANO_BIN_HOME` instead) -- + existing installations are not migrated (see `yet`'s + `docs/install-store-and-profiles.md`). - Once `yet` migrates, evaluate `yasta`, `yamocir`, `yaiam`, and `yalsh`-adjacent projects the same way (per the original task description) -- each on its own merits, not as a blanket sweep.