microsoftgraph / microsoftgraph/msgraph-sdk-powershell
DirectoryObjects: drop the publicKeyInfrastructureRoot tag from the module mapping (v2)
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C#
- Sterne
- 898
- Forks
- 230
- Ø Merge
- 2 T. 5 Std.
- Gemergte PRs (30 T.)
- 31
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne in config/ModulesMapping.jsonc und src/DirectoryObjects/DirectoryObjects.md; vergleiche das DirectoryObjects-Mapping mit identity.DirectoryManagement und den v1.0-Zeilen in MgCommandMetadata.json. Entferne das v2-Tag und 17 Direktiven und generiere anschließend DirectoryObjects neu; fertig ist es, wenn der generierte Diff abgesehen von diesen Direktiven-Entfernungen leer ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- powershell
- Bereich
- build-system, tooling
- Issue-Typ
- Refactoring
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Aktiv
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 84/100