[B001-1] PS Installation Instructions

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

メンテナーはふだん 1 日以内に返信

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

評価

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

調査の方向性

リンクされている docs/azure-cli/docs-conceptual/install-overview.md のセクションから始め、その単一コマンドの例を install/azcli-install.ps1 と比較してください。C:\Windows\System32 からドキュメントに記載されたコマンドを実行して失敗を再現し、その後、修正がドキュメントのコマンドに属するのか、スクリプトの既定のダウンロード場所に属するのかを判断してください。完了とは、PowerShell ユーザーが保護されたシステム パスに書き込むことなく、任意のディレクトリから手順に従えることを意味します。

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

説明

act-platform-engineering-squad documentation
Affected surface

Both

Describe the bug

I am following the documentation to install AzCLIPS using PowerShell on windows:

C:\Windows\System32> gh api repos/Azure/azclips/contents/install/azcli-install.ps1 -H 'Accept: application/vnd.github.raw' > azcli-install.ps1 && ./azcli-install.ps1
OpenError: Access to the path 'C:\Windows\System32\azcli-install.ps1' is denied.

This is happening because I am in system directory where the script can't be downloaded.

Related command
C:\Windows\System32> gh api repos/Azure/azclips/contents/install/azcli-install.ps1 -H 'Accept: application/vnd.github.raw' > azcli-install.ps1 && ./azcli-install.ps1
OpenError: Access to the path 'C:\Windows\System32\azcli-install.ps1' is denied.
Steps to reproduce

See above

Errors & debug output
C:\Windows\System32> gh api repos/Azure/azclips/contents/install/azcli-install.ps1 -H 'Accept: application/vnd.github.raw' > azcli-install.ps1 && ./azcli-install.ps1
OpenError: Access to the path 'C:\Windows\System32\azcli-install.ps1' is denied.
Expected behavior

The script should download the file either in temp or user directory by default. Perhaps something like:

gh api repos/Azure/azclips/contents/install/azcli-install.ps1 -H 'Accept: application/vnd.github.raw' > "$HOME\azcli-install.ps1" && & "$HOME\azcli-install.ps1"
Environment
azclips build: v0.1.7.20261104T200741Z
OS: Windows 11
Shell: PowerShell 7.6.9
Additional context

No response

主要言語
C#
スター
18
フォーク
10
平均マージ
1日 20時間
マージ済み PR(30日)
157

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

Azure/azclips のほかの issue

Azure/azclips の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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