feat(install): linux-aarch64 + GitHub→GitCode(CN) mirror fallback (WS6)#154
Merged
Conversation
- Platform detection now maps Linux-aarch64/Linux-arm64 → linux-aarch64 (Arch Linux ARM, aarch64 servers, Termux). Was linux-x86_64 + macosx-arm64 only. - Download is mirror-aware: try GitHub (GLOBAL) first, fall back to GitCode (xlings-res/mcpp, CN) when GitHub is blocked/slow — so the one-liner works on CN/Termux without a manual flag. MCPP_MIRROR=CN forces GitCode. GitCode 'latest' resolved via /releases?per_page=100 + sort -V (default page misses recent vers). Tested: x86_64 GitHub (0.0.60), CN GitCode (0.0.60), aarch64 URL 200.
install.sh now advertises linux-aarch64; the platform-mapping invariant test pinned the old 'linux-x86_64, macosx-arm64' string and had no aarch64 case, so it failed on the WS6 change. Add the Linux-aarch64→ linux-aarch64 mapping check, update the supported-platforms string, and guard that release.yml publishes the mcpp-linux-aarch64.tar.gz alias (parity with the existing macosx-arm64 guard) — keeping advertise↔publish in lockstep.
Sunrisepeak
added a commit
that referenced
this pull request
Jun 23, 2026
Ships the WS3/WS5/WS6 + manifest work merged for this cycle: - offline-first miss-triggered index refresh + `mcpp index status` (#155) - first-init timestamped --verbose timing logs (#153) - install.sh linux-aarch64 + GitHub→GitCode(CN) mirror fallback (#154) - TOML-native namespaced self-host dep (#156) Bumps mcpp.toml + MCPP_VERSION together (test 01 ties --version to the manifest) and adds the 0.0.61 CHANGELOG entry. The .xlings.json bootstrap pin stays at 0.0.60 until 0.0.61 is published+mirrored+indexed (CI bootstraps from the published version), then bumps in a follow-up.
Sunrisepeak
added a commit
that referenced
this pull request
Jun 23, 2026
Ships the WS3/WS5/WS6 + manifest work merged for this cycle: - offline-first miss-triggered index refresh + `mcpp index status` (#155) - first-init timestamped --verbose timing logs (#153) - install.sh linux-aarch64 + GitHub→GitCode(CN) mirror fallback (#154) - TOML-native namespaced self-host dep (#156) Bumps mcpp.toml + MCPP_VERSION together (test 01 ties --version to the manifest) and adds the 0.0.61 CHANGELOG entry. The .xlings.json bootstrap pin stays at 0.0.60 until 0.0.61 is published+mirrored+indexed (CI bootstraps from the published version), then bumps in a follow-up.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
install.sh now supports linux-aarch64 (Arch Linux ARM / aarch64 / Termux) and falls back from GitHub to the GitCode CN mirror (
xlings-res/mcpp) when GitHub is blocked — socurl … | bashworks on CN/Termux with no manual flag.Linux-aarch64|Linux-arm64→linux-aarch64.MCPP_MIRROR=CNforces CN; latest via?per_page=100+sort -V.Tested: x86_64/GitHub, CN/GitCode both install 0.0.60; aarch64 URL 200. Plan: WS6.