RotoStudio: new names; legacy instances keep working (0.3.0) #6

Merged
oliver.maklott merged 1 commit from rotostudio into main 2026-11-23 22:21:50 +01:00

The app is now RotoStudio (rotostudio, its 0.14.0). rotocmd keeps its name, switches to the new names, and keeps instances from before the rename working (new decision D006).

Behaviour changes

  • CI runs on rotostudio-general (the runners were relabelled; no job ran on the old label).
  • Names: packages rotostudio / rotostudio-headless, images git.belowtoxic.cloud/belowtoxic.eu/rotostudio(-headless), .env key ROTOSTUDIO_IMAGE, ROTOSTUDIO_DEPLOY_DIR, default directory ./rotostudio, projects .rsproj / <name>.tracked.rsproj. All texts, help and docs say RotoStudio.
  • Legacy instances (compose file and .env with ROTOSCOPIA_IMAGE) are still found, listed and run. The image is read from whichever key .env has, new key first.
  • update on a legacy instance writes the new docker-compose.yml and renames the ROTOSCOPIA_IMAGE= line to ROTOSTUDIO_IMAGE= in place. Every other byte of .env stays the same, including comments, quotes, export and CRLF. The image moves from the legacy repository to the bundle's rotostudio one; a mirror repository is kept, and the registry check stops the update before any change if the mirror lacks the image. The plan shows the rename (renamedSettings in --json), and the renamed key is not reported as a new setting. bootstrap over an existing legacy instance renames the key the same way.
  • Rollback: after a failed update, the printed command (also in --json data.restore) restores every backed-up file together with .env. Without this, rolling back a legacy instance would pair its old .env with the new compose file.
  • Deploy directory: the legacy ROTOSCOPIA_DEPLOY_DIR is used when ROTOSTUDIO_DEPLOY_DIR is not set, and the status line names the variable that was used.
  • Health accepts "app": "rotostudio" and the legacy "rotoscopia".
  • render passes .rsproj and legacy .rotoscopia projects to the renderer unchanged; rotocmd never reads the tracked-output name. If rotostudio-headless lacks a release (never a channel), it is taken from the legacy rotoscopia-headless package, so a host whose instance is still on 0.13.0 renders with that version. --json data has package.
  • withEnv keeps CRLF line endings and a missing final newline (it used to rewrite them to LF).
  • Naming check: scripts/check-naming.sh is ported from the app. The old name may appear only on lines that say legacy. It runs in CI (check.yml) and in the pre-push hook.
  • Version 0.3.0 (deno.json). Not tagged or released.

Not done / open

  • New env.example keys such as ROTOSTUDIO_LIMEDOC_ORIGINS= are not appended to .env. rotocmd has no mechanism for that: it only lists them in the update plan (newSettings). Recorded as deviation 7.
  • bootstrap/update never install a legacy rotoscopia bundle, so update --version 0.13.0 fails as a missing release.
  • The legacy migration is tested with the fake Docker and registry only (deviation 8). It still needs one run by hand against a real 0.13 instance.

⚠ Merge order

Merging releases rotocmd 0.3.0 (D004). Right now the registry has no rotostudio or rotostudio-headless package (only legacy rotoscopia* 0.13.0 and edge). Until the app publishes them, 0.3.0 would fail bootstrap, fail update with "no stable release", and fail render with the default latest. Merge only after the app's 0.14.0 packages are out.

Checks

Run locally, all green: deno fmt --check, deno lint, deno check, deno test (65 passed), scripts/check-naming.sh, sh -n, tests/install_sh_test.sh, and deno compile for all five targets.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PVUe4h2CwvPwtk43xXUn8a

The app is now **RotoStudio** (`rotostudio`, its 0.14.0). rotocmd keeps its name, switches to the new names, and keeps instances from before the rename working (new decision D006). ## Behaviour changes - **CI** runs on `rotostudio-general` (the runners were relabelled; no job ran on the old label). - **Names:** packages `rotostudio` / `rotostudio-headless`, images `git.belowtoxic.cloud/belowtoxic.eu/rotostudio(-headless)`, `.env` key `ROTOSTUDIO_IMAGE`, `ROTOSTUDIO_DEPLOY_DIR`, default directory `./rotostudio`, projects `.rsproj` / `<name>.tracked.rsproj`. All texts, help and docs say RotoStudio. - **Legacy instances** (compose file and `.env` with `ROTOSCOPIA_IMAGE`) are still found, listed and run. The image is read from whichever key `.env` has, new key first. - **`update` on a legacy instance** writes the new `docker-compose.yml` and renames the `ROTOSCOPIA_IMAGE=` line to `ROTOSTUDIO_IMAGE=` in place. Every other byte of `.env` stays the same, including comments, quotes, `export` and CRLF. The image moves from the legacy repository to the bundle's `rotostudio` one; a mirror repository is kept, and the registry check stops the update before any change if the mirror lacks the image. The plan shows the rename (`renamedSettings` in `--json`), and the renamed key is not reported as a new setting. `bootstrap` over an existing legacy instance renames the key the same way. - **Rollback:** after a failed update, the printed command (also in `--json` `data.restore`) restores every backed-up file together with `.env`. Without this, rolling back a legacy instance would pair its old `.env` with the new compose file. - **Deploy directory:** the legacy `ROTOSCOPIA_DEPLOY_DIR` is used when `ROTOSTUDIO_DEPLOY_DIR` is not set, and the status line names the variable that was used. - **Health** accepts `"app": "rotostudio"` and the legacy `"rotoscopia"`. - **`render`** passes `.rsproj` and legacy `.rotoscopia` projects to the renderer unchanged; rotocmd never reads the tracked-output name. If `rotostudio-headless` lacks a release (never a channel), it is taken from the legacy `rotoscopia-headless` package, so a host whose instance is still on 0.13.0 renders with that version. `--json` data has `package`. - `withEnv` keeps CRLF line endings and a missing final newline (it used to rewrite them to LF). - **Naming check:** `scripts/check-naming.sh` is ported from the app. The old name may appear only on lines that say *legacy*. It runs in CI (check.yml) and in the pre-push hook. - Version **0.3.0** (`deno.json`). Not tagged or released. ## Not done / open - **New `env.example` keys** such as `ROTOSTUDIO_LIMEDOC_ORIGINS=` are not appended to `.env`. rotocmd has no mechanism for that: it only lists them in the update plan (`newSettings`). Recorded as deviation 7. - `bootstrap`/`update` never install a legacy `rotoscopia` bundle, so `update --version 0.13.0` fails as a missing release. - The legacy migration is tested with the fake Docker and registry only (deviation 8). It still needs one run by hand against a real 0.13 instance. ## ⚠ Merge order Merging releases rotocmd 0.3.0 (D004). Right now the registry has **no `rotostudio` or `rotostudio-headless` package** (only legacy `rotoscopia*` 0.13.0 and edge). Until the app publishes them, 0.3.0 would fail `bootstrap`, fail `update` with "no stable release", and fail `render` with the default `latest`. **Merge only after the app's 0.14.0 packages are out.** ## Checks Run locally, all green: `deno fmt --check`, `deno lint`, `deno check`, `deno test` (65 passed), `scripts/check-naming.sh`, `sh -n`, `tests/install_sh_test.sh`, and `deno compile` for all five targets. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01PVUe4h2CwvPwtk43xXUn8a
RotoStudio: new package, image and setting names; legacy instances keep working (0.3.0)
All checks were successful
check / check (push) Successful in 21s
check / check (pull_request) Successful in 20s
8a130fff06
The app was renamed from Rotoscopia to RotoStudio (its 0.14.0). rotocmd keeps its name and
follows the app (D006):

- packages rotostudio / rotostudio-headless, images .../rotostudio(-headless), .env key
  ROTOSTUDIO_IMAGE, ROTOSTUDIO_DEPLOY_DIR, default directory ./rotostudio, projects .rsproj and
  <name>.tracked.rsproj, CI on the runners labelled rotostudio-general;
- an instance whose compose file names the legacy ROTOSCOPIA_IMAGE is still found, listed and run,
  and its image is read from whichever key .env has;
- update (and bootstrap over an existing instance) writes the new compose file and renames the
  legacy key line in .env in place, every other byte (comments, quotes, CRLF) unchanged; the plan
  shows the rename (renamedSettings in --json), the renamed key is not reported as a new setting,
  and the legacy image repository moves to the bundle's (a mirror is kept and checked);
- the rollback after a failed update restores every backed-up file with .env (the old .env needs
  the old compose file); --json data.restore holds the command;
- the legacy ROTOSCOPIA_DEPLOY_DIR is used when ROTOSTUDIO_DEPLOY_DIR is not set;
- health accepts "app": "rotostudio" and the legacy "rotoscopia";
- render passes .rsproj and legacy .rotoscopia projects on as they are; a release that
  rotostudio-headless lacks is taken from the legacy rotoscopia-headless package, so an instance
  on 0.13 still renders with its own version (channels never fall back);
- withEnv keeps CRLF line endings and a missing final newline.

scripts/check-naming.sh (the app's rule: the old name only on lines that say legacy) runs in CI
and the pre-push hook. Tests cover legacy detection, the byte-exact .env migration, mirror and
rollback, health with the legacy app id, the deploy-dir fallback, and render with both suffixes
and the legacy package. Docs: D006, D002/D005, CLAUDE.md, README, help, ci.md, deviations 7 and 8.

New env.example keys (e.g. ROTOSTUDIO_LIMEDOC_ORIGINS) are still only listed in the update plan,
not appended to .env: rotocmd has no such mechanism (deviation 7).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4h2CwvPwtk43xXUn8a
oliver.maklott deleted branch rotostudio 2026-11-23 22:21:50 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
rotostudio/rotocmd!6
No description provided.