Wrapper-only revision: the images are unchanged from 0.2.1:0, so only the downstream digit moves. Release notes now describe this revision (rebuilt against start-sdk 2.0.9, requires StartOS 0.4.0-beta.10) instead of 0.2.1:0's image bumps. The version file moves to versions/current.ts, where the guide keeps the latest version — a dated file is only for a released version that carries a migration, and this bump carries none. No `other` entry is needed: the version graph synthesizes a range beneath current, and the packed manifest derives canMigrateFrom <=0.2.1:1. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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
|
(`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.
|
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
|
## Docs
|
||||||
|
|
||||||
- [ ] Write `README.md` (per `start-technologies/projects/start-sdk/docs/src/writing-readmes.md`).
|
- [ ] 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
|
- [ ] 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
|
`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.
|
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.
|
- [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
|
- [x] Install on a StartOS box and verify the service runs — done for 0.2.1:0 on
|
||||||
exposes an interface). Under SDK 2.0 pay particular attention to nacho's
|
natural-dean.local: all daemons up, nacho's `EXPO_PUBLIC_API_BASE_URL` resolved
|
||||||
`EXPO_PUBLIC_API_BASE_URL` (now resolved by walking the subs-api host) and to
|
through the subs-api host rather than the loopback fallback.
|
||||||
the Bitcoin RPC task raised on first install (`accept`/`set` input).
|
- [ ] 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
|
- [ ] `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).
|
fail `--check` (untouched by the SDK bump, so left out of that diff).
|
||||||
- [ ] Backup / restore sanity check.
|
- [ ] Backup / restore sanity check.
|
||||||
|
|||||||
@@ -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,
|
||||||
|
},
|
||||||
|
})
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
import { VersionGraph } from '@start9labs/start-sdk'
|
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({
|
export const versionGraph = VersionGraph.of({
|
||||||
current: v_0_2_1_0,
|
current,
|
||||||
other: [],
|
other: [],
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -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,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
Reference in New Issue
Block a user