dotnet / dotnet/install-scripts

Install scripts don't attempt to install when the runtime specific binaries are present but not the `dotnet` executable

オープン
#552 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
devkit-related up-for-grabs
主要言語
PowerShell
スター
213
フォーク
120
PR マージ指標
30日以内にマージされた PR はありません

説明

https://github.com/dotnet/vscode-dotnet-runtime/issues/2059#issuecomment-2516628176

Install scripts could check that dotnet.exe / dotnet is present in the directory before deciding whether to install or report that it's already installed.

```
ls idir
LICENSE.txt ThirdPartyNotices.txt dotnet host shared
./dotnet-install.sh --install-dir idir/ --runtime aspnetcore
dotnet-install: ASP.NET Core Runtime with version '8.0.11' is already installed.

rm idir/dotnet
./dotnet-install.sh --install-dir idir/ --runtime aspnetcore
dotnet-install: ASP.NET Core Runtime with version '8.0.11' is already installed.
```

This change would enable a recovery from a corrupted install by using the same command again.

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

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

dotnet-install.sh から始め、issue に記載されているコマンドを使って、idir から dotnet 実行可能ファイルを削除する前と後の両方で報告された動作を再現します。既存のインストール済み runtime のチェックを追跡します。dotnet または dotnet.exe がない場合に、runtime がすでにインストールされていると報告するのではなく、スクリプトが復旧を試みるようになれば完了です。

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

評価

技術スタック
powershell, shell
領域
devops
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
64/100

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

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