PowerShell / PowerShell/PSScriptAnalyzer

Add simple configuration for broad targets with compatibility rules

オープン
#1,150 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

Area - Rules Issue - Enhancement
主要言語
C#
スター
2.2k
フォーク
414
平均マージ
13時間 1分
マージ済み PR(30日)
2

説明

Currently, the PSSA compatibility rules can only specify targets by name or path.

Compatibility target names are long, unintelligible and cumbersome.

Instead, users need to be able to do things like specify a list of PowerShell versions to target or a list of operating systems.

There needs to be a systematic, composable, human-readable way to specify these settings all the way from "everything" to "PowerShell 6.1 on Linux AND PowerShell 5.1 on Windows only".

While this resembles .NET RIDs, those form a simple lattice where the whole RID refers only to a granularity of operating system. A PowerShell platform can differ in operating system, PowerShell version, .NET version, .NET edition, machine architecture and process architecture (in decreasing order of importance).

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

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

はじめの一歩

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

調査の方向性

この issue ではファイルやテストが指定されていないため、まず名前またはパスで指定されたターゲットに対する PSSA 互換性ルールの処理箇所を見つけます。PowerShell のバージョン、オペレーティングシステム、その他のプラットフォームの次元をどのように組み合わせるべきかを定義し、そのうえで、提案された構成で記載された広範な互換性ターゲットと具体的な互換性ターゲットを表現できることを検証します。

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

評価

技術スタック
csharp, powershell
領域
tooling
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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