Missing parameters implementations for the Update-MarkdownModuleFile command
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 半日
- 初心者へのやさしさ
- 68/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- csharp
- 領域
- cli, documentation
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- C#
- スター
- 870
- フォーク
- 166
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PowerShell/platyPS のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
PowerShell/platyPS#868 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
PowerShell/platyPS#857 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
PowerShell/platyPS#863 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
PowerShell/platyPS#862 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
PowerShell/platyPS#861 ·
PowerShell/platyPS の issue をすべて見る
似ている issue
-
bug priority: P2
難易度 1/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
[Docs] README/PRIVACY still name AppCenter although v1.5.6.0+ uses the Microsoft Store Services SDKオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Azure/azure-sdk-tools#17317 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
swisstopo/swissgeol-boreholes-suite#3086 ·
メンテナーはふだん 1 日以内に返信