{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/templating/pulls/comments/109490905","pull_request_review_id":30596286,"id":109490905,"diff_hunk":"@@ -679,6 +768,18 @@ private CreationResultStatus EnterMaintenanceFlow()\n                 return CreationResultStatus.InvalidParamValues;\n             }\n \n+            if (InstallHasValue &&\n+                ((Install.Count > 0) && (Install[0] != null)))\n+            {\n+                ProcessUninstallRequests(Install.Select(x => x.Split(new[] { \"::\" }, StringSplitOptions.None)[0]), false);","path":"src/Microsoft.TemplateEngine.Cli/New3Command.cs","position":123,"original_position":123,"commit_id":"8d1d70b85b5388af03523f6417ff5ffef9a7e85c","original_commit_id":"8d1d70b85b5388af03523f6417ff5ffef9a7e85c","user":{"login":"mlorbetske","id":1414993,"avatar_url":"https://avatars0.githubusercontent.com/u/1414993?v=3","gravatar_id":"","url":"https://api.github.com/users/mlorbetske","html_url":"https://github.com/mlorbetske","followers_url":"https://api.github.com/users/mlorbetske/followers","following_url":"https://api.github.com/users/mlorbetske/following{/other_user}","gists_url":"https://api.github.com/users/mlorbetske/gists{/gist_id}","starred_url":"https://api.github.com/users/mlorbetske/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlorbetske/subscriptions","organizations_url":"https://api.github.com/users/mlorbetske/orgs","repos_url":"https://api.github.com/users/mlorbetske/repos","events_url":"https://api.github.com/users/mlorbetske/events{/privacy}","received_events_url":"https://api.github.com/users/mlorbetske/received_events","type":"User","site_admin":false},"body":"To remove anything being overridden (upgrade should remove the old package)","created_at":"2017-04-03T18:29:21Z","updated_at":"2017-04-03T18:29:21Z","html_url":"https://github.com/dotnet/templating/pull/527#discussion_r109490905","pull_request_url":"https://api.github.com/repos/dotnet/templating/pulls/527","_links":{"self":{"href":"https://api.github.com/repos/dotnet/templating/pulls/comments/109490905"},"html":{"href":"https://github.com/dotnet/templating/pull/527#discussion_r109490905"},"pull_request":{"href":"https://api.github.com/repos/dotnet/templating/pulls/527"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/templating/pulls/527","id":113829753,"html_url":"https://github.com/dotnet/templating/pull/527","diff_url":"https://github.com/dotnet/templating/pull/527.diff","patch_url":"https://github.com/dotnet/templating/pull/527.patch","issue_url":"https://api.github.com/repos/dotnet/templating/issues/527","number":527,"state":"open","locked":false,"title":"Add the uninstall command","user":{"login":"mlorbetske","id":1414993,"avatar_url":"https://avatars0.githubusercontent.com/u/1414993?v=3","gravatar_id":"","url":"https://api.github.com/users/mlorbetske","html_url":"https://github.com/mlorbetske","followers_url":"https://api.github.com/users/mlorbetske/followers","following_url":"https://api.github.com/users/mlorbetske/following{/other_user}","gists_url":"https://api.github.com/users/mlorbetske/gists{/gist_id}","starred_url":"https://api.github.com/users/mlorbetske/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlorbetske/subscriptions","organizations_url":"https://api.github.com/users/mlorbetske/orgs","repos_url":"https://api.github.com/users/mlorbetske/repos","events_url":"https://api.github.com/users/mlorbetske/events{/privacy}","received_events_url":"https://api.github.com/users/mlorbetske/received_events","type":"User","site_admin":false},"body":"Add support for uninstall\r\nAdd logic to release mount points (so that uninstalls can still happen after something in the thing being uninstalled has been used)\r\nAdd stdout to restore failed output\r\nSkip downloading NuGet.exe if it's already present","created_at":"2017-04-02T18:50:29Z","updated_at":"2017-04-03T18:29:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fe3d3fad94cd3c333e1c094f3f3ffbdcccbaa36f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/templating/pulls/527/commits","review_comments_url":"https://api.github.com/repos/dotnet/templating/pulls/527/comments","review_comment_url":"https://api.github.com/repos/dotnet/templating/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/templating/issues/527/comments","statuses_url":"https://api.github.com/repos/dotnet/templating/statuses/8d1d70b85b5388af03523f6417ff5ffef9a7e85c","head":{"label":"mlorbetske:dev/mlorbe/AddUninstall","ref":"dev/mlorbe/AddUninstall","sha":"8d1d70b85b5388af03523f6417ff5ffef9a7e85c","user":{"login":"mlorbetske","id":1414993,"avatar_url":"https://avatars0.githubusercontent.com/u/1414993?v=3","gravatar_id":"","url":"https://api.github.com/users/mlorbetske","html_url":"https://github.com/mlorbetske","followers_url":"https://api.github.com/users/mlorbetske/followers","following_url":"https://api.github.com/users/mlorbetske/following{/other_user}","gists_url":"https://api.github.com/users/mlorbetske/gists{/gist_id}","starred_url":"https://api.github.com/users/mlorbetske/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlorbetske/subscriptions","organizations_url":"https://api.github.com/users/mlorbetske/orgs","repos_url":"https://api.github.com/users/mlorbetske/repos","events_url":"https://api.github.com/users/mlorbetske/events{/privacy}","received_events_url":"https://api.github.com/users/mlorbetske/received_events","type":"User","site_admin":false},"repo":{"id":66620199,"name":"templating","full_name":"mlorbetske/templating","owner":{"login":"mlorbetske","id":1414993,"avatar_url":"https://avatars0.githubusercontent.com/u/1414993?v=3","gravatar_id":"","url":"https://api.github.com/users/mlorbetske","html_url":"https://github.com/mlorbetske","followers_url":"https://api.github.com/users/mlorbetske/followers","following_url":"https://api.github.com/users/mlorbetske/following{/other_user}","gists_url":"https://api.github.com/users/mlorbetske/gists{/gist_id}","starred_url":"https://api.github.com/users/mlorbetske/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlorbetske/subscriptions","organizations_url":"https://api.github.com/users/mlorbetske/orgs","repos_url":"https://api.github.com/users/mlorbetske/repos","events_url":"https://api.github.com/users/mlorbetske/events{/privacy}","received_events_url":"https://api.github.com/users/mlorbetske/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mlorbetske/templating","description":null,"fork":true,"url":"https://api.github.com/repos/mlorbetske/templating","forks_url":"https://api.github.com/repos/mlorbetske/templating/forks","keys_url":"https://api.github.com/repos/mlorbetske/templating/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mlorbetske/templating/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mlorbetske/templating/teams","hooks_url":"https://api.github.com/repos/mlorbetske/templating/hooks","issue_events_url":"https://api.github.com/repos/mlorbetske/templating/issues/events{/number}","events_url":"https://api.github.com/repos/mlorbetske/templating/events","assignees_url":"https://api.github.com/repos/mlorbetske/templating/assignees{/user}","branches_url":"https://api.github.com/repos/mlorbetske/templating/branches{/branch}","tags_url":"https://api.github.com/repos/mlorbetske/templating/tags","blobs_url":"https://api.github.com/repos/mlorbetske/templating/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mlorbetske/templating/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mlorbetske/templating/git/refs{/sha}","trees_url":"https://api.github.com/repos/mlorbetske/templating/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mlorbetske/templating/statuses/{sha}","languages_url":"https://api.github.com/repos/mlorbetske/templating/languages","stargazers_url":"https://api.github.com/repos/mlorbetske/templating/stargazers","contributors_url":"https://api.github.com/repos/mlorbetske/templating/contributors","subscribers_url":"https://api.github.com/repos/mlorbetske/templating/subscribers","subscription_url":"https://api.github.com/repos/mlorbetske/templating/subscription","commits_url":"https://api.github.com/repos/mlorbetske/templating/commits{/sha}","git_commits_url":"https://api.github.com/repos/mlorbetske/templating/git/commits{/sha}","comments_url":"https://api.github.com/repos/mlorbetske/templating/comments{/number}","issue_comment_url":"https://api.github.com/repos/mlorbetske/templating/issues/comments{/number}","contents_url":"https://api.github.com/repos/mlorbetske/templating/contents/{+path}","compare_url":"https://api.github.com/repos/mlorbetske/templating/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mlorbetske/templating/merges","archive_url":"https://api.github.com/repos/mlorbetske/templating/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mlorbetske/templating/downloads","issues_url":"https://api.github.com/repos/mlorbetske/templating/issues{/number}","pulls_url":"https://api.github.com/repos/mlorbetske/templating/pulls{/number}","milestones_url":"https://api.github.com/repos/mlorbetske/templating/milestones{/number}","notifications_url":"https://api.github.com/repos/mlorbetske/templating/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mlorbetske/templating/labels{/name}","releases_url":"https://api.github.com/repos/mlorbetske/templating/releases{/id}","deployments_url":"https://api.github.com/repos/mlorbetske/templating/deployments","created_at":"2016-08-26T05:48:18Z","updated_at":"2016-08-26T05:48:20Z","pushed_at":"2017-04-03T18:28:38Z","git_url":"git://github.com/mlorbetske/templating.git","ssh_url":"git@github.com:mlorbetske/templating.git","clone_url":"https://github.com/mlorbetske/templating.git","svn_url":"https://github.com/mlorbetske/templating","homepage":null,"size":6403,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"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":"dotnet:rel/vs2017/post-rtw","ref":"rel/vs2017/post-rtw","sha":"0da19976e590730ab513e705d0d9c8b301a63fd1","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars3.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":62173688,"name":"templating","full_name":"dotnet/templating","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars3.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dotnet/templating","description":"This repo contains the Template Engine which is used by dotnet new","fork":false,"url":"https://api.github.com/repos/dotnet/templating","forks_url":"https://api.github.com/repos/dotnet/templating/forks","keys_url":"https://api.github.com/repos/dotnet/templating/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/templating/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/templating/teams","hooks_url":"https://api.github.com/repos/dotnet/templating/hooks","issue_events_url":"https://api.github.com/repos/dotnet/templating/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/templating/events","assignees_url":"https://api.github.com/repos/dotnet/templating/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/templating/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/templating/tags","blobs_url":"https://api.github.com/repos/dotnet/templating/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/templating/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/templating/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/templating/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/templating/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/templating/languages","stargazers_url":"https://api.github.com/repos/dotnet/templating/stargazers","contributors_url":"https://api.github.com/repos/dotnet/templating/contributors","subscribers_url":"https://api.github.com/repos/dotnet/templating/subscribers","subscription_url":"https://api.github.com/repos/dotnet/templating/subscription","commits_url":"https://api.github.com/repos/dotnet/templating/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/templating/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/templating/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/templating/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/templating/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/templating/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/templating/merges","archive_url":"https://api.github.com/repos/dotnet/templating/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/templating/downloads","issues_url":"https://api.github.com/repos/dotnet/templating/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/templating/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/templating/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/templating/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/templating/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/templating/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/templating/deployments","created_at":"2016-06-28T20:54:16Z","updated_at":"2017-04-03T16:50:59Z","pushed_at":"2017-04-03T18:28:39Z","git_url":"git://github.com/dotnet/templating.git","ssh_url":"git@github.com:dotnet/templating.git","clone_url":"https://github.com/dotnet/templating.git","svn_url":"https://github.com/dotnet/templating","homepage":"https://docs.microsoft.com/dotnet/","size":6216,"stargazers_count":105,"watchers_count":105,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":67,"forks":33,"open_issues":67,"watchers":105,"default_branch":"rel/vs2017/post-rtw"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/templating/pulls/527"},"html":{"href":"https://github.com/dotnet/templating/pull/527"},"issue":{"href":"https://api.github.com/repos/dotnet/templating/issues/527"},"comments":{"href":"https://api.github.com/repos/dotnet/templating/issues/527/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/templating/pulls/527/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/templating/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/templating/pulls/527/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/templating/statuses/8d1d70b85b5388af03523f6417ff5ffef9a7e85c"}}}}
{"actor":{"display_login":"mlorbetske"}}