install.sh: asset matcher still greps for CommandCodeAI/gui — Linux/macOS installs can never resolve a release
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 85/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- shell
- 領域
- build-system, cli
調査の方向性
バグは install.sh の 52 行目にあり、awk パターンが古いリポジトリスラグ 'CommandCodeAI/gui' をハードコードしています。修正は、パターンを現在のリポジトリ 'CommandCodeAI/desktop' に一致するように更新するか、既存の REPOSITORY 変数を使用することです。また、232 行目に古い macOS エラーメッセージがないか確認してください。スクリプトを COMMANDCODE_INSTALL_DRY_RUN=1 で実行し、'CommandCode-*-amd64.deb' のようなアセット名が解決されることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Bug: install.sh on main can never match a release asset, so macOS/Linux installs always fail with "No verified package was found in the 20 newest releases."
Root cause: REPOSITORY was corrected to CommandCodeAI/desktop, but the awk matcher inside read_asset_metadata() still hardcodes the old repo slug:
# install.sh:52
/"url": "https:\/\/api.github.com\/repos\/CommandCodeAI\/gui\/releases\/assets\// {
Every asset url in the current release JSON is .../repos/CommandCodeAI/desktop/..., so in_asset is never set and no artifact can resolve.
Minimal fix:
- /"url": "https:\/\/api.github.com\/repos\/CommandCodeAI\/gui\/releases\/assets\// {
+ /"url": "https:\/\/api.github.com\/repos\/CommandCodeAI\/desktop\/releases\/assets\// {
or better, interpolate the existing variable so it can’t drift again:
/"url": "https:\/\/api.github.com\/repos\/" repo "\/releases\/assets\//" # with -v repo="$REPOSITORY"
Also minor: install.sh:232 still fails Darwin:* with "The current macOS preview supports Apple silicon only", but Darwin:x86_64 is handled above it — the message is stale.
Suggested regression test: COMMANDCODE_INSTALL_DRY_RUN=1 ./install.sh asserting the script resolves a real asset name (e.g. CommandCode-*-amd64.deb) against the live release JSON.
Found while researching a fork — verified the matcher cannot hit the current release payload.
- 主要言語
- Shell
- スター
- 80
- フォーク
- 2
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CommandCodeAI/desktop のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
CommandCodeAI/desktop#94 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
CommandCodeAI/desktop#66 · コメント 1 件 · リアクション 2 件 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
CommandCodeAI/desktop#105 ·
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
CommandCodeAI/desktop#104 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 70/100
CommandCodeAI/desktop#103 ·
CommandCodeAI/desktop の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
bug easy help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
lacs-project/sysknife#503 ·
-
help wanted kind/documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
liquidmetal-dev/flintlock#1239 ·