PowerShell / PowerShell/PSScriptAnalyzer
A rule to warn overwriting of built-in PowerShell cmdlets
オープン
まだ誰も着手していません。
Area - Rules
Issue - Enhancement
Issue - New Rule
Up-for-Grabs
- 主要言語
- C#
- スター
- 2.2k
- フォーク
- 414
- 平均マージ
- 13時間 1分
- マージ済み PR(30日)
- 2
説明
Summary of the new feature
See the issue we faced over in PSES:
https://github.com/PowerShell/PowerShellEditorServices/pull/686
MS Dynamics CRM redefines Set-Content which totally broke PSES.
We should have a rule that detects the overwriting/redefining of important built-in cmdlets to prevent these breaks from happening in future module development.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、リンクされている PowerShell Editor Services のプルリクエスト 686 を読み、PSScriptAnalyzer が既存のルールをどのように表現しているかを確認します。重要な組み込み cmdlet と、再定義をどのように検出すべきかを定義します。ルールがそれらの上書きについて確実に警告し、報告された Set-Content のケースをカバーできれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- powershell
- 領域
- tooling
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100