Missing parameters implementations for the Update-MarkdownModuleFile command
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- csharp
- Área
- cli, documentation
Línea de trabajo
Start with the UpdateMarkdownModuleFileCommand class, where the issue says the HelpInfoUri and HelpVersion parameters exist but are never used. Compare it with New-MarkdownModuleFile, which already writes these values into the module front matter, and trace how the update path reads the manifest. Done when running Update-MarkdownModuleFile on a changed manifest rewrites Help Version and HelpInfoUri in the existing Test.md.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Steps to reproduce
The Update-MarkdownModuleFile command does not honor the HelpInfoUri and HelpVersion parameters (the properties are available in the UpdateMarkdownModuleFileCommand class, but not implemented).
Run New-MarkdownModuleFile with this module manifest snippet for Test.psd1 to create the module Markdown file:
Use
ModuleVersionfor theHelpVersionparameter.
@{
RootModule = 'Test.psm1'
ModuleVersion = '1.1.1'
HelpInfoURI = 'https://my-fancy-website/Test'
...
}
Then run Update-MarkdownModuleFile with an updated manifest snippet:
@{
RootModule = 'Test.psm1'
ModuleVersion = '2.0.0'
HelpInfoURI = 'https://someone-elses-fancy-website/Test'
...
}
Expected behavior
When created, front matter for module's Markdown Test.md is as follows:
---
document type: module
Help Version: 1.1.1
HelpInfoUri: https://my-fancy-website/Test
...
---
After running the update command with the updated manifest, the front matter should be as follows:
---
document type: module
Help Version: 2.0.0
HelpInfoUri: https://someone-elses-fancy-website/Test
...
---
Actual behavior
After running the update command, the front matter remains unchanged:
---
document type: module
Help Version: 1.1.1
HelpInfoUri: https://my-fancy-website/Test
...
---
Error details
Environment data
PSVersion 7.6.6
PSEdition Core
GitCommitId 7.6.6
OS Microsoft Windows 10.0.22631
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.4
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Version
1.0.3
Visuals
No response
- Lenguaje dominante
- C#
- Estrellas
- 870
- Forks
- 166
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de PowerShell/platyPS
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
PowerShell/platyPS#868 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
PowerShell/platyPS#857 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 62/100
PowerShell/platyPS#863 ·
-
Export-MamlCommandHelp: a module file in the batch aborts the whole export and writes nothingAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
PowerShell/platyPS#862 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 58/100
PowerShell/platyPS#861 ·
Todos los issues de PowerShell/platyPS
Issues similares
-
The test-platform skill doesn't say what three of its failures look likePosiblemente ocupada @yasmoradi la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
bitfoundation/bitplatform#14022 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
getsentry/sentry-dotnet#5756 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area-TableView bug needs-triage team-Controls
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
microsoft/microsoft-ui-xaml#12351 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
AudioClient and ImageClient file path overloads send the full local path as the multipart file namePosiblemente ocupada @sebxt la tomó hoy. Abiertoarea: audio area: images feature-request
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
openai/openai-dotnet#1453 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 1 día