diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-01 22:23:00 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-01 22:23:00 +0100 |
| commit | 4887abc5773b33ab1e213ed5f528dfebd242e2cd (patch) | |
| tree | 8eb2316783a21817cce422c3fb58ec953206dd9a /docs/TESTING.md | |
| parent | v4.3.1: render Windows through wgpu and keep the installer window open (diff) | |
| download | zagan-bet-master.tar.gz zagan-bet-master.zip | |
Adds web/latest.php: a plain-text feed of the newest version with each artifact's filename and SHA-256. The per-release generated installers are replaced by stable web/install.sh and web/install.ps1; both read the feed, pick the newest build, verify it, install per-user and add a launcher. Publishing a new app version no longer regenerates or versions the installers.
publish.sh drops the installer renderer and Python dependency. deploy.sh now also verifies latest.php against the local artifacts and that the served installer scripts match the repository.
Diffstat (limited to 'docs/TESTING.md')
| -rw-r--r-- | docs/TESTING.md | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/docs/TESTING.md b/docs/TESTING.md index c32ac22..09ceb82 100644 --- a/docs/TESTING.md +++ b/docs/TESTING.md | |||
| @@ -272,14 +272,16 @@ terminal client; a saved login from one signs in the other. | |||
| 272 | 1. Set the version in `Cargo.toml` and `gui/Cargo.toml` (same MAJOR.MINOR), | 272 | 1. Set the version in `Cargo.toml` and `gui/Cargo.toml` (same MAJOR.MINOR), |
| 273 | run `cargo test --workspace`, and commit. `publish.sh` refuses a dirty tree | 273 | run `cargo test --workspace`, and commit. `publish.sh` refuses a dirty tree |
| 274 | because the site links the committed git history as the GPL source. | 274 | because the site links the committed git history as the GPL source. |
| 275 | 2. `./scripts/publish.sh` (add `DEST=` and `URL_BASE=` to stage elsewhere). It | 275 | 2. `./scripts/publish.sh` (add `DEST=` to stage elsewhere). It builds the GUI |
| 276 | builds the GUI with `gui-release`, the terminal clients and servers, and | 276 | with `gui-release` and the terminal clients and servers. The installers are |
| 277 | renders the bash/PowerShell installers with each app's SHA-256. | 277 | stable site files and are not regenerated. |
| 278 | 3. `php -S 127.0.0.1:8899 -t <staging>` and | 278 | 3. `php -S 127.0.0.1:8899 -t <staging>` and |
| 279 | `./scripts/deploy.sh <staging> http://127.0.0.1:8899/` to upload and verify | 279 | `./scripts/deploy.sh <staging> http://127.0.0.1:8899/` to upload and verify |
| 280 | every app, installer, client and server against the page's checksums. | 280 | every app, client and server against the page's checksums, the stable |
| 281 | 4. On a clean user account: download an app with its installer, run the | 281 | installers, and the newest-version feed at `latest.php`. |
| 282 | installer, and launch the new menu entry. The installer must refuse a | 282 | 4. On a clean user account: run the stable installer |
| 283 | corrupted download. | 283 | (`ZAGAN_SITE=http://127.0.0.1:8899 ./web/install.sh`) and launch the new |
| 284 | menu entry. It must install the newest version even when an older app sits | ||
| 285 | next to it, and refuse a corrupted download. | ||
| 284 | 5. Repeat on Windows for the `.ps1` installer and the Start-menu shortcut. | 286 | 5. Repeat on Windows for the `.ps1` installer and the Start-menu shortcut. |
| 285 | 287 | ||
