{"action":"created","comment":{"url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/comments/123423988","pull_request_review_id":45624216,"id":123423988,"diff_hunk":"@@ -286,122 +287,191 @@ function Start-PSBuild {\n         Start-XamlGen -MSBuildConfiguration $msbuildConfiguration\n     }\n \n-    # Build native components\n-    if (($IsLinux -or $IsOSX) -and -not $SMAOnly) {\n-        $Ext = if ($IsLinux) {\n-            \"so\"\n-        } elseif ($IsOSX) {\n-            \"dylib\"\n-        }\n+    if ($BuildNative)\n+    {\n+        # Build native components\n+        if (($IsLinux -or $IsOSX) -and -not $SMAOnly) {\n+            $Ext = if ($IsLinux) {\n+                \"so\"\n+            } elseif ($IsOSX) {\n+                \"dylib\"\n+            }\n \n-        $Native = \"$PSScriptRoot/src/libpsl-native\"\n-        $Lib = \"$($Options.Top)/libpsl-native.$Ext\"\n-        log \"Start building $Lib\"\n+            $Native = \"$PSScriptRoot/src/libpsl-native\"\n+            $Lib = \"$($Options.Top)/libpsl-native.$Ext\"\n+            log \"Start building $Lib\"\n \n-        try {\n-            Push-Location $Native\n-            Start-NativeExecution { cmake -DCMAKE_BUILD_TYPE=Debug . }\n-            Start-NativeExecution { make -j }\n-            Start-NativeExecution { ctest --verbose }\n-        } finally {\n-            Pop-Location\n-        }\n+            try {\n+                Push-Location $Native\n+                Start-NativeExecution { cmake -DCMAKE_BUILD_TYPE=Debug . }\n+                Start-NativeExecution { make -j }\n+                Start-NativeExecution { ctest --verbose }\n+            } finally {\n+                Pop-Location\n+            }\n \n-        if (-not (Test-Path $Lib)) {\n-            throw \"Compilation of $Lib failed\"\n-        }\n-    } elseif ($IsWindows -and (-not $SMAOnly)) {\n-        log \"Start building native Windows binaries\"\n+            if (-not (Test-Path $Lib)) {\n+                throw \"Compilation of $Lib failed\"\n+            }\n+        } elseif ($IsWindows -and (-not $SMAOnly)) {\n+            log \"Start building native Windows binaries\"\n \n-        try {\n-            Push-Location \"$PSScriptRoot\\src\\powershell-native\"\n+            try {\n+                Push-Location \"$PSScriptRoot\\src\\powershell-native\"\n \n-            $NativeHostArch = \"x64\"\n-            if ($script:Options.Runtime -match \"-x86\")\n-            {\n-                $NativeHostArch = \"x86\"\n-            }\n+                $NativeHostArch = \"x64\"\n+                if ($script:Options.Runtime -match \"-x86\")\n+                {\n+                    $NativeHostArch = \"x86\"\n+                }\n \n-            # setup cmakeGenerator\n-            if ($NativeHostArch -eq 'x86') {\n-                $cmakeGenerator = 'Visual Studio 14 2015'\n-            } else {\n-                $cmakeGenerator = 'Visual Studio 14 2015 Win64'\n-            }\n+                # setup cmakeGenerator\n+                if ($NativeHostArch -eq 'x86') {\n+                    $cmakeGenerator = 'Visual Studio 14 2015'\n+                } else {\n+                    $cmakeGenerator = 'Visual Studio 14 2015 Win64'\n+                }\n \n-            # Compile native resources\n-            $currentLocation = Get-Location\n-            @(\"nativemsh/pwrshplugin\") | % {\n-                $nativeResourcesFolder = $_\n-                Get-ChildItem $nativeResourcesFolder -Filter \"*.mc\" | % {\n-                    $command = @\"\n-cmd.exe /C cd /d \"$currentLocation\" \"&\" \"$($vcVarsPath)\\vcvarsall.bat\" \"$NativeHostArch\" \"&\" mc.exe -o -d -c -U \"$($_.FullName)\" -h \"$nativeResourcesFolder\" -r \"$nativeResourcesFolder\"\n+                # Compile native resources\n+                $currentLocation = Get-Location\n+                @(\"nativemsh/pwrshplugin\") | % {\n+                    $nativeResourcesFolder = $_\n+                    Get-ChildItem $nativeResourcesFolder -Filter \"*.mc\" | % {\n+                        $command = @\"\n+    cmd.exe /C cd /d \"$currentLocation\" \"&\" \"$($vcVarsPath)\\vcvarsall.bat\" \"$NativeHostArch\" \"&\" mc.exe -o -d -c -U \"$($_.FullName)\" -h \"$nativeResourcesFolder\" -r \"$nativeResourcesFolder\"\n \"@\n-                    log \"  Executing mc.exe Command: $command\"\n-                    Start-NativeExecution { Invoke-Expression -Command:$command 2>&1 }\n+                        log \"  Executing mc.exe Command: $command\"\n+                        Start-NativeExecution { Invoke-Expression -Command:$command 2>&1 }\n+                    }\n                 }\n-            }\n \n-            function Build-NativeWindowsBinaries {\n-                param(\n-                    # Describes wither it should build the CoreCLR or FullCLR version\n-                    [ValidateSet(\"ON\", \"OFF\")]\n-                    [string]$OneCoreValue,\n+                function Build-NativeWindowsBinaries {\n+                    param(\n+                        # Describes wither it should build the CoreCLR or FullCLR version\n+                        [ValidateSet(\"ON\", \"OFF\")]\n+                        [string]$OneCoreValue,\n \n-                    # Array of file names to copy from the local build directory to the packaging directory\n-                    [string[]]$FilesToCopy\n-                )\n+                        # Array of file names to copy from the local build directory to the packaging directory\n+                        [string[]]$FilesToCopy\n+                    )\n \n-# Disabling until I figure out if it is necessary\n-#                $overrideFlags = \"-DCMAKE_USER_MAKE_RULES_OVERRIDE=$PSScriptRoot\\src\\powershell-native\\windows-compiler-override.txt\"\n-                $overrideFlags = \"\"\n-                $location = Get-Location\n+    # Disabling until I figure out if it is necessary\n+    #                $overrideFlags = \"-DCMAKE_USER_MAKE_RULES_OVERRIDE=$PSScriptRoot\\src\\powershell-native\\windows-compiler-override.txt\"\n+                    $overrideFlags = \"\"\n+                    $location = Get-Location\n \n-                $command = @\"\n-cmd.exe /C cd /d \"$location\" \"&\" \"$($vcVarsPath)\\vcvarsall.bat\" \"$NativeHostArch\" \"&\" cmake \"$overrideFlags\" -DBUILD_ONECORE=$OneCoreValue -DBUILD_TARGET_ARCH=$NativeHostArch -G \"$cmakeGenerator\" . \"&\" msbuild ALL_BUILD.vcxproj \"/p:Configuration=$msbuildConfiguration\"\n+                    $command = @\"\n+    cmd.exe /C cd /d \"$location\" \"&\" \"$($vcVarsPath)\\vcvarsall.bat\" \"$NativeHostArch\" \"&\" cmake \"$overrideFlags\" -DBUILD_ONECORE=$OneCoreValue -DBUILD_TARGET_ARCH=$NativeHostArch -G \"$cmakeGenerator\" . \"&\" msbuild ALL_BUILD.vcxproj \"/p:Configuration=$msbuildConfiguration\"\n \"@\n-                log \"  Executing Build Command: $command\"\n-                Start-NativeExecution { Invoke-Expression -Command:$command }\n+                    log \"  Executing Build Command: $command\"\n+                    Start-NativeExecution { Invoke-Expression -Command:$command }\n \n-                $clrTarget = \"FullClr\"\n-                if ($OneCoreValue -eq \"ON\")\n-                {\n-                    $clrTarget = \"CoreClr\"\n+                    $clrTarget = \"FullClr\"\n+                    if ($OneCoreValue -eq \"ON\")\n+                    {\n+                        $clrTarget = \"CoreClr\"\n+                    }\n+\n+                    # Copy the binaries from the local build directory to the packaging directory\n+                    $dstPath = ($script:Options).Top\n+                    $FilesToCopy | % {\n+                        $srcPath = Join-Path (Join-Path (Join-Path (Get-Location) \"bin\") $msbuildConfiguration) \"$clrTarget/$_\"\n+                        log \"  Copying $srcPath to $dstPath\"\n+                        Copy-Item $srcPath $dstPath\n+                    }\n                 }\n \n-                # Copy the binaries from the local build directory to the packaging directory\n-                $dstPath = ($script:Options).Top\n-                $FilesToCopy | % {\n-                    $srcPath = Join-Path (Join-Path (Join-Path (Get-Location) \"bin\") $msbuildConfiguration) \"$clrTarget/$_\"\n-                    log \"  Copying $srcPath to $dstPath\"\n-                    Copy-Item $srcPath $dstPath\n+                if ($FullCLR) {\n+                    $fullBinaries = @(\n+                        'powershell.exe',\n+                        'powershell.pdb',\n+                        'pwrshplugin.dll',\n+                        'pwrshplugin.pdb'\n+                    )\n+                    Build-NativeWindowsBinaries \"OFF\" $fullBinaries\n+                }\n+                else\n+                {\n+                    $coreClrBinaries = @(\n+                        'pwrshplugin.dll',\n+                        'pwrshplugin.pdb'\n+                    )\n+                    Build-NativeWindowsBinaries \"ON\" $coreClrBinaries\n                 }\n+            } finally {\n+                Pop-Location\n             }\n-\n-            if ($FullCLR) {\n-                $fullBinaries = @(\n-                    'powershell.exe',\n-                    'powershell.pdb',\n-                    'pwrshplugin.dll',\n-                    'pwrshplugin.pdb'\n+        }\n+    }\n+    else\n+    {\n+        # use native binaries from $PSHOME, assume it is latest\n+        $nativeBinaries = @()\n+        if ($IsWindows)\n+        {\n+            if ($PSVersionTable.PSEdition -ne \"Core\")\n+            {\n+                # if running under Windows PowerShell, we'll need to get the binaries from GitHub release","path":"build.psm1","position":236,"original_position":236,"commit_id":"c9dac9bf0cea3933c2f9856dbfc5c71e9ef0e894","original_commit_id":"c9dac9bf0cea3933c2f9856dbfc5c71e9ef0e894","user":{"login":"SteveL-MSFT","id":11859881,"avatar_url":"https://avatars2.githubusercontent.com/u/11859881?v=3","gravatar_id":"","url":"https://api.github.com/users/SteveL-MSFT","html_url":"https://github.com/SteveL-MSFT","followers_url":"https://api.github.com/users/SteveL-MSFT/followers","following_url":"https://api.github.com/users/SteveL-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/SteveL-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveL-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveL-MSFT/subscriptions","organizations_url":"https://api.github.com/users/SteveL-MSFT/orgs","repos_url":"https://api.github.com/users/SteveL-MSFT/repos","events_url":"https://api.github.com/users/SteveL-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/SteveL-MSFT/received_events","type":"User","site_admin":false},"body":"The problem is incurring the install of chocolatey, then the Win10 SDK, and the required build tools.  I think ideally we should get `start-psbootstrap` to work in PSCore6 so Windows PowerShell isn't needed and thus we can just pick it up from the running PSCore6.  This code was just a fallback as on AppVeyor we are using Windows PowerShell to build.  ","created_at":"2017-06-22T05:28:51Z","updated_at":"2017-06-22T05:28:51Z","html_url":"https://github.com/PowerShell/PowerShell/pull/4051#discussion_r123423988","pull_request_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/4051","_links":{"self":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/comments/123423988"},"html":{"href":"https://github.com/PowerShell/PowerShell/pull/4051#discussion_r123423988"},"pull_request":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/4051"}}},"pull_request":{"url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/4051","id":126404386,"html_url":"https://github.com/PowerShell/PowerShell/pull/4051","diff_url":"https://github.com/PowerShell/PowerShell/pull/4051.diff","patch_url":"https://github.com/PowerShell/PowerShell/pull/4051.patch","issue_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/4051","number":4051,"state":"open","locked":false,"title":"Updated Start-PSBuild to not require building native binaries by default","user":{"login":"SteveL-MSFT","id":11859881,"avatar_url":"https://avatars2.githubusercontent.com/u/11859881?v=3","gravatar_id":"","url":"https://api.github.com/users/SteveL-MSFT","html_url":"https://github.com/SteveL-MSFT","followers_url":"https://api.github.com/users/SteveL-MSFT/followers","following_url":"https://api.github.com/users/SteveL-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/SteveL-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveL-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveL-MSFT/subscriptions","organizations_url":"https://api.github.com/users/SteveL-MSFT/orgs","repos_url":"https://api.github.com/users/SteveL-MSFT/repos","events_url":"https://api.github.com/users/SteveL-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/SteveL-MSFT/received_events","type":"User","site_admin":false},"body":"With this change, `Start-PSBuild` only builds the managed code.  Since the native code rarely changes, the script picks it up from the currently running PowerShell.  Expectation is that the developer is running latest PowerShell.  If there is a need to build the native binaries, user will run `Start-PSBootStrap -BuildNative` at least once to ensure the native build tools (and Win10 SDK on Windows) gets installed.  Then `Start-PSBuild -BuildNative` is run to explicitly build the native sources.\r\n\r\nFix https://github.com/PowerShell/PowerShell/issues/3014","created_at":"2017-06-19T21:44:05Z","updated_at":"2017-06-22T05:28:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ac9e8d0b5dff67490b19466c29873b6aae860cb6","assignee":{"login":"daxian-dbw","id":127450,"avatar_url":"https://avatars1.githubusercontent.com/u/127450?v=3","gravatar_id":"","url":"https://api.github.com/users/daxian-dbw","html_url":"https://github.com/daxian-dbw","followers_url":"https://api.github.com/users/daxian-dbw/followers","following_url":"https://api.github.com/users/daxian-dbw/following{/other_user}","gists_url":"https://api.github.com/users/daxian-dbw/gists{/gist_id}","starred_url":"https://api.github.com/users/daxian-dbw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daxian-dbw/subscriptions","organizations_url":"https://api.github.com/users/daxian-dbw/orgs","repos_url":"https://api.github.com/users/daxian-dbw/repos","events_url":"https://api.github.com/users/daxian-dbw/events{/privacy}","received_events_url":"https://api.github.com/users/daxian-dbw/received_events","type":"User","site_admin":false},"assignees":[{"login":"daxian-dbw","id":127450,"avatar_url":"https://avatars1.githubusercontent.com/u/127450?v=3","gravatar_id":"","url":"https://api.github.com/users/daxian-dbw","html_url":"https://github.com/daxian-dbw","followers_url":"https://api.github.com/users/daxian-dbw/followers","following_url":"https://api.github.com/users/daxian-dbw/following{/other_user}","gists_url":"https://api.github.com/users/daxian-dbw/gists{/gist_id}","starred_url":"https://api.github.com/users/daxian-dbw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daxian-dbw/subscriptions","organizations_url":"https://api.github.com/users/daxian-dbw/orgs","repos_url":"https://api.github.com/users/daxian-dbw/repos","events_url":"https://api.github.com/users/daxian-dbw/events{/privacy}","received_events_url":"https://api.github.com/users/daxian-dbw/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"mirichmo","id":12738734,"avatar_url":"https://avatars0.githubusercontent.com/u/12738734?v=3","gravatar_id":"","url":"https://api.github.com/users/mirichmo","html_url":"https://github.com/mirichmo","followers_url":"https://api.github.com/users/mirichmo/followers","following_url":"https://api.github.com/users/mirichmo/following{/other_user}","gists_url":"https://api.github.com/users/mirichmo/gists{/gist_id}","starred_url":"https://api.github.com/users/mirichmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirichmo/subscriptions","organizations_url":"https://api.github.com/users/mirichmo/orgs","repos_url":"https://api.github.com/users/mirichmo/repos","events_url":"https://api.github.com/users/mirichmo/events{/privacy}","received_events_url":"https://api.github.com/users/mirichmo/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/4051/commits","review_comments_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/4051/comments","review_comment_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/4051/comments","statuses_url":"https://api.github.com/repos/PowerShell/PowerShell/statuses/c9dac9bf0cea3933c2f9856dbfc5c71e9ef0e894","head":{"label":"SteveL-MSFT:pull-native-binaries","ref":"pull-native-binaries","sha":"c9dac9bf0cea3933c2f9856dbfc5c71e9ef0e894","user":{"login":"SteveL-MSFT","id":11859881,"avatar_url":"https://avatars2.githubusercontent.com/u/11859881?v=3","gravatar_id":"","url":"https://api.github.com/users/SteveL-MSFT","html_url":"https://github.com/SteveL-MSFT","followers_url":"https://api.github.com/users/SteveL-MSFT/followers","following_url":"https://api.github.com/users/SteveL-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/SteveL-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveL-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveL-MSFT/subscriptions","organizations_url":"https://api.github.com/users/SteveL-MSFT/orgs","repos_url":"https://api.github.com/users/SteveL-MSFT/repos","events_url":"https://api.github.com/users/SteveL-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/SteveL-MSFT/received_events","type":"User","site_admin":false},"repo":{"id":80881740,"name":"PowerShell","full_name":"SteveL-MSFT/PowerShell","owner":{"login":"SteveL-MSFT","id":11859881,"avatar_url":"https://avatars2.githubusercontent.com/u/11859881?v=3","gravatar_id":"","url":"https://api.github.com/users/SteveL-MSFT","html_url":"https://github.com/SteveL-MSFT","followers_url":"https://api.github.com/users/SteveL-MSFT/followers","following_url":"https://api.github.com/users/SteveL-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/SteveL-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveL-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveL-MSFT/subscriptions","organizations_url":"https://api.github.com/users/SteveL-MSFT/orgs","repos_url":"https://api.github.com/users/SteveL-MSFT/repos","events_url":"https://api.github.com/users/SteveL-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/SteveL-MSFT/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SteveL-MSFT/PowerShell","description":"PowerShell for every system!","fork":true,"url":"https://api.github.com/repos/SteveL-MSFT/PowerShell","forks_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/forks","keys_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/teams","hooks_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/hooks","issue_events_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/issues/events{/number}","events_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/events","assignees_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/assignees{/user}","branches_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/branches{/branch}","tags_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/tags","blobs_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/git/refs{/sha}","trees_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/statuses/{sha}","languages_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/languages","stargazers_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/stargazers","contributors_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/contributors","subscribers_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/subscribers","subscription_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/subscription","commits_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/commits{/sha}","git_commits_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/git/commits{/sha}","comments_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/comments{/number}","issue_comment_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/issues/comments{/number}","contents_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/contents/{+path}","compare_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/merges","archive_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/downloads","issues_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/issues{/number}","pulls_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/pulls{/number}","milestones_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/milestones{/number}","notifications_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/labels{/name}","releases_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/releases{/id}","deployments_url":"https://api.github.com/repos/SteveL-MSFT/PowerShell/deployments","created_at":"2017-02-04T00:41:57Z","updated_at":"2017-02-04T00:42:07Z","pushed_at":"2017-06-20T20:03:15Z","git_url":"git://github.com/SteveL-MSFT/PowerShell.git","ssh_url":"git@github.com:SteveL-MSFT/PowerShell.git","clone_url":"https://github.com/SteveL-MSFT/PowerShell.git","svn_url":"https://github.com/SteveL-MSFT/PowerShell","homepage":"https://microsoft.com/powershell","size":25749,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PowerShell:master","ref":"master","sha":"a66cd0b620c816c01dd8f83ba81535ea97a74109","user":{"login":"PowerShell","id":11524380,"avatar_url":"https://avatars0.githubusercontent.com/u/11524380?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerShell","html_url":"https://github.com/PowerShell","followers_url":"https://api.github.com/users/PowerShell/followers","following_url":"https://api.github.com/users/PowerShell/following{/other_user}","gists_url":"https://api.github.com/users/PowerShell/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerShell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerShell/subscriptions","organizations_url":"https://api.github.com/users/PowerShell/orgs","repos_url":"https://api.github.com/users/PowerShell/repos","events_url":"https://api.github.com/users/PowerShell/events{/privacy}","received_events_url":"https://api.github.com/users/PowerShell/received_events","type":"Organization","site_admin":false},"repo":{"id":49609581,"name":"PowerShell","full_name":"PowerShell/PowerShell","owner":{"login":"PowerShell","id":11524380,"avatar_url":"https://avatars0.githubusercontent.com/u/11524380?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerShell","html_url":"https://github.com/PowerShell","followers_url":"https://api.github.com/users/PowerShell/followers","following_url":"https://api.github.com/users/PowerShell/following{/other_user}","gists_url":"https://api.github.com/users/PowerShell/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerShell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerShell/subscriptions","organizations_url":"https://api.github.com/users/PowerShell/orgs","repos_url":"https://api.github.com/users/PowerShell/repos","events_url":"https://api.github.com/users/PowerShell/events{/privacy}","received_events_url":"https://api.github.com/users/PowerShell/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PowerShell/PowerShell","description":"PowerShell for every system!","fork":false,"url":"https://api.github.com/repos/PowerShell/PowerShell","forks_url":"https://api.github.com/repos/PowerShell/PowerShell/forks","keys_url":"https://api.github.com/repos/PowerShell/PowerShell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PowerShell/PowerShell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PowerShell/PowerShell/teams","hooks_url":"https://api.github.com/repos/PowerShell/PowerShell/hooks","issue_events_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/events{/number}","events_url":"https://api.github.com/repos/PowerShell/PowerShell/events","assignees_url":"https://api.github.com/repos/PowerShell/PowerShell/assignees{/user}","branches_url":"https://api.github.com/repos/PowerShell/PowerShell/branches{/branch}","tags_url":"https://api.github.com/repos/PowerShell/PowerShell/tags","blobs_url":"https://api.github.com/repos/PowerShell/PowerShell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PowerShell/PowerShell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PowerShell/PowerShell/git/refs{/sha}","trees_url":"https://api.github.com/repos/PowerShell/PowerShell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PowerShell/PowerShell/statuses/{sha}","languages_url":"https://api.github.com/repos/PowerShell/PowerShell/languages","stargazers_url":"https://api.github.com/repos/PowerShell/PowerShell/stargazers","contributors_url":"https://api.github.com/repos/PowerShell/PowerShell/contributors","subscribers_url":"https://api.github.com/repos/PowerShell/PowerShell/subscribers","subscription_url":"https://api.github.com/repos/PowerShell/PowerShell/subscription","commits_url":"https://api.github.com/repos/PowerShell/PowerShell/commits{/sha}","git_commits_url":"https://api.github.com/repos/PowerShell/PowerShell/git/commits{/sha}","comments_url":"https://api.github.com/repos/PowerShell/PowerShell/comments{/number}","issue_comment_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/comments{/number}","contents_url":"https://api.github.com/repos/PowerShell/PowerShell/contents/{+path}","compare_url":"https://api.github.com/repos/PowerShell/PowerShell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PowerShell/PowerShell/merges","archive_url":"https://api.github.com/repos/PowerShell/PowerShell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PowerShell/PowerShell/downloads","issues_url":"https://api.github.com/repos/PowerShell/PowerShell/issues{/number}","pulls_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls{/number}","milestones_url":"https://api.github.com/repos/PowerShell/PowerShell/milestones{/number}","notifications_url":"https://api.github.com/repos/PowerShell/PowerShell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PowerShell/PowerShell/labels{/name}","releases_url":"https://api.github.com/repos/PowerShell/PowerShell/releases{/id}","deployments_url":"https://api.github.com/repos/PowerShell/PowerShell/deployments","created_at":"2016-01-13T23:41:35Z","updated_at":"2017-06-21T20:04:58Z","pushed_at":"2017-06-22T05:21:35Z","git_url":"git://github.com/PowerShell/PowerShell.git","ssh_url":"git@github.com:PowerShell/PowerShell.git","clone_url":"https://github.com/PowerShell/PowerShell.git","svn_url":"https://github.com/PowerShell/PowerShell","homepage":"https://microsoft.com/powershell","size":26724,"stargazers_count":7212,"watchers_count":7212,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":964,"mirror_url":null,"open_issues_count":851,"forks":964,"open_issues":851,"watchers":7212,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/4051"},"html":{"href":"https://github.com/PowerShell/PowerShell/pull/4051"},"issue":{"href":"https://api.github.com/repos/PowerShell/PowerShell/issues/4051"},"comments":{"href":"https://api.github.com/repos/PowerShell/PowerShell/issues/4051/comments"},"review_comments":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/4051/comments"},"review_comment":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/4051/commits"},"statuses":{"href":"https://api.github.com/repos/PowerShell/PowerShell/statuses/c9dac9bf0cea3933c2f9856dbfc5c71e9ef0e894"}}}}
{"actor":{"display_login":"SteveL-MSFT"}}