import { IMPOSSIBLE, VersionInfo } from '@start9labs/start-sdk' /** * v1.0.0:1 — initial Proof of Work release. * * Upstream version: 1.0.0 * Wrapper rev: 1 * * This is a one-shot "seeded cutover" release for users migrating from the * old `workout-log` StartOS package. The Docker image bakes in a snapshot of * the maintainer's live /data volume under /app/seed/data; the entrypoint * copies that snapshot into the new StartOS-managed /data volume only on a * truly-fresh first boot (both /data/app.db missing AND /data/.seeded * absent). Every subsequent boot leaves /data untouched. * * Because StartOS treats `proof-of-work` as a brand new service (different * package id from `workout-log`), the old install stays running until the * operator confirms the cutover and stops it manually. There is no * downgrade path; `down` is IMPOSSIBLE. * * The post-cutover cleanup release (v1.0.0:2) will strip the baked seed and * the seed-copy branch from docker_entrypoint.sh. */ export const v_1_0_0_1 = VersionInfo.of({ version: '1.0.0:1', releaseNotes: { en_US: 'Initial Proof of Work release. Replaces the legacy `workout-log` package with multi-user support and a curated exercise library shared across all users on the instance. Bakes a one-time seed of /data into the image and copies it into the new volume only on truly-fresh first boot, so an operator migrating from `workout-log` keeps every workout, exercise, and preference.', }, migrations: { up: async () => {}, down: IMPOSSIBLE, }, })