Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭 适合新手
#3,752 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
84/100
Issue 类型
重构
描述清晰度
描述清楚
活跃度
活跃
技术栈
powershell

调研方向

从 config/ModulesMapping.jsonc 和 src/DirectoryObjects/DirectoryObjects.md 开始;将 DirectoryObjects 映射与 identity.DirectoryManagement 以及 MgCommandMetadata.json 中的 v1.0 行进行比较。删除 v2 标签和 17 个指令,然后重新生成 DirectoryObjects;当生成的 diff 除了这些指令删除之外为空时即完成。

由索引模型根据 Issue 内容生成。

描述

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.
主要语言
C#
星标
898
派生
230
平均合并
2 天 5 小时
30 天内合并 PR
31

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoftgraph/msgraph-sdk-powershell 的其他 Issue

查看 microsoftgraph/msgraph-sdk-powershell 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。