Skip to content
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

New Log implementation for update scenario #214

Closed
jongeller opened this issue Sep 19, 2016 · 3 comments
Closed

New Log implementation for update scenario #214

jongeller opened this issue Sep 19, 2016 · 3 comments
Assignees
Labels
Area-UpdateMarkdown Issue deals with the Update-* cmdlets

Comments

@jongeller
Copy link
Contributor

For @sankethka - this will update the logging in PlatyPS for the update scenario. In Update-MarkdownHelp and Update-MarkdownHelpModule

The logs will now have output that looks like the following:

Start and End

---- UPDATING Cmdlet : ----
---- COMPLETED UPDATING Cmdlet : ----

Parameter sets – Any addition/deletion or updates to parameter sets should be reflected in log file.

Parameter set being added

Parameter Set Added:

Parameter set being deleted

Parameter Set Deleted:

Parameter Set Updated:

Old Set:
New Set:
No need to show any row if there were no updates done.

Parameters – Any addition/deletion or updates to parameter and their attributes

For any new parameter being added

Parameter Added:

For any parameter being deleted

Parameter Deleted:

Parameter Updated:

updated from to
updated from to
updated from to

If no updates have been done to parameter show within start and end

     No updates done

Cmdlets

For NEW Cmdlets being added

---- NEW Cmdlet Added: ----

For Deleted Cmdlets

---- DELETED Cmdlet: ----

Errors

If any errors updating cmdlet

---- ERROR updating Cmdlet: ----

If tool encountered any errors updating module show:

---- ERROR updating module ----

@jongeller jongeller self-assigned this Sep 19, 2016
@jongeller jongeller added enhancement Area-UpdateMarkdown Issue deals with the Update-* cmdlets labels Sep 19, 2016
@sankethka
Copy link

@jongeller got it. thanks

@TaraMeyer
Copy link

@jongeller has the log been implemented or is it still in dev? Thanks!

@vors
Copy link
Collaborator

vors commented Sep 7, 2017

Fixed in #217

@vors vors closed this as completed Sep 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-UpdateMarkdown Issue deals with the Update-* cmdlets
Projects
None yet
Development

No branches or pull requests

4 participants