PowerShell / PowerShell/PowerShell
`Import-Module` should be able to find modules with semver versioned folders
オープン
まだ誰も着手していません。
Issue-Enhancement
Needs-Triage
WG-Engine-Module
WG-NeedsReview
- 主要言語
- C#
- スター
- 55.5k
- フォーク
- 8.5k
- 平均マージ
- 1日 2時間
- マージ済み PR(30日)
- 88
説明
Summary of the new feature / enhancement
For example, Import-Module MyModuleName should be able to find:
$env:PSModulePath\MyModuleName\1.0.0-preview.1\MyModuleName.psd1
While we would not yet be able to change PSResourceGet to install modules with this structure due to needing to support down level installs reading from the same folder, we should still add this logic into the engine so that we may one day (even if in five years).
Proposed technical implementation details (optional)
No response
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Import-Module のエントリポイントから開始し、PSModulePath のモジュールフォルダーがどのように検出されるかを調べます。既存のバージョンフォルダーの検索を追跡し、1.0.0-preview.1 のような semver フォルダーをどのように考慮すべきかを判断します。Import-Module MyModuleName が、示されている MyModuleName.psd1 のレイアウトを PSResourceGet を変更せずに見つけられれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, powershell
- 領域
- cli
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100