{"action":"closed","number":914,"pull_request":{"url":"https://api.github.com/repos/Strider-CD/strider/pulls/914","id":59162894,"html_url":"https://github.com/Strider-CD/strider/pull/914","diff_url":"https://github.com/Strider-CD/strider/pull/914.diff","patch_url":"https://github.com/Strider-CD/strider/pull/914.patch","issue_url":"https://api.github.com/repos/Strider-CD/strider/issues/914","number":914,"state":"closed","locked":false,"title":"Fetching `strider.json` from a Github repository is broken","user":{"login":"damz","id":110678,"avatar_url":"https://avatars.githubusercontent.com/u/110678?v=3","gravatar_id":"","url":"https://api.github.com/users/damz","html_url":"https://github.com/damz","followers_url":"https://api.github.com/users/damz/followers","following_url":"https://api.github.com/users/damz/following{/other_user}","gists_url":"https://api.github.com/users/damz/gists{/gist_id}","starred_url":"https://api.github.com/users/damz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damz/subscriptions","organizations_url":"https://api.github.com/users/damz/orgs","repos_url":"https://api.github.com/users/damz/repos","events_url":"https://api.github.com/users/damz/events{/privacy}","received_events_url":"https://api.github.com/users/damz/received_events","type":"User","site_admin":false},"body":"Fetching `strider.json` is currently broken, at least when the provider of the repository is Github.\r\n\r\nI tracked that down to `striderJson()` in `lib/backchannel.js` not passing the credentials to `provider.getFile`. Using `account.config` instead of just `account` makes it work, and is consistent with what is done when calling other provider functions (for example the call to `provider.getBranches()` in `lib/routes/index.js`.","created_at":"2016-02-12T11:41:22Z","updated_at":"2016-02-12T13:36:14Z","closed_at":"2016-02-12T13:36:14Z","merged_at":"2016-02-12T13:36:14Z","merge_commit_sha":"bb8ec99120bb6038c5e7a3fe1085fd681b7e6eac","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Strider-CD/strider/pulls/914/commits","review_comments_url":"https://api.github.com/repos/Strider-CD/strider/pulls/914/comments","review_comment_url":"https://api.github.com/repos/Strider-CD/strider/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Strider-CD/strider/issues/914/comments","statuses_url":"https://api.github.com/repos/Strider-CD/strider/statuses/741f32764e3aa1cb0e9fa2f7750dde8a8cd6c43c","head":{"label":"damz:pr/fix-strider-json","ref":"pr/fix-strider-json","sha":"741f32764e3aa1cb0e9fa2f7750dde8a8cd6c43c","user":{"login":"damz","id":110678,"avatar_url":"https://avatars.githubusercontent.com/u/110678?v=3","gravatar_id":"","url":"https://api.github.com/users/damz","html_url":"https://github.com/damz","followers_url":"https://api.github.com/users/damz/followers","following_url":"https://api.github.com/users/damz/following{/other_user}","gists_url":"https://api.github.com/users/damz/gists{/gist_id}","starred_url":"https://api.github.com/users/damz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damz/subscriptions","organizations_url":"https://api.github.com/users/damz/orgs","repos_url":"https://api.github.com/users/damz/repos","events_url":"https://api.github.com/users/damz/events{/privacy}","received_events_url":"https://api.github.com/users/damz/received_events","type":"User","site_admin":false},"repo":{"id":51583475,"name":"strider","full_name":"damz/strider","owner":{"login":"damz","id":110678,"avatar_url":"https://avatars.githubusercontent.com/u/110678?v=3","gravatar_id":"","url":"https://api.github.com/users/damz","html_url":"https://github.com/damz","followers_url":"https://api.github.com/users/damz/followers","following_url":"https://api.github.com/users/damz/following{/other_user}","gists_url":"https://api.github.com/users/damz/gists{/gist_id}","starred_url":"https://api.github.com/users/damz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damz/subscriptions","organizations_url":"https://api.github.com/users/damz/orgs","repos_url":"https://api.github.com/users/damz/repos","events_url":"https://api.github.com/users/damz/events{/privacy}","received_events_url":"https://api.github.com/users/damz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/damz/strider","description":"Strider: Open Source Continuous Integration & Deployment Server.","fork":true,"url":"https://api.github.com/repos/damz/strider","forks_url":"https://api.github.com/repos/damz/strider/forks","keys_url":"https://api.github.com/repos/damz/strider/keys{/key_id}","collaborators_url":"https://api.github.com/repos/damz/strider/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/damz/strider/teams","hooks_url":"https://api.github.com/repos/damz/strider/hooks","issue_events_url":"https://api.github.com/repos/damz/strider/issues/events{/number}","events_url":"https://api.github.com/repos/damz/strider/events","assignees_url":"https://api.github.com/repos/damz/strider/assignees{/user}","branches_url":"https://api.github.com/repos/damz/strider/branches{/branch}","tags_url":"https://api.github.com/repos/damz/strider/tags","blobs_url":"https://api.github.com/repos/damz/strider/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/damz/strider/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/damz/strider/git/refs{/sha}","trees_url":"https://api.github.com/repos/damz/strider/git/trees{/sha}","statuses_url":"https://api.github.com/repos/damz/strider/statuses/{sha}","languages_url":"https://api.github.com/repos/damz/strider/languages","stargazers_url":"https://api.github.com/repos/damz/strider/stargazers","contributors_url":"https://api.github.com/repos/damz/strider/contributors","subscribers_url":"https://api.github.com/repos/damz/strider/subscribers","subscription_url":"https://api.github.com/repos/damz/strider/subscription","commits_url":"https://api.github.com/repos/damz/strider/commits{/sha}","git_commits_url":"https://api.github.com/repos/damz/strider/git/commits{/sha}","comments_url":"https://api.github.com/repos/damz/strider/comments{/number}","issue_comment_url":"https://api.github.com/repos/damz/strider/issues/comments{/number}","contents_url":"https://api.github.com/repos/damz/strider/contents/{+path}","compare_url":"https://api.github.com/repos/damz/strider/compare/{base}...{head}","merges_url":"https://api.github.com/repos/damz/strider/merges","archive_url":"https://api.github.com/repos/damz/strider/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/damz/strider/downloads","issues_url":"https://api.github.com/repos/damz/strider/issues{/number}","pulls_url":"https://api.github.com/repos/damz/strider/pulls{/number}","milestones_url":"https://api.github.com/repos/damz/strider/milestones{/number}","notifications_url":"https://api.github.com/repos/damz/strider/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/damz/strider/labels{/name}","releases_url":"https://api.github.com/repos/damz/strider/releases{/id}","deployments_url":"https://api.github.com/repos/damz/strider/deployments","created_at":"2016-02-12T11:28:09Z","updated_at":"2016-02-12T11:28:12Z","pushed_at":"2016-02-12T11:28:39Z","git_url":"git://github.com/damz/strider.git","ssh_url":"git@github.com:damz/strider.git","clone_url":"https://github.com/damz/strider.git","svn_url":"https://github.com/damz/strider","homepage":"http://stridercd.com","size":16779,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"master"}},"base":{"label":"Strider-CD:master","ref":"master","sha":"ae0d16801321f476b43488ee7fac40a07ba2fa52","user":{"login":"Strider-CD","id":2199591,"avatar_url":"https://avatars.githubusercontent.com/u/2199591?v=3","gravatar_id":"","url":"https://api.github.com/users/Strider-CD","html_url":"https://github.com/Strider-CD","followers_url":"https://api.github.com/users/Strider-CD/followers","following_url":"https://api.github.com/users/Strider-CD/following{/other_user}","gists_url":"https://api.github.com/users/Strider-CD/gists{/gist_id}","starred_url":"https://api.github.com/users/Strider-CD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Strider-CD/subscriptions","organizations_url":"https://api.github.com/users/Strider-CD/orgs","repos_url":"https://api.github.com/users/Strider-CD/repos","events_url":"https://api.github.com/users/Strider-CD/events{/privacy}","received_events_url":"https://api.github.com/users/Strider-CD/received_events","type":"Organization","site_admin":false},"repo":{"id":6267158,"name":"strider","full_name":"Strider-CD/strider","owner":{"login":"Strider-CD","id":2199591,"avatar_url":"https://avatars.githubusercontent.com/u/2199591?v=3","gravatar_id":"","url":"https://api.github.com/users/Strider-CD","html_url":"https://github.com/Strider-CD","followers_url":"https://api.github.com/users/Strider-CD/followers","following_url":"https://api.github.com/users/Strider-CD/following{/other_user}","gists_url":"https://api.github.com/users/Strider-CD/gists{/gist_id}","starred_url":"https://api.github.com/users/Strider-CD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Strider-CD/subscriptions","organizations_url":"https://api.github.com/users/Strider-CD/orgs","repos_url":"https://api.github.com/users/Strider-CD/repos","events_url":"https://api.github.com/users/Strider-CD/events{/privacy}","received_events_url":"https://api.github.com/users/Strider-CD/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Strider-CD/strider","description":"Strider: Open Source Continuous Integration & Deployment Server.","fork":false,"url":"https://api.github.com/repos/Strider-CD/strider","forks_url":"https://api.github.com/repos/Strider-CD/strider/forks","keys_url":"https://api.github.com/repos/Strider-CD/strider/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Strider-CD/strider/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Strider-CD/strider/teams","hooks_url":"https://api.github.com/repos/Strider-CD/strider/hooks","issue_events_url":"https://api.github.com/repos/Strider-CD/strider/issues/events{/number}","events_url":"https://api.github.com/repos/Strider-CD/strider/events","assignees_url":"https://api.github.com/repos/Strider-CD/strider/assignees{/user}","branches_url":"https://api.github.com/repos/Strider-CD/strider/branches{/branch}","tags_url":"https://api.github.com/repos/Strider-CD/strider/tags","blobs_url":"https://api.github.com/repos/Strider-CD/strider/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Strider-CD/strider/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Strider-CD/strider/git/refs{/sha}","trees_url":"https://api.github.com/repos/Strider-CD/strider/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Strider-CD/strider/statuses/{sha}","languages_url":"https://api.github.com/repos/Strider-CD/strider/languages","stargazers_url":"https://api.github.com/repos/Strider-CD/strider/stargazers","contributors_url":"https://api.github.com/repos/Strider-CD/strider/contributors","subscribers_url":"https://api.github.com/repos/Strider-CD/strider/subscribers","subscription_url":"https://api.github.com/repos/Strider-CD/strider/subscription","commits_url":"https://api.github.com/repos/Strider-CD/strider/commits{/sha}","git_commits_url":"https://api.github.com/repos/Strider-CD/strider/git/commits{/sha}","comments_url":"https://api.github.com/repos/Strider-CD/strider/comments{/number}","issue_comment_url":"https://api.github.com/repos/Strider-CD/strider/issues/comments{/number}","contents_url":"https://api.github.com/repos/Strider-CD/strider/contents/{+path}","compare_url":"https://api.github.com/repos/Strider-CD/strider/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Strider-CD/strider/merges","archive_url":"https://api.github.com/repos/Strider-CD/strider/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Strider-CD/strider/downloads","issues_url":"https://api.github.com/repos/Strider-CD/strider/issues{/number}","pulls_url":"https://api.github.com/repos/Strider-CD/strider/pulls{/number}","milestones_url":"https://api.github.com/repos/Strider-CD/strider/milestones{/number}","notifications_url":"https://api.github.com/repos/Strider-CD/strider/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Strider-CD/strider/labels{/name}","releases_url":"https://api.github.com/repos/Strider-CD/strider/releases{/id}","deployments_url":"https://api.github.com/repos/Strider-CD/strider/deployments","created_at":"2012-10-17T19:22:34Z","updated_at":"2016-02-11T13:30:50Z","pushed_at":"2016-02-12T13:36:14Z","git_url":"git://github.com/Strider-CD/strider.git","ssh_url":"git@github.com:Strider-CD/strider.git","clone_url":"https://github.com/Strider-CD/strider.git","svn_url":"https://github.com/Strider-CD/strider","homepage":"http://stridercd.com","size":19513,"stargazers_count":3052,"watchers_count":3052,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":297,"mirror_url":null,"open_issues_count":166,"forks":297,"open_issues":166,"watchers":3052,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Strider-CD/strider/pulls/914"},"html":{"href":"https://github.com/Strider-CD/strider/pull/914"},"issue":{"href":"https://api.github.com/repos/Strider-CD/strider/issues/914"},"comments":{"href":"https://api.github.com/repos/Strider-CD/strider/issues/914/comments"},"review_comments":{"href":"https://api.github.com/repos/Strider-CD/strider/pulls/914/comments"},"review_comment":{"href":"https://api.github.com/repos/Strider-CD/strider/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Strider-CD/strider/pulls/914/commits"},"statuses":{"href":"https://api.github.com/repos/Strider-CD/strider/statuses/741f32764e3aa1cb0e9fa2f7750dde8a8cd6c43c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"knownasilya","id":34726,"avatar_url":"https://avatars.githubusercontent.com/u/34726?v=3","gravatar_id":"","url":"https://api.github.com/users/knownasilya","html_url":"https://github.com/knownasilya","followers_url":"https://api.github.com/users/knownasilya/followers","following_url":"https://api.github.com/users/knownasilya/following{/other_user}","gists_url":"https://api.github.com/users/knownasilya/gists{/gist_id}","starred_url":"https://api.github.com/users/knownasilya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knownasilya/subscriptions","organizations_url":"https://api.github.com/users/knownasilya/orgs","repos_url":"https://api.github.com/users/knownasilya/repos","events_url":"https://api.github.com/users/knownasilya/events{/privacy}","received_events_url":"https://api.github.com/users/knownasilya/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}