dotnet-install.sh depends on awk without checking for it
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 68/100
調査の方向性
まず dotnet-install.sh から始め、依存関係のチェックと、次に挙げる awk の呼び出し箇所をたどってください: get_download_link_from_aka_ms、parse_globaljson_file_for_version、get_remote_file_size、downloadcurl、downloadwget。awk を事前にチェックするか、使用を取り除くかを判断し、許容されるファイルサイズ取得の失敗と、明示的な --version の経路を考慮してください。awk がない場合に前提条件を示す明確なエラーが出るか、これらの経路が awk に依存しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The minimal Azure Linux 4 base image (mcr.microsoft.com/azurelinux/core:4) does not include awk. dotnet-install.sh only checks for curl or wget, so it accepts this environment but can fail later when resolving a channel/latest version.
The missing dependency surfaced when moving SuperPMI workloads to the Azure Linux 4 Helix image: https://github.com/dotnet/runtime/pull/136337. The image-side fix is https://github.com/dotnet/dotnet-buildtools-prereqs-docker/pull/1782.
awk is used in:
get_download_link_from_aka_ms: parsing redirect status codes and the download URL (--channel/latest resolution).parse_globaljson_file_for_version: parsing the SDK version (--jsonfile).get_remote_file_size: extracting Content-Length after a download; failure here can be tolerated.downloadcurl/downloadwget: parsing HTTP status codes on download failures.
Explicit --version skips the aka.ms path, so the problem does not necessarily prevent every installation. Please check for awk up front with a clear prerequisite error, or remove the dependency.
- 主要言語
- PowerShell
- スター
- 212
- フォーク
- 123
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dotnet/install-scripts のほかの issue
-
Improve output for unsupported one-part channel in dotnet-install.sh対応中かも @luissena が 219 日前に担当しました。 オープンup-for-grabs
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
dotnet/install-scripts#686 · リアクション 2 件 ·
-
PR validation Windows leg takes ~50 minutes再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンarea-infra
dotnet/install-scripts#699 · リアクション 2 件 · 担当者 1 名 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
dotnet/install-scripts#595 · コメント 5 件 ·
-
needs-pm-discussion
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
dotnet/install-scripts#583 · コメント 1 件 · リアクション 2 件 ·
-
needs-pm-discussion
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
dotnet/install-scripts#580 · コメント 1 件 · リアクション 6 件 ·
dotnet/install-scripts の issue をすべて見る
似ている issue
-
C-enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
obi1kenobi/cargo-semver-checks#1785 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
yetone/magpie#3737 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
schema-map --csv falsely reports objectid/globalid as 'not in the file' (name-based, not type-based)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
OCHA-DAP/topo-tools-py#222 ·
-
fm-spawn: bash 5.2 patsub_replacement turns '&' in a home or project path into the placeholder textオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
kunchenguid/firstmate#7786 ·
メンテナーはふだん 1 日以内に返信