microsoftgraph / microsoftgraph/msgraph-sdk-powershell

DirectoryObjects: drop the publicKeyInfrastructureRoot tag from the module mapping (v2)

オープン 初心者向け
#3,752 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

主要言語
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:

  1. Remove directory.publicKeyInfrastructureRoot from the DirectoryObjects entry in config/ModulesMapping.jsonc.
  2. Delete the 17 dead PublicKeyInfrastructure remove directives from src/DirectoryObjects/DirectoryObjects.md.
  3. Regenerate DirectoryObjects - the diff should be empty apart from the directives, which confirms the tag was producing nothing.

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. 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

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

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