{"action":"created","comment":{"url":"https://api.github.com/repos/google/google-api-dotnet-client/pulls/comments/51060211","id":51060211,"diff_hunk":"@@ -0,0 +1,43 @@\n+# Performs the build for MyGet and uploads the generated NuGet packages to\n+# the \"google-dotnet\" feed.\n+#\n+# MyGet's build syncs the repo and subrepos, to build manually be sure to:\n+# git submodule update --init ClientGenerator\n+\n+function PrintHeader($message) {\n+    Write-Host \"****************************************\"\n+    Write-Host $message\n+    Write-Host \"****************************************\"\n+}\n+\n+Write-Host \".NET Client Libraries, build shard $Env:BuildShard\"\n+\n+# TODO(chrsmith): Document why we require VS v14 to build.\n+[Environment]::SetEnvironmentVariable(\n+    \"VisualStudioVersion\",\n+    \"14.0\",\n+    \"User\")\n+\n+$msbuild14 = \"${Env:ProgramFiles(x86)}\\MSBuild\\14.0\\Bin\\MSBuild.exe\"\n+\n+# Build the Support libraries.\n+PrintHeader(\"Building SupportLibraries.proj\")\n+& $msbuild14 /m /nr:false SupportLibraries.proj\n+\n+# TODO(chrsmith): Run unit tests as applicable.\n+# At HEAD we have some test failures due to portable libraries and the\n+# venerable System.Net.Http.Primitives assembly.\n+\n+# Install dependent Python libraries.\n+PrintHeader(\"Installing Python dependencies\")","path":"MyGet.ps1","position":32,"original_position":32,"commit_id":"41f13ed702e1c59f92936939fcbdd3bdc490b453","original_commit_id":"41f13ed702e1c59f92936939fcbdd3bdc490b453","user":{"login":"chrsmith","id":4029847,"avatar_url":"https://avatars.githubusercontent.com/u/4029847?v=3","gravatar_id":"","url":"https://api.github.com/users/chrsmith","html_url":"https://github.com/chrsmith","followers_url":"https://api.github.com/users/chrsmith/followers","following_url":"https://api.github.com/users/chrsmith/following{/other_user}","gists_url":"https://api.github.com/users/chrsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/chrsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrsmith/subscriptions","organizations_url":"https://api.github.com/users/chrsmith/orgs","repos_url":"https://api.github.com/users/chrsmith/repos","events_url":"https://api.github.com/users/chrsmith/events{/privacy}","received_events_url":"https://api.github.com/users/chrsmith/received_events","type":"User","site_admin":false},"body":"Done. `Print-Header` might be even better then? I'm not sure the convention for local functions vs. proper cmdlets...","created_at":"2016-01-27T22:22:50Z","updated_at":"2016-01-27T22:22:50Z","html_url":"https://github.com/google/google-api-dotnet-client/pull/670#discussion_r51060211","pull_request_url":"https://api.github.com/repos/google/google-api-dotnet-client/pulls/670","_links":{"self":{"href":"https://api.github.com/repos/google/google-api-dotnet-client/pulls/comments/51060211"},"html":{"href":"https://github.com/google/google-api-dotnet-client/pull/670#discussion_r51060211"},"pull_request":{"href":"https://api.github.com/repos/google/google-api-dotnet-client/pulls/670"}}},"pull_request":{"url":"https://api.github.com/repos/google/google-api-dotnet-client/pulls/670","id":57426810,"html_url":"https://github.com/google/google-api-dotnet-client/pull/670","diff_url":"https://github.com/google/google-api-dotnet-client/pull/670.diff","patch_url":"https://github.com/google/google-api-dotnet-client/pull/670.patch","issue_url":"https://api.github.com/repos/google/google-api-dotnet-client/issues/670","number":670,"state":"open","locked":false,"title":"Add MyGet build support.","user":{"login":"chrsmith","id":4029847,"avatar_url":"https://avatars.githubusercontent.com/u/4029847?v=3","gravatar_id":"","url":"https://api.github.com/users/chrsmith","html_url":"https://github.com/chrsmith","followers_url":"https://api.github.com/users/chrsmith/followers","following_url":"https://api.github.com/users/chrsmith/following{/other_user}","gists_url":"https://api.github.com/users/chrsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/chrsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrsmith/subscriptions","organizations_url":"https://api.github.com/users/chrsmith/orgs","repos_url":"https://api.github.com/users/chrsmith/repos","events_url":"https://api.github.com/users/chrsmith/events{/privacy}","received_events_url":"https://api.github.com/users/chrsmith/received_events","type":"User","site_admin":false},"body":"This PR adds a `MyGet.ps1` script file in the repository's root folder, which will be ran on the MyGet build machine.\r\n\r\nI've confirmed that this all works, modulo a transient error where the build takes > 30 minutes and gets killed. (Publishing 141 packages can take a while.)\r\n\r\nI'll try to get to clean a few things up, such as enabling Unit Testing as part of the build. However, it appears our Unit Tests are broken in HEAD due to the assembly load problems for `System.Net.Http.Primitives.dll`.\r\n\r\n/cc @mmdriley ","created_at":"2016-01-27T21:38:23Z","updated_at":"2016-01-27T22:22:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"613f0f72fec7bfa7e0b009616438d9f4a2a887a5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/google/google-api-dotnet-client/pulls/670/commits","review_comments_url":"https://api.github.com/repos/google/google-api-dotnet-client/pulls/670/comments","review_comment_url":"https://api.github.com/repos/google/google-api-dotnet-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/google-api-dotnet-client/issues/670/comments","statuses_url":"https://api.github.com/repos/google/google-api-dotnet-client/statuses/41f13ed702e1c59f92936939fcbdd3bdc490b453","head":{"label":"google:add-myget-build-support","ref":"add-myget-build-support","sha":"41f13ed702e1c59f92936939fcbdd3bdc490b453","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":33947900,"name":"google-api-dotnet-client","full_name":"google/google-api-dotnet-client","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/google-api-dotnet-client","description":"Google APIs Client Library for .NET","fork":false,"url":"https://api.github.com/repos/google/google-api-dotnet-client","forks_url":"https://api.github.com/repos/google/google-api-dotnet-client/forks","keys_url":"https://api.github.com/repos/google/google-api-dotnet-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/google-api-dotnet-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/google-api-dotnet-client/teams","hooks_url":"https://api.github.com/repos/google/google-api-dotnet-client/hooks","issue_events_url":"https://api.github.com/repos/google/google-api-dotnet-client/issues/events{/number}","events_url":"https://api.github.com/repos/google/google-api-dotnet-client/events","assignees_url":"https://api.github.com/repos/google/google-api-dotnet-client/assignees{/user}","branches_url":"https://api.github.com/repos/google/google-api-dotnet-client/branches{/branch}","tags_url":"https://api.github.com/repos/google/google-api-dotnet-client/tags","blobs_url":"https://api.github.com/repos/google/google-api-dotnet-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/google-api-dotnet-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/google-api-dotnet-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/google-api-dotnet-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/google-api-dotnet-client/statuses/{sha}","languages_url":"https://api.github.com/repos/google/google-api-dotnet-client/languages","stargazers_url":"https://api.github.com/repos/google/google-api-dotnet-client/stargazers","contributors_url":"https://api.github.com/repos/google/google-api-dotnet-client/contributors","subscribers_url":"https://api.github.com/repos/google/google-api-dotnet-client/subscribers","subscription_url":"https://api.github.com/repos/google/google-api-dotnet-client/subscription","commits_url":"https://api.github.com/repos/google/google-api-dotnet-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/google-api-dotnet-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/google-api-dotnet-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/google-api-dotnet-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/google-api-dotnet-client/contents/{+path}","compare_url":"https://api.github.com/repos/google/google-api-dotnet-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/google-api-dotnet-client/merges","archive_url":"https://api.github.com/repos/google/google-api-dotnet-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/google-api-dotnet-client/downloads","issues_url":"https://api.github.com/repos/google/google-api-dotnet-client/issues{/number}","pulls_url":"https://api.github.com/repos/google/google-api-dotnet-client/pulls{/number}","milestones_url":"https://api.github.com/repos/google/google-api-dotnet-client/milestones{/number}","notifications_url":"https://api.github.com/repos/google/google-api-dotnet-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/google-api-dotnet-client/labels{/name}","releases_url":"https://api.github.com/repos/google/google-api-dotnet-client/releases{/id}","deployments_url":"https://api.github.com/repos/google/google-api-dotnet-client/deployments","created_at":"2015-04-14T17:56:22Z","updated_at":"2016-01-22T09:12:50Z","pushed_at":"2016-01-27T21:38:23Z","git_url":"git://github.com/google/google-api-dotnet-client.git","ssh_url":"git@github.com:google/google-api-dotnet-client.git","clone_url":"https://github.com/google/google-api-dotnet-client.git","svn_url":"https://github.com/google/google-api-dotnet-client","homepage":"https://developers.google.com/api-client-library/dotnet","size":12631,"stargazers_count":159,"watchers_count":159,"language":"C#","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":81,"mirror_url":null,"open_issues_count":106,"forks":81,"open_issues":106,"watchers":159,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"4e17779398d38e1e31fa9ff5bf5ad0c699069f32","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":33947900,"name":"google-api-dotnet-client","full_name":"google/google-api-dotnet-client","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/google-api-dotnet-client","description":"Google APIs Client Library for .NET","fork":false,"url":"https://api.github.com/repos/google/google-api-dotnet-client","forks_url":"https://api.github.com/repos/google/google-api-dotnet-client/forks","keys_url":"https://api.github.com/repos/google/google-api-dotnet-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/google-api-dotnet-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/google-api-dotnet-client/teams","hooks_url":"https://api.github.com/repos/google/google-api-dotnet-client/hooks","issue_events_url":"https://api.github.com/repos/google/google-api-dotnet-client/issues/events{/number}","events_url":"https://api.github.com/repos/google/google-api-dotnet-client/events","assignees_url":"https://api.github.com/repos/google/google-api-dotnet-client/assignees{/user}","branches_url":"https://api.github.com/repos/google/google-api-dotnet-client/branches{/branch}","tags_url":"https://api.github.com/repos/google/google-api-dotnet-client/tags","blobs_url":"https://api.github.com/repos/google/google-api-dotnet-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/google-api-dotnet-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/google-api-dotnet-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/google-api-dotnet-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/google-api-dotnet-client/statuses/{sha}","languages_url":"https://api.github.com/repos/google/google-api-dotnet-client/languages","stargazers_url":"https://api.github.com/repos/google/google-api-dotnet-client/stargazers","contributors_url":"https://api.github.com/repos/google/google-api-dotnet-client/contributors","subscribers_url":"https://api.github.com/repos/google/google-api-dotnet-client/subscribers","subscription_url":"https://api.github.com/repos/google/google-api-dotnet-client/subscription","commits_url":"https://api.github.com/repos/google/google-api-dotnet-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/google-api-dotnet-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/google-api-dotnet-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/google-api-dotnet-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/google-api-dotnet-client/contents/{+path}","compare_url":"https://api.github.com/repos/google/google-api-dotnet-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/google-api-dotnet-client/merges","archive_url":"https://api.github.com/repos/google/google-api-dotnet-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/google-api-dotnet-client/downloads","issues_url":"https://api.github.com/repos/google/google-api-dotnet-client/issues{/number}","pulls_url":"https://api.github.com/repos/google/google-api-dotnet-client/pulls{/number}","milestones_url":"https://api.github.com/repos/google/google-api-dotnet-client/milestones{/number}","notifications_url":"https://api.github.com/repos/google/google-api-dotnet-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/google-api-dotnet-client/labels{/name}","releases_url":"https://api.github.com/repos/google/google-api-dotnet-client/releases{/id}","deployments_url":"https://api.github.com/repos/google/google-api-dotnet-client/deployments","created_at":"2015-04-14T17:56:22Z","updated_at":"2016-01-22T09:12:50Z","pushed_at":"2016-01-27T21:38:23Z","git_url":"git://github.com/google/google-api-dotnet-client.git","ssh_url":"git@github.com:google/google-api-dotnet-client.git","clone_url":"https://github.com/google/google-api-dotnet-client.git","svn_url":"https://github.com/google/google-api-dotnet-client","homepage":"https://developers.google.com/api-client-library/dotnet","size":12631,"stargazers_count":159,"watchers_count":159,"language":"C#","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":81,"mirror_url":null,"open_issues_count":106,"forks":81,"open_issues":106,"watchers":159,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/google-api-dotnet-client/pulls/670"},"html":{"href":"https://github.com/google/google-api-dotnet-client/pull/670"},"issue":{"href":"https://api.github.com/repos/google/google-api-dotnet-client/issues/670"},"comments":{"href":"https://api.github.com/repos/google/google-api-dotnet-client/issues/670/comments"},"review_comments":{"href":"https://api.github.com/repos/google/google-api-dotnet-client/pulls/670/comments"},"review_comment":{"href":"https://api.github.com/repos/google/google-api-dotnet-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/google-api-dotnet-client/pulls/670/commits"},"statuses":{"href":"https://api.github.com/repos/google/google-api-dotnet-client/statuses/41f13ed702e1c59f92936939fcbdd3bdc490b453"}}}}