Skip to content

installer: replace init with version-aware router#285

Open
fischeti wants to merge 1 commit intowebsitefrom
fischeti/website
Open

installer: replace init with version-aware router#285
fischeti wants to merge 1 commit intowebsitefrom
fischeti/website

Conversation

@fischeti
Copy link
Contributor

@fischeti fischeti commented Mar 3, 2026

Rename the old init script to init-legacy (unchanged) and introduce a thin version-aware router as the new init entry point.

  • Versions >= 0.32.0 (first cargo-dist release) and latest are routed to the cargo-dist installer on GitHub Releases.
  • Older versions are delegated to init-legacy, preserving full backward compatibility including the sh -s -- VERSION interface.

Rename the old init script to init-legacy (unchanged) and introduce a
thin version-aware router as the new init entry point.

- Versions >= 0.31.0 (first cargo-dist release) and 'latest' are
  routed to the cargo-dist installer on GitHub Releases.
- Older versions are delegated to init-legacy, preserving full
  backward compatibility including the sh -s -- VERSION interface.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@fischeti fischeti marked this pull request as ready for review March 3, 2026 22:08
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