WIP: move-1.0: the records from 0.19 into a 1.0 store, and the order of the switch #18

Draft
bl wants to merge 0 commits from portal-1-0 into main
pull from: portal-1-0
Owner

The tooling that carries the vel's records from portal 0.19 into a 1.0 store, and the order of the switch (move-1.0/README.md). Nothing here changes the running stack: no file the deploy watches is touched.

Draft: the switch itself waits for gdo and kron releases that dial a 1.0 site (below), and the stack's own changes come in a pull request after this, once there is something to try them with.

What is here

  • move.sh rehearse | move: export with 0.19.3, rewrite for the 1.0 content, import with 1.0.2, take the sign-ups again through their form on a site only kasse reaches, compare, stop. move stops the 0.19 site first and fills tomtervel_portal_data; rehearse runs beside the live site and removes its volume again.
  • compare.py: every record, state, date and field against the export, every file fetched, and the sign-ups in the order they came. Prints counts and field names only.
  • sink.py: takes the mail and room messages the replayed sign-ups make, and delivers nothing.

Why the sink

A sign-up taken again makes its confirmation mail. With no mail service the site keeps it in the store, and it goes out when gdo first dials. The store of the preview held 15 such mails. move.sh posts the outboxes to the sink while the sign-ups are taken, and fails unless it took one mail per sign-up.

Tried

move.sh rehearse on kasse, 2026-11-24, against the live site:

  • 91 records imported, each found with the same state, date and fields;
  • all 53 pictures and documents fetched from the stack's garage;
  • 15 sign-ups, 25 guests, the same people in the same order, none on the waiting list;
  • 15 mails, 240 room messages and 30 answers taken by the sink;
  • the live site was not stopped or changed.

Not tried

  • move.sh move. It differs from the rehearsal in stopping tomtervel-portal-1 and in the volume's name.
  • A 1.0 site with sign-in, Rauthy and mail. The rehearsal's site has none of them.

What the switch waits for

  • gdo: v0.3.1 speaks NATS only. Without a release that dials the site, a 1.0 site sends no mail.
  • kron: 0.2.0 speaks NATS only.
  • The chat: cnats speaks NATS only; kino has no image, and takes no history over.
  • Both one-oh branches build against portal v1.0.0-rc.10; asking the owners for a login changed after that, so they need SMTP_HOST and the VIPPS_* set, or a build against v1.0.2.

🤖 Generated with Claude Code

https://claude.ai/code/session_01L5fbDjTQg4CJsNqEo7hhE7

The tooling that carries the vel's records from portal 0.19 into a 1.0 store, and the order of the switch (`move-1.0/README.md`). Nothing here changes the running stack: no file the deploy watches is touched. **Draft**: the switch itself waits for gdo and kron releases that dial a 1.0 site (below), and the stack's own changes come in a pull request after this, once there is something to try them with. ## What is here - **`move.sh rehearse | move`**: export with 0.19.3, rewrite for the 1.0 content, import with 1.0.2, take the sign-ups again through their form on a site only kasse reaches, compare, stop. `move` stops the 0.19 site first and fills `tomtervel_portal_data`; `rehearse` runs beside the live site and removes its volume again. - **`compare.py`**: every record, state, date and field against the export, every file fetched, and the sign-ups in the order they came. Prints counts and field names only. - **`sink.py`**: takes the mail and room messages the replayed sign-ups make, and delivers nothing. ## Why the sink A sign-up taken again makes its confirmation mail. With no mail service the site keeps it in the store, and it goes out when gdo first dials. The store of the preview held 15 such mails. `move.sh` posts the outboxes to the sink while the sign-ups are taken, and fails unless it took one mail per sign-up. ## Tried `move.sh rehearse` on kasse, 2026-11-24, against the live site: - 91 records imported, each found with the same state, date and fields; - all 53 pictures and documents fetched from the stack's garage; - 15 sign-ups, 25 guests, the same people in the same order, none on the waiting list; - 15 mails, 240 room messages and 30 answers taken by the sink; - the live site was not stopped or changed. ## Not tried - `move.sh move`. It differs from the rehearsal in stopping `tomtervel-portal-1` and in the volume's name. - A 1.0 site with sign-in, Rauthy and mail. The rehearsal's site has none of them. ## What the switch waits for - **gdo**: v0.3.1 speaks NATS only. Without a release that dials the site, a 1.0 site sends no mail. - **kron**: 0.2.0 speaks NATS only. - **The chat**: cnats speaks NATS only; kino has no image, and takes no history over. - Both `one-oh` branches build against portal v1.0.0-rc.10; asking the owners for a login changed after that, so they need `SMTP_HOST` and the `VIPPS_*` set, or a build against v1.0.2. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01L5fbDjTQg4CJsNqEo7hhE7
bl added 1 commit 2026-11-24 11:43:41 +01:00
move.sh exports with 0.19.3, rewrites and imports with 1.0, takes the
sign-ups again through their form on a site only the host reaches, and
holds the store to the export. What that site would have mailed is posted
to sink.py and let go: left in the store, it goes out when gdo first dials.

README.md has the order of the switch and what it waits for: no gdo or
kron release dials a 1.0 site yet.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDjTQg4CJsNqEo7hhE7
This branch is already included in the target branch. There is nothing to merge.
This branch is out-of-date with the base branch
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin portal-1-0:portal-1-0
git checkout portal-1-0
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tomtervel/infrastructure#18