Skip to content

fix(cli): read installer assets independently of JSON layout - #534

Merged
ace331 merged 2 commits into
mainfrom
fix/installer-assets
Sep 9, 2026
Merged

ace331 merged 2 commits into
mainfrom
fix/installer-assets

Conversation

@ace331

@ace331 ace331 commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Read installer URLs and SHA-256 values strictly from assets[key], without depending on JSON line breaks or field order.
  • Use the same manifest reader for the version; preserve legacy Debian asset fallback and pinned-version behavior.
  • Keep the installer dependency-free beyond its existing shell utilities (no jq/Python runtime requirement).

Validation

  • bash -n scripts/install.sh
  • python3 scripts/test-install.py — 6 offline regression tests, including compact/inline JSON, reversed fields, assets/platforms scope, supported platform keys, escaped slashes, and pinned versions.
  • git diff --check

Limitations

  • Live manifest retrieval and a real Linux installation were not verified in this environment.
  • The download-site installer still needs to be published after this change merges.

@ace331
ace331 merged commit 507f6f6 into main Sep 9, 2026
12 checks passed
@ace331
ace331 deleted the fix/installer-assets branch September 9, 2026 09:02
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