{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/Redth/cake/pulls/6","id":39711690,"html_url":"https://github.com/Redth/cake/pull/6","diff_url":"https://github.com/Redth/cake/pull/6.diff","patch_url":"https://github.com/Redth/cake/pull/6.patch","issue_url":"https://api.github.com/repos/Redth/cake/issues/6","number":6,"state":"closed","locked":false,"title":"Improved Tool resolution","user":{"login":"Redth","id":271950,"avatar_url":"https://avatars.githubusercontent.com/u/271950?v=3","gravatar_id":"","url":"https://api.github.com/users/Redth","html_url":"https://github.com/Redth","followers_url":"https://api.github.com/users/Redth/followers","following_url":"https://api.github.com/users/Redth/following{/other_user}","gists_url":"https://api.github.com/users/Redth/gists{/gist_id}","starred_url":"https://api.github.com/users/Redth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Redth/subscriptions","organizations_url":"https://api.github.com/users/Redth/orgs","repos_url":"https://api.github.com/users/Redth/repos","events_url":"https://api.github.com/users/Redth/events{/privacy}","received_events_url":"https://api.github.com/users/Redth/received_events","type":"User","site_admin":false},"body":"This moves the responsibility of tool resolution over to the Tool base class.\r\n\r\nIt will check first of all in `./tools/**/TOOLNAME` then it will look in the PATH environment variable  directories for the tool, finally it will see if the tool implementation suggests any alternative paths where the tool might exist (eg: on unix, `/usr/bin/nuget` might work).\r\n\r\nSo each tool implementation now provides possible tool executable names (eg: `nuget.exe` and `NuGet.exe`) as well as optionally additional paths to look for the tool (eg: `/usr/bin/nuget`), and the base class will handle the rest.\r\n","created_at":"2015-07-10T18:35:33Z","updated_at":"2015-07-10T19:51:49Z","closed_at":"2015-07-10T19:51:49Z","merged_at":"2015-07-10T19:51:49Z","merge_commit_sha":"5fb27f6ce4ba013333512e22c895993d491c3701","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Redth/cake/pulls/6/commits","review_comments_url":"https://api.github.com/repos/Redth/cake/pulls/6/comments","review_comment_url":"https://api.github.com/repos/Redth/cake/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Redth/cake/issues/6/comments","statuses_url":"https://api.github.com/repos/Redth/cake/statuses/ac7f11bb10ac5212d1f4ce868d4fe44e1e1dbb31","head":{"label":"Redth:better-tool-resolution","ref":"better-tool-resolution","sha":"ac7f11bb10ac5212d1f4ce868d4fe44e1e1dbb31","user":{"login":"Redth","id":271950,"avatar_url":"https://avatars.githubusercontent.com/u/271950?v=3","gravatar_id":"","url":"https://api.github.com/users/Redth","html_url":"https://github.com/Redth","followers_url":"https://api.github.com/users/Redth/followers","following_url":"https://api.github.com/users/Redth/following{/other_user}","gists_url":"https://api.github.com/users/Redth/gists{/gist_id}","starred_url":"https://api.github.com/users/Redth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Redth/subscriptions","organizations_url":"https://api.github.com/users/Redth/orgs","repos_url":"https://api.github.com/users/Redth/repos","events_url":"https://api.github.com/users/Redth/events{/privacy}","received_events_url":"https://api.github.com/users/Redth/received_events","type":"User","site_admin":false},"repo":{"id":38332585,"name":"cake","full_name":"Redth/cake","owner":{"login":"Redth","id":271950,"avatar_url":"https://avatars.githubusercontent.com/u/271950?v=3","gravatar_id":"","url":"https://api.github.com/users/Redth","html_url":"https://github.com/Redth","followers_url":"https://api.github.com/users/Redth/followers","following_url":"https://api.github.com/users/Redth/following{/other_user}","gists_url":"https://api.github.com/users/Redth/gists{/gist_id}","starred_url":"https://api.github.com/users/Redth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Redth/subscriptions","organizations_url":"https://api.github.com/users/Redth/orgs","repos_url":"https://api.github.com/users/Redth/repos","events_url":"https://api.github.com/users/Redth/events{/privacy}","received_events_url":"https://api.github.com/users/Redth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Redth/cake","description":"Cake (C# Make) is a build automation system.","fork":true,"url":"https://api.github.com/repos/Redth/cake","forks_url":"https://api.github.com/repos/Redth/cake/forks","keys_url":"https://api.github.com/repos/Redth/cake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Redth/cake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Redth/cake/teams","hooks_url":"https://api.github.com/repos/Redth/cake/hooks","issue_events_url":"https://api.github.com/repos/Redth/cake/issues/events{/number}","events_url":"https://api.github.com/repos/Redth/cake/events","assignees_url":"https://api.github.com/repos/Redth/cake/assignees{/user}","branches_url":"https://api.github.com/repos/Redth/cake/branches{/branch}","tags_url":"https://api.github.com/repos/Redth/cake/tags","blobs_url":"https://api.github.com/repos/Redth/cake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Redth/cake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Redth/cake/git/refs{/sha}","trees_url":"https://api.github.com/repos/Redth/cake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Redth/cake/statuses/{sha}","languages_url":"https://api.github.com/repos/Redth/cake/languages","stargazers_url":"https://api.github.com/repos/Redth/cake/stargazers","contributors_url":"https://api.github.com/repos/Redth/cake/contributors","subscribers_url":"https://api.github.com/repos/Redth/cake/subscribers","subscription_url":"https://api.github.com/repos/Redth/cake/subscription","commits_url":"https://api.github.com/repos/Redth/cake/commits{/sha}","git_commits_url":"https://api.github.com/repos/Redth/cake/git/commits{/sha}","comments_url":"https://api.github.com/repos/Redth/cake/comments{/number}","issue_comment_url":"https://api.github.com/repos/Redth/cake/issues/comments{/number}","contents_url":"https://api.github.com/repos/Redth/cake/contents/{+path}","compare_url":"https://api.github.com/repos/Redth/cake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Redth/cake/merges","archive_url":"https://api.github.com/repos/Redth/cake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Redth/cake/downloads","issues_url":"https://api.github.com/repos/Redth/cake/issues{/number}","pulls_url":"https://api.github.com/repos/Redth/cake/pulls{/number}","milestones_url":"https://api.github.com/repos/Redth/cake/milestones{/number}","notifications_url":"https://api.github.com/repos/Redth/cake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Redth/cake/labels{/name}","releases_url":"https://api.github.com/repos/Redth/cake/releases{/id}","created_at":"2015-06-30T20:52:32Z","updated_at":"2015-07-07T23:13:33Z","pushed_at":"2015-07-10T19:51:50Z","git_url":"git://github.com/Redth/cake.git","ssh_url":"git@github.com:Redth/cake.git","clone_url":"https://github.com/Redth/cake.git","svn_url":"https://github.com/Redth/cake","homepage":"http://cakebuild.net/","size":2766,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"develop"}},"base":{"label":"Redth:mono-support","ref":"mono-support","sha":"7423fa0121f7539f5ec07f939e15be5e249e0762","user":{"login":"Redth","id":271950,"avatar_url":"https://avatars.githubusercontent.com/u/271950?v=3","gravatar_id":"","url":"https://api.github.com/users/Redth","html_url":"https://github.com/Redth","followers_url":"https://api.github.com/users/Redth/followers","following_url":"https://api.github.com/users/Redth/following{/other_user}","gists_url":"https://api.github.com/users/Redth/gists{/gist_id}","starred_url":"https://api.github.com/users/Redth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Redth/subscriptions","organizations_url":"https://api.github.com/users/Redth/orgs","repos_url":"https://api.github.com/users/Redth/repos","events_url":"https://api.github.com/users/Redth/events{/privacy}","received_events_url":"https://api.github.com/users/Redth/received_events","type":"User","site_admin":false},"repo":{"id":38332585,"name":"cake","full_name":"Redth/cake","owner":{"login":"Redth","id":271950,"avatar_url":"https://avatars.githubusercontent.com/u/271950?v=3","gravatar_id":"","url":"https://api.github.com/users/Redth","html_url":"https://github.com/Redth","followers_url":"https://api.github.com/users/Redth/followers","following_url":"https://api.github.com/users/Redth/following{/other_user}","gists_url":"https://api.github.com/users/Redth/gists{/gist_id}","starred_url":"https://api.github.com/users/Redth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Redth/subscriptions","organizations_url":"https://api.github.com/users/Redth/orgs","repos_url":"https://api.github.com/users/Redth/repos","events_url":"https://api.github.com/users/Redth/events{/privacy}","received_events_url":"https://api.github.com/users/Redth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Redth/cake","description":"Cake (C# Make) is a build automation system.","fork":true,"url":"https://api.github.com/repos/Redth/cake","forks_url":"https://api.github.com/repos/Redth/cake/forks","keys_url":"https://api.github.com/repos/Redth/cake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Redth/cake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Redth/cake/teams","hooks_url":"https://api.github.com/repos/Redth/cake/hooks","issue_events_url":"https://api.github.com/repos/Redth/cake/issues/events{/number}","events_url":"https://api.github.com/repos/Redth/cake/events","assignees_url":"https://api.github.com/repos/Redth/cake/assignees{/user}","branches_url":"https://api.github.com/repos/Redth/cake/branches{/branch}","tags_url":"https://api.github.com/repos/Redth/cake/tags","blobs_url":"https://api.github.com/repos/Redth/cake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Redth/cake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Redth/cake/git/refs{/sha}","trees_url":"https://api.github.com/repos/Redth/cake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Redth/cake/statuses/{sha}","languages_url":"https://api.github.com/repos/Redth/cake/languages","stargazers_url":"https://api.github.com/repos/Redth/cake/stargazers","contributors_url":"https://api.github.com/repos/Redth/cake/contributors","subscribers_url":"https://api.github.com/repos/Redth/cake/subscribers","subscription_url":"https://api.github.com/repos/Redth/cake/subscription","commits_url":"https://api.github.com/repos/Redth/cake/commits{/sha}","git_commits_url":"https://api.github.com/repos/Redth/cake/git/commits{/sha}","comments_url":"https://api.github.com/repos/Redth/cake/comments{/number}","issue_comment_url":"https://api.github.com/repos/Redth/cake/issues/comments{/number}","contents_url":"https://api.github.com/repos/Redth/cake/contents/{+path}","compare_url":"https://api.github.com/repos/Redth/cake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Redth/cake/merges","archive_url":"https://api.github.com/repos/Redth/cake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Redth/cake/downloads","issues_url":"https://api.github.com/repos/Redth/cake/issues{/number}","pulls_url":"https://api.github.com/repos/Redth/cake/pulls{/number}","milestones_url":"https://api.github.com/repos/Redth/cake/milestones{/number}","notifications_url":"https://api.github.com/repos/Redth/cake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Redth/cake/labels{/name}","releases_url":"https://api.github.com/repos/Redth/cake/releases{/id}","created_at":"2015-06-30T20:52:32Z","updated_at":"2015-07-07T23:13:33Z","pushed_at":"2015-07-10T19:51:50Z","git_url":"git://github.com/Redth/cake.git","ssh_url":"git@github.com:Redth/cake.git","clone_url":"https://github.com/Redth/cake.git","svn_url":"https://github.com/Redth/cake","homepage":"http://cakebuild.net/","size":2766,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Redth/cake/pulls/6"},"html":{"href":"https://github.com/Redth/cake/pull/6"},"issue":{"href":"https://api.github.com/repos/Redth/cake/issues/6"},"comments":{"href":"https://api.github.com/repos/Redth/cake/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/Redth/cake/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/Redth/cake/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Redth/cake/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/Redth/cake/statuses/ac7f11bb10ac5212d1f4ce868d4fe44e1e1dbb31"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Redth","id":271950,"avatar_url":"https://avatars.githubusercontent.com/u/271950?v=3","gravatar_id":"","url":"https://api.github.com/users/Redth","html_url":"https://github.com/Redth","followers_url":"https://api.github.com/users/Redth/followers","following_url":"https://api.github.com/users/Redth/following{/other_user}","gists_url":"https://api.github.com/users/Redth/gists{/gist_id}","starred_url":"https://api.github.com/users/Redth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Redth/subscriptions","organizations_url":"https://api.github.com/users/Redth/orgs","repos_url":"https://api.github.com/users/Redth/repos","events_url":"https://api.github.com/users/Redth/events{/privacy}","received_events_url":"https://api.github.com/users/Redth/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":424,"deletions":208,"changed_files":38}}