-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(GH-153) Ensure generated readme contains module name info #163
(GH-153) Ensure generated readme contains module name info #163
Conversation
0a5d9c0
to
a6fda56
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also add a changelog entry to this (should get an entry in the Fixed
section) and update the commit to be something like:
(GH-153) Ensure generated readme contains module name info
This commit corrects a bug where the auto-generated readme
was missing the PowerShell and Puppet module names from
various locations in the output markdown.
Those values were not being passed by New-PuppetDscModule
to Update-PuppetModuleReadme.
This commit also updates tests to ensure the values are passed.
Resolves #153
The changelog entry should match the format of the other entries (linking to the issue) and have a message like:
Ensure puppetized module READMEs include the PowerShell and Puppet module names where needed in the markdown.
089425a
to
01026f5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor request for changelog entry modifications.
(non-blocking): If this PR could be broken into three commits (one for each modified function), that would be preferable.
This commit corrects a bug where the auto-generated readme was missing the PowerShell and Puppet module names from various locations in the output markdown. Those values were not being passed by New-PuppetDscModule to Update-PuppetModuleReadme.
…-PuppetModuleReadme` Makes all `Update-PuppetModuleReadme` parameters except `PuppetModuleName` mandatory and do not accept null or empty values. PuppetModuleName` is excluded from this change as it is handled by a separate set of logic that uses the `PowerShellModuleName` in its place should it not be set or be set as an empty string.
01026f5
to
28b7a99
Compare
…mecontent` Makes the `PowerShellModuleName` and `PuppetModuleName` parameters in `Get-Readmecontent` mandatory and rejects null or empty values for any parameters
28b7a99
to
c1deca4
Compare
Have updated the changelog and split the commit into 3 commits |
This commit corrects a bug where the auto-generated readme was missing the PowerShell and Puppet module names from various locations in the output markdown.
Those values were not being passed by New-PuppetDscModule to Update-PuppetModuleReadme.
Also includes work to increase parameter validation within
Update-PuppetModuleReadme
andGet-Readmecontent
to help catch any empty or null values and make parameters mandatory.Resolves #153