github / github/copilot-cli

Installing a Specific Version Always Installs the Latest Version

オープン 初心者向け
#4,317 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

area:installation
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

Describe the bug

I wanted to downgrade Copilot in Docker Sandbox because the latest version is not working correctly. Following the installation instructions from the README, I attempted to install version v1.0.75. However, regardless of the version specified, the installer always installs the latest available version.

Reproduced in WSL and Docker Sandboxes

Affected version

No response

Steps to reproduce the behavior
  1. Install latest version curl -fsSL https://gh.io/copilot-install | bash
  2. Delete installed binary rm ~/.local/bin/copilot
  3. Attempt to install a specific version curl -fsSL https://gh.io/copilot-install | VERSION="v1.0.75" bash
Expected behavior

Version v1.0.75 is installed

Additional context
agent@copilot:/$ curl -fsSL https://gh.io/copilot-install | VERSION="v1.0.75" bash
Installing GitHub Copilot CLI...
Downloading from: https://github.com/github/copilot-cli/releases/download/v1.0.75/copilot-linux-x64.tar.gz
✓ Checksum validated
✓ GitHub Copilot CLI installed to /home/agent/.local/bin/copilot

Installation complete! Run 'copilot help' to get started.
agent@copilot:/$ copilot --version
GitHub Copilot CLI 1.0.77.
Run 'copilot update' to check for updates.
agent@copilot:/$ which copilot
/home/agent/.local/bin/copilot

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず README のインストール手順と https://gh.io/copilot-install を通じて呼び出されるインストーラーを確認し、次に issue にある VERSION="v1.0.75" コマンドを再現します。要求されたバージョンがどのように処理されるかを追跡し、インストールされたバイナリが最新リリースではなく v1.0.75 を報告することを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
shell
領域
cli
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
静か
明瞭さ
明確に書かれている
初心者へのやさしさ
68/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。