microsoftgraph / microsoftgraph/msgraph-sdk-powershell
DirectoryObjects: drop the publicKeyInfrastructureRoot tag from the module mapping (v2)
Personne n'a encore pris cette issue.
- Langage dominant
- C#
- Étoiles
- 898
- Forks
- 230
- Merge moyen
- 2 j 5 h
- PR mergées (30 j)
- 31
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez dans config/ModulesMapping.jsonc et src/DirectoryObjects/DirectoryObjects.md ; comparez le mappage de DirectoryObjects avec identity.DirectoryManagement et les lignes v1.0 de MgCommandMetadata.json. Supprimez le tag v2 et 17 directives, puis régénérez DirectoryObjects ; c’est terminé lorsque le diff généré est vide, à l’exception de ces suppressions de directives.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- powershell
- Domaine
- build-system, tooling
- Type d'issue
- Refactorisation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- Active
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 84/100