Skip to content

feat(updater): second update address, the bridge for the rename to Quayside - #112

Merged
elementalcollision merged 1 commit into
mainfrom
feat/updater-rename-bridge
Nov 23, 2026
Merged

elementalcollision merged 1 commit into
mainfrom
feat/updater-rename-bridge

Conversation

@elementalcollision

Copy link
Copy Markdown
Owner

The bridge release (0.7.4) for renaming this repository to Quayside.

Why

Every installed copy checks one update address: elementalcollision.github.io/cgui-visual/updates/latest.json. That's a GitHub Pages URL, and Pages URLs follow the repository's name. GitHub redirects git and release-download links after a rename, but not Pages. Without a bridge, every copy would quietly stop seeing updates once the repo is renamed.

Change

  • tauri.conf.json: the updater lists the current address, then elementalcollision.github.io/quayside/updates/latest.json.
    • tauri-plugin-updater 2.14.1 tries the addresses in order. A non-success status or a network error goes on to the next one; I checked this in the plugin's source.
    • Before the rename, the first address answers as today, so there's no extra request. After it, the first returns 404 (Pages does for a missing path) and the second serves the manifest.
  • updates.rs: a test pins both addresses, in order, so the bridge can't be dropped by accident.
  • app/README.md: explains the second address.
  • docs/brand/README.md: a rename checklist covering the bridge, the rename-day steps and the two open decisions (the app's file name after an in-app update, and the cgui TUI).
  • CHANGELOG: an Unreleased → Changed entry. The version bump and tag come at ship time, as before.

Not used as a fallback

The latest.json attached to each release, reached through a releases/latest/download/ link, would survive the rename too, but its download links are GitHub API asset URLs. Those return about 1.9 KB of JSON metadata instead of the update, which is why this project builds its own Pages manifest.

Test plan

  • cargo fmt --check, cargo clippy --all-targets -- -D warnings
  • cargo test --all-targets: 263 passed, including the new endpoint test
  • The build script validates the edited tauri.conf.json
  • On rename day: a 0.7.4 install finds the rename release through the second address (in the checklist)

🤖 Generated with Claude Code

…ayside

The updater's address is a GitHub Pages URL, which follows the repository's
name and isn't redirected after a rename. List the post-rename address
(`…/quayside/updates/latest.json`) after the current one:
tauri-plugin-updater tries them in order and moves on when one fails, so
copies from this release on keep finding updates once the repo is renamed.

- tauri.conf.json: the two endpoints, current first.
- updates.rs: a test pins both, in order.
- app/README.md: explains the second address.
- docs/brand/README.md: the rename checklist (bridge, rename-day steps,
  open decisions).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@elementalcollision
elementalcollision merged commit f783fd1 into main Nov 23, 2026
2 checks passed
@elementalcollision
elementalcollision deleted the feat/updater-rename-bridge branch November 23, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant