★ wanayoo — archive 1999 https://github.com/PowerShell/PowerShell/pull/7650Nouvelle recherche | Portail wanayoo
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

Remove SuspendJob and ResumeJob cmdlets from compilation #7650

Conversation

@JamesWTruher
Copy link
Member

commented Aug 28, 2018

The classes for the cmdlets are present but the Cmdlet attribute has been removed. There is no reason why we should be compiling these files, and it very slightly impacts our code coverage numbers.

This can be taken for 6.2, there is no reason to take it for 6.1

PR Summary

Remove SuspendJob and ResumeJob from compilation

PR Checklist

Remove SuspendJob and ResumeJob sources from compilation
The classes for the cmdlets are present but the Cmdlet attribute has been removed. There is no reason why we should be compiling these files, and it very slightly impacts our code coverage numbers.

@JamesWTruher JamesWTruher requested a review from daxian-dbw Aug 28, 2018

@JamesWTruher JamesWTruher changed the title Remove SuspendJob and ResumeJob sources from compilation Remove SuspendJob and ResumeJob cmdlets from compilation Aug 28, 2018

<Compile Remove="engine\remoting\commands\ConnectPSSession.cs" />
<Compile Remove="engine\remoting\commands\CustomShellCommands.cs" />

This comment has been minimized.

Copy link
@adityapatwardhan

adityapatwardhan Aug 28, 2018

Member

The ItemGroup is specific to non-windows. I think we need to remove these for all platforms

This comment has been minimized.

Copy link
@JamesWTruher

JamesWTruher Aug 28, 2018

Author Member

definitely should be all platforms to remove.
fixed

@daxian-dbw daxian-dbw merged commit 6d74298 into PowerShell:master Aug 30, 2018

8 checks passed

CodeFactor No issues found.
Details
PowerShell-CI-linux #PR-7650-20180828.02 succeeded with issues
Details
PowerShell-CI-macos #PR-7650-20180828.02 succeeded with issues
Details
PowerShell-CI-windows #PR-7650-20180828.02 succeeded
Details
WIP ready for review
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
license/cla All CLA requirements met.

TravisEz13 added a commit that referenced this pull request Aug 31, 2018

Remove 'Suspend-Job' and 'Resume-Job' cmdlets from compilation (#7650)
The classes for the cmdlets are present but the Cmdlet attribute has been removed. There is no reason why we should be compiling these files, and it very slightly impacts our code coverage numbers.

@TravisEz13 TravisEz13 added this to the v6.1.0 milestone Aug 31, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.