Skip to content

feat(install): linux-aarch64 + GitHub→GitCode(CN) mirror fallback (WS6)#154

Merged
Sunrisepeak merged 2 commits into
mainfrom
feat/install-sh-multiarch
Jun 23, 2026
Merged

feat(install): linux-aarch64 + GitHub→GitCode(CN) mirror fallback (WS6)#154
Sunrisepeak merged 2 commits into
mainfrom
feat/install-sh-multiarch

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

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 — so curl … | bash works on CN/Termux with no manual flag.

  • Linux-aarch64|Linux-arm64linux-aarch64.
  • GitHub GLOBAL → GitCode CN fallback; MCPP_MIRROR=CN forces CN; latest via ?per_page=100+sort -V.

Tested: x86_64/GitHub, CN/GitCode both install 0.0.60; aarch64 URL 200. Plan: WS6.

- 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 Sunrisepeak merged commit ad3961e into main Jun 23, 2026
4 checks passed
@Sunrisepeak Sunrisepeak deleted the feat/install-sh-multiarch branch June 23, 2026 23:06
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.
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