{"action":"created","comment":{"url":"https://api.github.com/repos/cake-build/cake/pulls/comments/64279147","id":64279147,"diff_hunk":"@@ -0,0 +1,71 @@\n+﻿using System;\n+using Cake.Core.IO;\n+\n+namespace Cake.Core.Tooling\n+{\n+    /// <summary>\n+    /// Implementation of the tool locator.\n+    /// </summary>\n+    public sealed class ToolLocator : IToolLocator\n+    {\n+        private readonly ICakeEnvironment _environment;\n+        private readonly IToolRepository _repository;\n+        private readonly IToolResolutionStrategy _strategy;\n+\n+        /// <summary>\n+        /// Initializes a new instance of the <see cref=\"ToolLocator\"/> class.\n+        /// </summary>\n+        /// <param name=\"environment\">The environment.</param>\n+        /// <param name=\"repository\">The tool repository.</param>\n+        /// <param name=\"strategy\">The tool resolution strategy.</param>\n+        public ToolLocator(ICakeEnvironment environment, IToolRepository repository, IToolResolutionStrategy strategy)\n+        {\n+            if (environment == null)\n+            {\n+                throw new ArgumentNullException(\"environment\");\n+            }\n+            if (repository == null)","path":"src/Cake.Core/Tooling/ToolLocator.cs","position":27,"original_position":27,"commit_id":"100605ccb7fae86ce270e41fe9d5466beec1ec1a","original_commit_id":"ccce44a163e19aa2f2a3d232d959282d9ce8262f","user":{"login":"patriksvensson","id":357872,"avatar_url":"https://avatars.githubusercontent.com/u/357872?v=3","gravatar_id":"","url":"https://api.github.com/users/patriksvensson","html_url":"https://github.com/patriksvensson","followers_url":"https://api.github.com/users/patriksvensson/followers","following_url":"https://api.github.com/users/patriksvensson/following{/other_user}","gists_url":"https://api.github.com/users/patriksvensson/gists{/gist_id}","starred_url":"https://api.github.com/users/patriksvensson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patriksvensson/subscriptions","organizations_url":"https://api.github.com/users/patriksvensson/orgs","repos_url":"https://api.github.com/users/patriksvensson/repos","events_url":"https://api.github.com/users/patriksvensson/events{/privacy}","received_events_url":"https://api.github.com/users/patriksvensson/received_events","type":"User","site_admin":false},"body":"@gep13: See comment about `DotNetCoreExecutor.cs`.","created_at":"2016-05-23T20:03:58Z","updated_at":"2016-05-23T20:03:58Z","html_url":"https://github.com/cake-build/cake/pull/848#discussion_r64279147","pull_request_url":"https://api.github.com/repos/cake-build/cake/pulls/848","_links":{"self":{"href":"https://api.github.com/repos/cake-build/cake/pulls/comments/64279147"},"html":{"href":"https://github.com/cake-build/cake/pull/848#discussion_r64279147"},"pull_request":{"href":"https://api.github.com/repos/cake-build/cake/pulls/848"}}},"pull_request":{"url":"https://api.github.com/repos/cake-build/cake/pulls/848","id":68194412,"html_url":"https://github.com/cake-build/cake/pull/848","diff_url":"https://github.com/cake-build/cake/pull/848.diff","patch_url":"https://github.com/cake-build/cake/pull/848.patch","issue_url":"https://api.github.com/repos/cake-build/cake/issues/848","number":848,"state":"open","locked":false,"title":"Added unified tool resolution.","user":{"login":"patriksvensson","id":357872,"avatar_url":"https://avatars.githubusercontent.com/u/357872?v=3","gravatar_id":"","url":"https://api.github.com/users/patriksvensson","html_url":"https://github.com/patriksvensson","followers_url":"https://api.github.com/users/patriksvensson/followers","following_url":"https://api.github.com/users/patriksvensson/following{/other_user}","gists_url":"https://api.github.com/users/patriksvensson/gists{/gist_id}","starred_url":"https://api.github.com/users/patriksvensson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patriksvensson/subscriptions","organizations_url":"https://api.github.com/users/patriksvensson/orgs","repos_url":"https://api.github.com/users/patriksvensson/repos","events_url":"https://api.github.com/users/patriksvensson/events{/privacy}","received_events_url":"https://api.github.com/users/patriksvensson/received_events","type":"User","site_admin":false},"body":"More information about this can be found in issue #736.\r\n\r\n* Added tool service.\r\n* Integrated tool service with custom tool resolvers.\r\n* Registers installed tool with the tool service.\r\n* Made tool and addin installation paths configurable.\r\n\r\nNot sure that i like the name `IToolService`, but unless someone have a better idea...\r\nObviously this will need to be squashed, but keeping it like this for the moment since there are a lot of changes involved in this to make it easier to review.","created_at":"2016-04-28T10:02:37Z","updated_at":"2016-05-23T20:03:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5c8849290fd2e76f77d8bd39abd8be1713f1278f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cake-build/cake/pulls/848/commits","review_comments_url":"https://api.github.com/repos/cake-build/cake/pulls/848/comments","review_comment_url":"https://api.github.com/repos/cake-build/cake/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cake-build/cake/issues/848/comments","statuses_url":"https://api.github.com/repos/cake-build/cake/statuses/100605ccb7fae86ce270e41fe9d5466beec1ec1a","head":{"label":"patriksvensson:feature/GH736","ref":"feature/GH736","sha":"100605ccb7fae86ce270e41fe9d5466beec1ec1a","user":{"login":"patriksvensson","id":357872,"avatar_url":"https://avatars.githubusercontent.com/u/357872?v=3","gravatar_id":"","url":"https://api.github.com/users/patriksvensson","html_url":"https://github.com/patriksvensson","followers_url":"https://api.github.com/users/patriksvensson/followers","following_url":"https://api.github.com/users/patriksvensson/following{/other_user}","gists_url":"https://api.github.com/users/patriksvensson/gists{/gist_id}","starred_url":"https://api.github.com/users/patriksvensson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patriksvensson/subscriptions","organizations_url":"https://api.github.com/users/patriksvensson/orgs","repos_url":"https://api.github.com/users/patriksvensson/repos","events_url":"https://api.github.com/users/patriksvensson/events{/privacy}","received_events_url":"https://api.github.com/users/patriksvensson/received_events","type":"User","site_admin":false},"repo":{"id":51225732,"name":"cake","full_name":"patriksvensson/cake","owner":{"login":"patriksvensson","id":357872,"avatar_url":"https://avatars.githubusercontent.com/u/357872?v=3","gravatar_id":"","url":"https://api.github.com/users/patriksvensson","html_url":"https://github.com/patriksvensson","followers_url":"https://api.github.com/users/patriksvensson/followers","following_url":"https://api.github.com/users/patriksvensson/following{/other_user}","gists_url":"https://api.github.com/users/patriksvensson/gists{/gist_id}","starred_url":"https://api.github.com/users/patriksvensson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patriksvensson/subscriptions","organizations_url":"https://api.github.com/users/patriksvensson/orgs","repos_url":"https://api.github.com/users/patriksvensson/repos","events_url":"https://api.github.com/users/patriksvensson/events{/privacy}","received_events_url":"https://api.github.com/users/patriksvensson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/patriksvensson/cake","description":"Cake (C# Make) is a cross platform build automation system.","fork":true,"url":"https://api.github.com/repos/patriksvensson/cake","forks_url":"https://api.github.com/repos/patriksvensson/cake/forks","keys_url":"https://api.github.com/repos/patriksvensson/cake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/patriksvensson/cake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/patriksvensson/cake/teams","hooks_url":"https://api.github.com/repos/patriksvensson/cake/hooks","issue_events_url":"https://api.github.com/repos/patriksvensson/cake/issues/events{/number}","events_url":"https://api.github.com/repos/patriksvensson/cake/events","assignees_url":"https://api.github.com/repos/patriksvensson/cake/assignees{/user}","branches_url":"https://api.github.com/repos/patriksvensson/cake/branches{/branch}","tags_url":"https://api.github.com/repos/patriksvensson/cake/tags","blobs_url":"https://api.github.com/repos/patriksvensson/cake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/patriksvensson/cake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/patriksvensson/cake/git/refs{/sha}","trees_url":"https://api.github.com/repos/patriksvensson/cake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/patriksvensson/cake/statuses/{sha}","languages_url":"https://api.github.com/repos/patriksvensson/cake/languages","stargazers_url":"https://api.github.com/repos/patriksvensson/cake/stargazers","contributors_url":"https://api.github.com/repos/patriksvensson/cake/contributors","subscribers_url":"https://api.github.com/repos/patriksvensson/cake/subscribers","subscription_url":"https://api.github.com/repos/patriksvensson/cake/subscription","commits_url":"https://api.github.com/repos/patriksvensson/cake/commits{/sha}","git_commits_url":"https://api.github.com/repos/patriksvensson/cake/git/commits{/sha}","comments_url":"https://api.github.com/repos/patriksvensson/cake/comments{/number}","issue_comment_url":"https://api.github.com/repos/patriksvensson/cake/issues/comments{/number}","contents_url":"https://api.github.com/repos/patriksvensson/cake/contents/{+path}","compare_url":"https://api.github.com/repos/patriksvensson/cake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/patriksvensson/cake/merges","archive_url":"https://api.github.com/repos/patriksvensson/cake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/patriksvensson/cake/downloads","issues_url":"https://api.github.com/repos/patriksvensson/cake/issues{/number}","pulls_url":"https://api.github.com/repos/patriksvensson/cake/pulls{/number}","milestones_url":"https://api.github.com/repos/patriksvensson/cake/milestones{/number}","notifications_url":"https://api.github.com/repos/patriksvensson/cake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/patriksvensson/cake/labels{/name}","releases_url":"https://api.github.com/repos/patriksvensson/cake/releases{/id}","deployments_url":"https://api.github.com/repos/patriksvensson/cake/deployments","created_at":"2016-02-06T22:44:16Z","updated_at":"2016-02-06T22:44:18Z","pushed_at":"2016-05-23T20:03:29Z","git_url":"git://github.com/patriksvensson/cake.git","ssh_url":"git@github.com:patriksvensson/cake.git","clone_url":"https://github.com/patriksvensson/cake.git","svn_url":"https://github.com/patriksvensson/cake","homepage":"http://cakebuild.net/","size":4460,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"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":"develop"}},"base":{"label":"cake-build:develop","ref":"develop","sha":"b94ad8fd5acb2463fc3ca488ce1f3cd64a37b9ee","user":{"login":"cake-build","id":7738262,"avatar_url":"https://avatars.githubusercontent.com/u/7738262?v=3","gravatar_id":"","url":"https://api.github.com/users/cake-build","html_url":"https://github.com/cake-build","followers_url":"https://api.github.com/users/cake-build/followers","following_url":"https://api.github.com/users/cake-build/following{/other_user}","gists_url":"https://api.github.com/users/cake-build/gists{/gist_id}","starred_url":"https://api.github.com/users/cake-build/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cake-build/subscriptions","organizations_url":"https://api.github.com/users/cake-build/orgs","repos_url":"https://api.github.com/users/cake-build/repos","events_url":"https://api.github.com/users/cake-build/events{/privacy}","received_events_url":"https://api.github.com/users/cake-build/received_events","type":"Organization","site_admin":false},"repo":{"id":20094029,"name":"cake","full_name":"cake-build/cake","owner":{"login":"cake-build","id":7738262,"avatar_url":"https://avatars.githubusercontent.com/u/7738262?v=3","gravatar_id":"","url":"https://api.github.com/users/cake-build","html_url":"https://github.com/cake-build","followers_url":"https://api.github.com/users/cake-build/followers","following_url":"https://api.github.com/users/cake-build/following{/other_user}","gists_url":"https://api.github.com/users/cake-build/gists{/gist_id}","starred_url":"https://api.github.com/users/cake-build/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cake-build/subscriptions","organizations_url":"https://api.github.com/users/cake-build/orgs","repos_url":"https://api.github.com/users/cake-build/repos","events_url":"https://api.github.com/users/cake-build/events{/privacy}","received_events_url":"https://api.github.com/users/cake-build/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cake-build/cake","description":"Cake (C# Make) is a cross platform build automation system.","fork":false,"url":"https://api.github.com/repos/cake-build/cake","forks_url":"https://api.github.com/repos/cake-build/cake/forks","keys_url":"https://api.github.com/repos/cake-build/cake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cake-build/cake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cake-build/cake/teams","hooks_url":"https://api.github.com/repos/cake-build/cake/hooks","issue_events_url":"https://api.github.com/repos/cake-build/cake/issues/events{/number}","events_url":"https://api.github.com/repos/cake-build/cake/events","assignees_url":"https://api.github.com/repos/cake-build/cake/assignees{/user}","branches_url":"https://api.github.com/repos/cake-build/cake/branches{/branch}","tags_url":"https://api.github.com/repos/cake-build/cake/tags","blobs_url":"https://api.github.com/repos/cake-build/cake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cake-build/cake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cake-build/cake/git/refs{/sha}","trees_url":"https://api.github.com/repos/cake-build/cake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cake-build/cake/statuses/{sha}","languages_url":"https://api.github.com/repos/cake-build/cake/languages","stargazers_url":"https://api.github.com/repos/cake-build/cake/stargazers","contributors_url":"https://api.github.com/repos/cake-build/cake/contributors","subscribers_url":"https://api.github.com/repos/cake-build/cake/subscribers","subscription_url":"https://api.github.com/repos/cake-build/cake/subscription","commits_url":"https://api.github.com/repos/cake-build/cake/commits{/sha}","git_commits_url":"https://api.github.com/repos/cake-build/cake/git/commits{/sha}","comments_url":"https://api.github.com/repos/cake-build/cake/comments{/number}","issue_comment_url":"https://api.github.com/repos/cake-build/cake/issues/comments{/number}","contents_url":"https://api.github.com/repos/cake-build/cake/contents/{+path}","compare_url":"https://api.github.com/repos/cake-build/cake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cake-build/cake/merges","archive_url":"https://api.github.com/repos/cake-build/cake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cake-build/cake/downloads","issues_url":"https://api.github.com/repos/cake-build/cake/issues{/number}","pulls_url":"https://api.github.com/repos/cake-build/cake/pulls{/number}","milestones_url":"https://api.github.com/repos/cake-build/cake/milestones{/number}","notifications_url":"https://api.github.com/repos/cake-build/cake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cake-build/cake/labels{/name}","releases_url":"https://api.github.com/repos/cake-build/cake/releases{/id}","deployments_url":"https://api.github.com/repos/cake-build/cake/deployments","created_at":"2014-05-23T09:26:54Z","updated_at":"2016-05-19T23:44:00Z","pushed_at":"2016-05-23T20:03:29Z","git_url":"git://github.com/cake-build/cake.git","ssh_url":"git@github.com:cake-build/cake.git","clone_url":"https://github.com/cake-build/cake.git","svn_url":"https://github.com/cake-build/cake","homepage":"http://cakebuild.net/","size":6922,"stargazers_count":557,"watchers_count":557,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":138,"mirror_url":null,"open_issues_count":146,"forks":138,"open_issues":146,"watchers":557,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/cake-build/cake/pulls/848"},"html":{"href":"https://github.com/cake-build/cake/pull/848"},"issue":{"href":"https://api.github.com/repos/cake-build/cake/issues/848"},"comments":{"href":"https://api.github.com/repos/cake-build/cake/issues/848/comments"},"review_comments":{"href":"https://api.github.com/repos/cake-build/cake/pulls/848/comments"},"review_comment":{"href":"https://api.github.com/repos/cake-build/cake/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cake-build/cake/pulls/848/commits"},"statuses":{"href":"https://api.github.com/repos/cake-build/cake/statuses/100605ccb7fae86ce270e41fe9d5466beec1ec1a"}}}}
{"actor":{"display_login":"patriksvensson"}}