winget install github.copilot installs PowerShell even when PowerShell Preview is installed
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 6
説明
### Describe the bug
When installing GitHub Copilot CLI with `winget`, running `winget install github.copilot` installs `microsoft.powershell` even when `microsoft.powershell.preview` with a newer version of PowerShell is installed and available.
### Affected version
1.0.44
### Steps to reproduce the behavior
1. Install PowerShell preview on Windows with `winget install Microsoft.PowerShell.Preview`
2. Install GitHub Copilot CLI with `winget install github.copilot`
### Expected behavior
The installer sees `Microsoft.PowerShell.Preview` and uses that, instead of also installing the GA `Microsoft.PowerShell`.
### Additional context
This is fundamentally an issue in the WinGet schema, which needs OR options.
コントリビューションガイド
調査の方向性
Start by reproducing the two installation steps on Windows with PowerShell Preview installed. Then investigate the WinGet package schema and its dependency options; done means installing github.copilot recognizes the preview installation and does not add Microsoft.PowerShell GA.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- powershell
- 領域
- cli, tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100