[PR #50] [MERGED] chore: modernize install.sh with gum UI, spinners, and CI test matrix #51

Closed
opened 2026-02-15 17:17:27 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/openclaw/openclaw.ai/pull/50
Author: @sebslight
Created: 2/10/2026
Status: Merged
Merged: 2/10/2026
Merged by: @sebslight

Base: mainHead: chore/modernize-install-sh


📝 Commits (2)

  • dd4e7d5 chore(install): modernize install.sh with gum UI, quiet output, and CI test matrix
  • 3121ae3 fix: address review findings for installer hardening/docs (#50) (thanks @sebslight)

📊 Changes

6 files changed (+879 additions, -193 deletions)

View changed files

.github/workflows/install-matrix.yml (+51 -0)
📝 .gitignore (+3 -0)
📝 CHANGELOG.md (+5 -0)
📝 README.md (+5 -0)
📝 public/install.sh (+671 -193)
scripts/test-install-matrix.sh (+144 -0)

📄 Description

Intent: modernize install.sh UX from noisy/raw output to a clean, guided installer experience, while preserving the same install targets and core flow (npm/git).

  • Started from: container/CI runs produced noisy package-manager output and terminal control-sequence clutter; installer messaging was inconsistent (warnings for expected actions)
  • Added structured UX: framed header, stage progress bars ([1/3] Preparing, [2/3] Installing, [3/3] Finalizing), clear step statuses, and interactive method chooser when TTY is available
  • Added optional gum runtime UX (spinner/log styling) with graceful fallback to plain output when gum is unavailable, disabled, or non-interactive
  • Added quiet execution path: apt/dnf/yum/npm output is captured by default and surfaced on failure; --verbose restores full command output
  • Flags/vars reference: install.sh supports --gum/--no-gum and OPENCLAW_USE_GUM=auto|1|0 (plus OPENCLAW_GUM_VERSION override); also supports CLAWDBOT_USE_GUM as a compatibility alias
  • Added matrix runner + CI workflow: scripts/test-install-matrix.sh and .github/workflows/install-matrix.yml with --mode (dry-run|full), repeatable --image, and default CI behavior set to --no-gum for clean logs

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/openclaw/openclaw.ai/pull/50 **Author:** [@sebslight](https://github.com/sebslight) **Created:** 2/10/2026 **Status:** ✅ Merged **Merged:** 2/10/2026 **Merged by:** [@sebslight](https://github.com/sebslight) **Base:** `main` ← **Head:** `chore/modernize-install-sh` --- ### 📝 Commits (2) - [`dd4e7d5`](https://github.com/openclaw/openclaw.ai/commit/dd4e7d529bf33da71215b7e5b114081483ad74c0) chore(install): modernize install.sh with gum UI, quiet output, and CI test matrix - [`3121ae3`](https://github.com/openclaw/openclaw.ai/commit/3121ae3f9d29cd6f4a4a471c9769c58c44addbc2) fix: address review findings for installer hardening/docs (#50) (thanks @sebslight) ### 📊 Changes **6 files changed** (+879 additions, -193 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/install-matrix.yml` (+51 -0) 📝 `.gitignore` (+3 -0) 📝 `CHANGELOG.md` (+5 -0) 📝 `README.md` (+5 -0) 📝 `public/install.sh` (+671 -193) ➕ `scripts/test-install-matrix.sh` (+144 -0) </details> ### 📄 Description Intent: modernize install.sh UX from noisy/raw output to a clean, guided installer experience, while preserving the same install targets and core flow (npm/git). - Started from: container/CI runs produced noisy package-manager output and terminal control-sequence clutter; installer messaging was inconsistent (warnings for expected actions) - Added structured UX: framed header, stage progress bars ([1/3] Preparing, [2/3] Installing, [3/3] Finalizing), clear step statuses, and interactive method chooser when TTY is available - Added optional gum runtime UX (spinner/log styling) with graceful fallback to plain output when gum is unavailable, disabled, or non-interactive - Added quiet execution path: apt/dnf/yum/npm output is captured by default and surfaced on failure; --verbose restores full command output - Flags/vars reference: install.sh supports --gum/--no-gum and OPENCLAW_USE_GUM=auto|1|0 (plus OPENCLAW_GUM_VERSION override); also supports CLAWDBOT_USE_GUM as a compatibility alias - Added matrix runner + CI workflow: scripts/test-install-matrix.sh and .github/workflows/install-matrix.yml with --mode (dry-run|full), repeatable --image, and default CI behavior set to --no-gum for clean logs --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 17:17:27 -05:00
yindo closed this issue 2026-02-15 17:17:27 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: openclaw/openclaw.ai#51