| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Brendan Burns (@brendandburns) Please don't rebase until maintainers ask you. Rebasing complicates reviewing. |
Sorry, something went wrong.
There was a problem hiding this comment.
The Windows Computer cmdlets already use a test hook for testing, should use the same thing here. See https://github.com/PowerShell/PowerShell/blob/master/src/Microsoft.PowerShell.Commands.Management/commands/management/Computer.cs#L2130
Sorry, something went wrong.
|
We merged #11151 without new tests. |
Sorry, something went wrong.
|
I will address comments and add tests for both commands. Thanks |
Sorry, something went wrong.
|
Ilya (@iSazonov) is there a preferred style of addressing comments for the PowerShell repo? Should I just add additional commits instead of squashing commits? (I'm new here :) Thanks |
Sorry, something went wrong.
Yes, please add new commits. Some commits or one for all comments. |
Sorry, something went wrong.
|
Brendan Burns (@brendandburns) unless there is a need to preserve history, we always squash on merge. For the sake of the reviewers, it's always been easier to add new commits so we can see what exactly changed. |
Sorry, something went wrong.
There was a problem hiding this comment.
Please remove the commented code.
Sorry, something went wrong.
There was a problem hiding this comment.
Done.
Sorry, something went wrong.
|
Ilya (@iSazonov) Steve Lee (@SteveL-MSFT) Sorry it took so long for me to get back to this. I've added tests for both Restart-Computer and Stop-Computer on Unix. Please take another look. Thanks! |
Sorry, something went wrong.
There was a problem hiding this comment.
Please use It "Should support -computer parameter" -Skip:(!$IsWindows) {
Sorry, something went wrong.
There was a problem hiding this comment.
done for all.
Sorry, something went wrong.
There was a problem hiding this comment.
The same. Below too.
Sorry, something went wrong.
There was a problem hiding this comment.
done for all.
Sorry, something went wrong.
|
Ilya (@iSazonov) comments addressed, please re-check. Thanks! |
Sorry, something went wrong.
|
Brendan Burns (@brendandburns) Did you address all Steve Lee (@SteveL-MSFT) 's comments? |
Sorry, something went wrong.
|
yes, I verified in the code that I had addressed both of the comments from Steve Lee (@SteveL-MSFT) Thanks |
Sorry, something went wrong.
|
Steve Lee (@SteveL-MSFT) Please update your review. |
Sorry, something went wrong.
|
Steve Lee (@SteveL-MSFT) Please update your review. |
Sorry, something went wrong.
|
Steve Lee (@SteveL-MSFT) Please update your review |
Sorry, something went wrong.
|
The merge is bad. I'll fix it. |
Sorry, something went wrong.
…nt/ComputerUnix.cs Co-Authored-By: Ilya <darpa@yandex.ru>
…nt/ComputerUnix.cs Co-Authored-By: Ilya <darpa@yandex.ru>
|
Rebased to resolve conflicts and changed #region format to match changes from conflict |
Sorry, something went wrong.
|
PoshChan-Bot (@PoshChan) Please remind me in 1 hour |
Sorry, something went wrong.
|
Travis Plunk (@TravisEz13), this is the reminder you requested 1 hour ago |
Sorry, something went wrong.
|
Brendan Burns (@brendandburns) Thanks for your contribution! |
Sorry, something went wrong.
|
🎉v7.1.0-preview.1 has been released which incorporates this pull request.:tada: Handy links: |
Sorry, something went wrong.
…Shell#11319) Co-authored-by: Ilya <darpa@yandex.ru>
| Back | FazBrowse Home | New Git URL |
PR Summary
Implement the Restart-Computer command for Un*x and MacOS
PR Context
Compliment to the recent implementation of Stop-Computer (#11151)
PR Checklist