diff --git a/TODO.md b/TODO.md index 95a26d5..1f149b3 100644 --- a/TODO.md +++ b/TODO.md @@ -4,12 +4,6 @@ Consult the packaging guide as you go (`start-technologies/projects/start-sdk/docs/src/recipes.md` is the intent index). Remove items as you finish them, and add items when you defer work. -## The service - -- [ ] Rename `startos/versions/v0.2.1.0.ts` to `startos/versions/current.ts` (the - guide keeps the latest version there; a dated file is only for a released - version that carries a migration). - ## Docs - [ ] Write `README.md` (per `start-technologies/projects/start-sdk/docs/src/writing-readmes.md`). @@ -21,12 +15,13 @@ them, and add items when you defer work. - [ ] Build for arm (`ARCHES := x86 arm` in the `Makefile`). All four images declare `aarch64` in the manifest and every tag publishes an arm64 variant, so the package currently advertises support it never ships. Needs an arm box to verify. - - [x] First test build: `make` (or `start-cli s9pk pack`); fix any `tsc` / pack errors. -- [ ] Install on a StartOS box and verify the service runs (and is reachable, once it - exposes an interface). Under SDK 2.0 pay particular attention to nacho's - `EXPO_PUBLIC_API_BASE_URL` (now resolved by walking the subs-api host) and to - the Bitcoin RPC task raised on first install (`accept`/`set` input). +- [x] Install on a StartOS box and verify the service runs — done for 0.2.1:0 on + natural-dean.local: all daemons up, nacho's `EXPO_PUBLIC_API_BASE_URL` resolved + through the subs-api host rather than the loopback fallback. +- [ ] Verify the Bitcoin RPC task on a *fresh* install (`accept`/`set` input under SDK + 2.0). `taskBtcAuth` returns early when `store.btcAuth` exists, so an update over + an existing install never exercises it. - [ ] `npx prettier --write startos` — 9 files predate the current prettier config and fail `--check` (untouched by the SDK bump, so left out of that diff). - [ ] Backup / restore sanity check. diff --git a/startos/versions/current.ts b/startos/versions/current.ts new file mode 100644 index 0000000..c0ec7e7 --- /dev/null +++ b/startos/versions/current.ts @@ -0,0 +1,14 @@ +import { IMPOSSIBLE, VersionInfo } from '@start9labs/start-sdk' + +export const current = VersionInfo.of({ + version: '0.2.1:1', + releaseNotes: { + en_US: `Packaging-only revision — no upstream changes. The images are unchanged from 0.2.1:0 (\`spaces:v0.2.1\`, \`subs:v0.1.2\`, \`certrelay:v0.2.5\`, \`nacho:v1.0.0\`). + +Rebuilt against \`start-sdk\` 2.0.9, which requires StartOS 0.4.0-beta.10.`, + }, + migrations: { + up: async ({ effects }) => {}, + down: IMPOSSIBLE, + }, +}) diff --git a/startos/versions/index.ts b/startos/versions/index.ts index 14a9244..e596b0c 100644 --- a/startos/versions/index.ts +++ b/startos/versions/index.ts @@ -1,7 +1,7 @@ import { VersionGraph } from '@start9labs/start-sdk' -import { v_0_2_1_0 } from './v0.2.1.0' +import { current } from './current' export const versionGraph = VersionGraph.of({ - current: v_0_2_1_0, + current, other: [], }) diff --git a/startos/versions/v0.2.1.0.ts b/startos/versions/v0.2.1.0.ts deleted file mode 100644 index a364fc6..0000000 --- a/startos/versions/v0.2.1.0.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { IMPOSSIBLE, VersionInfo } from '@start9labs/start-sdk' - -export const v_0_2_1_0 = VersionInfo.of({ - version: '0.2.1:0', - releaseNotes: { - en_US: `- **spaced image** updated to \`horologger/spaces:v0.2.1\` (from v0.0.9x). -- **Certrelay image** updated to \`horologger/certrelay:v0.2.5\` (from v0.2.3).`, - }, - migrations: { - up: async ({ effects }) => {}, - down: IMPOSSIBLE, - }, -})