PowerShell / PowerShell/PSResourceGet
Uninstall-PSResource: • Uninstall is not checking for dependencies (for Az modules)
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 576
- フォーク
- 114
- 平均マージ
- 1日 2時間
- マージ済み PR(30日)
- 7
説明
Summary of the new feature / enhancement
• Uninstall is not checking for dependencies – Here is a repro. Note that Az.Accounts is removed instead of throwing an error.
PS> Install-PSResource Az.Billing -Repository PSGallery -Reinstall -PassThru
Name Version Prerelease Repository Description
Az.Billing 2.0.0.0 PSGallery Microsoft Azure PowerShell - Billing service cmdlets for Azure Resource Mana…
Az.Accounts 2.9.1.0 PSGallery Microsoft Azure PowerShell - Accounts credential management cmdlets for Azur…
PS> Uninstall-PSResource Az.Accounts
PS> gmo az.* -list
Directory: C:\Users\sewhee\Documents\PowerShell\Modules
ModuleType Version PreRelease Name PSEdition ExportedCommands
Script 2.0.0 Az.Billing Core,Desk {Get-AzBillingInvoice, Get-AzBillingPer…
Proposed technical implementation details (optional)
No response
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、提供されている Install-PSResource Az.Billing と Uninstall-PSResource Az.Accounts のシーケンスを再現し、次に Az モジュールに対する Uninstall-PSResource の依存関係処理を追跡します。別のインストール済みモジュールから必要とされているモジュールをアンインストールすると、その削除を拒否して依存関係を報告し、この再現ケースに対するリグレッションカバレッジがある状態になったら、変更は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, powershell
- 領域
- cli, tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100