-
Notifications
You must be signed in to change notification settings - Fork 47
Init migrate PlatyPS to Microsoft.PowerShell.PlatyPS #501
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
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #501 +/- ##
===================================
Coverage 81% 81%
===================================
Files 44 44
Lines 2337 2335 -2
===================================
Hits 1912 1912
+ Misses 425 423 -2
|
|
@Gijsreyn are you still working on this? I waiting for the tests to pass. |
|
I thought the changelog only needed to be updated so all tests would pass, but I cannot seem why there are suddenly so many failures. I'll close it down to not break stuff @johlju. |
|
It looks like the errors were not the result of this PR but a change in DscResource.Test. You can reopen this if you like and I will fix the issue in a separate PR. |
Done! I was in shock in the failing tests... Let me know on the fix and then we can try again :) |
|
There are seemingly a bug in ModuleBuilder that prevents the integration tests in this repo from working fully on PS5.1, see PoshCode/ModuleBuilder#135. That needs to be fixed first before I can merge a fix to solve the issue with DscResource.Test in PR #514. 🙂 |
|
I have finally merged a workaround for the problem with ModuleBuilder. Please resolve the conflicts in this PR (merge in main) and the tests should work again. |
…soft-powershell-platyps
|
Very much appreciated @johlju. Great job on the merge. I've just resolved the conflicts. Should be good to go. |
…soft-powershell-platyps
|
Hey @johlju, do you perhaps have time to pull this one in? |
|
I will try to get some time to look at this. Do you know if there are any negative consequences of this change in generated docs output? |
|
@johlju Thanks for the response. It shouldn't have any negative consequences. Instead, it should help migrate to the newer formats, e.g., extended parameter settings are documented. |
|
This is what I found doing a quick comparison:
This probably have consequences for those using this task, if it can't be resolved one way or the other. Should probably be documented. |
|
Do you want me to take a look at it, or want me to document it? If so, on the documentation part, do you have any suggestions? |
|
The best would be to document what a comment-based help must look like to get the best output, and what the user need to do after the docs have been generated. This would be best documented in the README.md under Tasks. Then in the changelog document all the breaking changes like the paths that differ. |
|
Gotcha, thanks a lot again. I'll put it on my TODO list and let you know when its done. |
Pull Request
Pull Request (PR) description
Initialize migrating from PlatyPS to Microsoft.PowerShell.PlatyPS. Relates to #497
Deprecated
Task list
build.ps1 -ResolveDependency).This change is