Skip to main content

webi-deploy-installer

Deploy Webi installers and `webicached` classifier changes on beta.webi.sh and webi.sh.

소스 정보

저장소
webinstall/webi-installers
최근 소스 활동
2026년 9월 19일 00:04
감지된 SKILL.md 언어
영어
스타
3,001
포크
331

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
webi-deploy-installer
description
Deploy Webi installers and `webicached` classifier changes on beta.webi.sh and webi.sh.
# Deploy Webi installer changes Use `../webi-installers.d/` for a clean worktree at the commit being tested. Keep the primary worktree and unrelated changes untouched. ## One package Use this for changes limited to one package's installer or `releases.conf`. The script takes a host followed by one or more package names. ```sh ./scripts/deploy-installers.sh beta.webi.sh timeout xz ``` It syncs each package's installer files, refreshes only that package's release cache, and checks the public installer endpoint. Package arguments matter: without them, `webicached` refreshes the whole catalog and spends the GitHub API budget. Test the result: ```sh curl -fsSL "https://beta.webi.sh/${g_pkg}" | sh ``` Check the installed command and version. ## Endpoints | Endpoint | Purpose | | --- | --- | | `https://beta.webi.sh/<pkg>` | bootstrap installer | | `https://beta.webi.sh/api/installers/<pkg>@<ver>.sh?formats=zip,tar` | generated install script | | `https://beta.webi.sh/api/releases/<pkg>@<ver>.json` | release assets (JSON) | | `https://beta.webi.sh/api/releases/<pkg>@<ver>.tab` | release assets (TSV) | | `https://webi.sh/<pkg>` | production bootstrap | | `https://webinstall.dev/api/installers/<pkg>@<ver>.sh?formats=zip,tar` | production install script | | `https://webinstall.dev/api/releases/<pkg>@<ver>.json` | production assets (JSON) | | `https://webinstall.dev/api/releases/<pkg>@<ver>.tab` | production assets (TSV) | ## Classifier or multiple packages A package-only refresh does not deploy Go changes in `internal/classifypkg/`, `internal/classify/`, or `internal/releases/<pkg>/variants.go`. Use the repository deploy script: ```sh ./scripts/deploy-webicached.sh beta.webi.sh ``` It builds and restarts `webicached`, syncs all `releases.conf` files, and checks the deployed version and logs. Deploy production only after beta succeeds: ```sh ./scripts/deploy-webicached.sh webi.sh ``` For classifier changes, inspect the raw cache on the target host. This avoids confusing the classifier result with a transformed public API response: ```sh g_pkg=bat ssh beta.webi.sh <<SSH_EOF set -Cue jq -r '[.[] | select(.os == "linux") | .libc] | unique' \ ~/.cache/webi/legacy/${g_pkg}.json SSH_EOF ```
GitHub에서 보기