microsoftgraph / microsoftgraph/msgraph-sdk-powershell
DirectoryObjects: drop the publicKeyInfrastructureRoot tag from the module mapping (v2)
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 898
- フォーク
- 230
- 平均マージ
- 2日 5時間
- マージ済み PR(30日)
- 31
説明
While fixing a duplicate-generation problem in v3 (#3733), we found that the DirectoryObjects entry in config/ModulesMapping.jsonc on main still claimsdirectory.publicKeyInfrastructureRoot, but the module never actually ships that surface. The cmdlets get generated and then deleted again by 17 remove directives in src/DirectoryObjects/DirectoryObjects.md. The real owner is identity.DirectoryManagement - it has all 18 publicKeyInfrastructure files on main across v1.0 and beta, and every v1.0 row in MgCommandMetadata.json points there.
So today the tag just creates work that directives throw away, and the mapping says the wrong module owns the surface. v3 already removed the tag on its side; this issue is to do the same on v2, per the review discussion on #3733.
Suggested fix:
- Remove directory.publicKeyInfrastructureRoot from the DirectoryObjects entry in config/ModulesMapping.jsonc.
- Delete the 17 dead PublicKeyInfrastructure remove directives from src/DirectoryObjects/DirectoryObjects.md.
- Regenerate DirectoryObjects - the diff should be empty apart from the directives, which confirms the tag was producing nothing.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
config/ModulesMapping.jsonc と src/DirectoryObjects/DirectoryObjects.md から始め、DirectoryObjects のマッピングを identity.DirectoryManagement および MgCommandMetadata.json の v1.0 の行と比較します。v2 タグと 17 個のディレクティブを削除してから DirectoryObjects を再生成します。これらのディレクティブの削除以外に生成された差分が空になれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- powershell
- 領域
- build-system, tooling
- issue の種類
- リファクタリング
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 活発
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 84/100