{"action":"created","comment":{"url":"https://api.github.com/repos/composer/composer/pulls/comments/56029999","id":56029999,"diff_hunk":"@@ -27,6 +27,7 @@ class Config\n         'preferred-install' => 'auto',\n         'notify-on-install' => true,\n         'github-protocols' => array('https', 'ssh', 'git'),\n+        'bitbucket-protocols' => array('https'),","path":"src/Composer/Config.php","position":4,"original_position":4,"commit_id":"b4d9d0fd0d4aa0c67023e67c07b41492ff8feab8","original_commit_id":"b4d9d0fd0d4aa0c67023e67c07b41492ff8feab8","user":{"login":"stof","id":439401,"avatar_url":"https://avatars.githubusercontent.com/u/439401?v=3","gravatar_id":"","url":"https://api.github.com/users/stof","html_url":"https://github.com/stof","followers_url":"https://api.github.com/users/stof/followers","following_url":"https://api.github.com/users/stof/following{/other_user}","gists_url":"https://api.github.com/users/stof/gists{/gist_id}","starred_url":"https://api.github.com/users/stof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stof/subscriptions","organizations_url":"https://api.github.com/users/stof/orgs","repos_url":"https://api.github.com/users/stof/repos","events_url":"https://api.github.com/users/stof/events{/privacy}","received_events_url":"https://api.github.com/users/stof/received_events","type":"User","site_admin":false},"body":"do we need it ? Are they allowing to clone with another protocol ?","created_at":"2016-03-14T16:31:38Z","updated_at":"2016-03-14T16:31:38Z","html_url":"https://github.com/composer/composer/pull/5055#discussion_r56029999","pull_request_url":"https://api.github.com/repos/composer/composer/pulls/5055","_links":{"self":{"href":"https://api.github.com/repos/composer/composer/pulls/comments/56029999"},"html":{"href":"https://github.com/composer/composer/pull/5055#discussion_r56029999"},"pull_request":{"href":"https://api.github.com/repos/composer/composer/pulls/5055"}}},"pull_request":{"url":"https://api.github.com/repos/composer/composer/pulls/5055","id":62692287,"html_url":"https://github.com/composer/composer/pull/5055","diff_url":"https://github.com/composer/composer/pull/5055.diff","patch_url":"https://github.com/composer/composer/pull/5055.patch","issue_url":"https://api.github.com/repos/composer/composer/issues/5055","number":5055,"state":"open","locked":false,"title":"OAuth Support for Bitbucket","user":{"login":"wenkepaul","id":7075806,"avatar_url":"https://avatars.githubusercontent.com/u/7075806?v=3","gravatar_id":"","url":"https://api.github.com/users/wenkepaul","html_url":"https://github.com/wenkepaul","followers_url":"https://api.github.com/users/wenkepaul/followers","following_url":"https://api.github.com/users/wenkepaul/following{/other_user}","gists_url":"https://api.github.com/users/wenkepaul/gists{/gist_id}","starred_url":"https://api.github.com/users/wenkepaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenkepaul/subscriptions","organizations_url":"https://api.github.com/users/wenkepaul/orgs","repos_url":"https://api.github.com/users/wenkepaul/repos","events_url":"https://api.github.com/users/wenkepaul/events{/privacy}","received_events_url":"https://api.github.com/users/wenkepaul/received_events","type":"User","site_admin":false},"body":"I used existing github-oauth code as a template to develop bitbucket-oauth functionality.  Users can add consumer-key and consumer-secret to auth.json.  Instructions on how to obtain the consumer keys have been added to the documentation.","created_at":"2016-03-14T01:54:31Z","updated_at":"2016-03-14T16:31:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"757a86858e4e4ee2db056a460d6dcf9cc6cd146f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/composer/composer/pulls/5055/commits","review_comments_url":"https://api.github.com/repos/composer/composer/pulls/5055/comments","review_comment_url":"https://api.github.com/repos/composer/composer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/composer/composer/issues/5055/comments","statuses_url":"https://api.github.com/repos/composer/composer/statuses/b4d9d0fd0d4aa0c67023e67c07b41492ff8feab8","head":{"label":"wenkepaul:master","ref":"master","sha":"b4d9d0fd0d4aa0c67023e67c07b41492ff8feab8","user":{"login":"wenkepaul","id":7075806,"avatar_url":"https://avatars.githubusercontent.com/u/7075806?v=3","gravatar_id":"","url":"https://api.github.com/users/wenkepaul","html_url":"https://github.com/wenkepaul","followers_url":"https://api.github.com/users/wenkepaul/followers","following_url":"https://api.github.com/users/wenkepaul/following{/other_user}","gists_url":"https://api.github.com/users/wenkepaul/gists{/gist_id}","starred_url":"https://api.github.com/users/wenkepaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenkepaul/subscriptions","organizations_url":"https://api.github.com/users/wenkepaul/orgs","repos_url":"https://api.github.com/users/wenkepaul/repos","events_url":"https://api.github.com/users/wenkepaul/events{/privacy}","received_events_url":"https://api.github.com/users/wenkepaul/received_events","type":"User","site_admin":false},"repo":{"id":53151093,"name":"composer","full_name":"wenkepaul/composer","owner":{"login":"wenkepaul","id":7075806,"avatar_url":"https://avatars.githubusercontent.com/u/7075806?v=3","gravatar_id":"","url":"https://api.github.com/users/wenkepaul","html_url":"https://github.com/wenkepaul","followers_url":"https://api.github.com/users/wenkepaul/followers","following_url":"https://api.github.com/users/wenkepaul/following{/other_user}","gists_url":"https://api.github.com/users/wenkepaul/gists{/gist_id}","starred_url":"https://api.github.com/users/wenkepaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenkepaul/subscriptions","organizations_url":"https://api.github.com/users/wenkepaul/orgs","repos_url":"https://api.github.com/users/wenkepaul/repos","events_url":"https://api.github.com/users/wenkepaul/events{/privacy}","received_events_url":"https://api.github.com/users/wenkepaul/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wenkepaul/composer","description":"Dependency Manager for PHP","fork":true,"url":"https://api.github.com/repos/wenkepaul/composer","forks_url":"https://api.github.com/repos/wenkepaul/composer/forks","keys_url":"https://api.github.com/repos/wenkepaul/composer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wenkepaul/composer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wenkepaul/composer/teams","hooks_url":"https://api.github.com/repos/wenkepaul/composer/hooks","issue_events_url":"https://api.github.com/repos/wenkepaul/composer/issues/events{/number}","events_url":"https://api.github.com/repos/wenkepaul/composer/events","assignees_url":"https://api.github.com/repos/wenkepaul/composer/assignees{/user}","branches_url":"https://api.github.com/repos/wenkepaul/composer/branches{/branch}","tags_url":"https://api.github.com/repos/wenkepaul/composer/tags","blobs_url":"https://api.github.com/repos/wenkepaul/composer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wenkepaul/composer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wenkepaul/composer/git/refs{/sha}","trees_url":"https://api.github.com/repos/wenkepaul/composer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wenkepaul/composer/statuses/{sha}","languages_url":"https://api.github.com/repos/wenkepaul/composer/languages","stargazers_url":"https://api.github.com/repos/wenkepaul/composer/stargazers","contributors_url":"https://api.github.com/repos/wenkepaul/composer/contributors","subscribers_url":"https://api.github.com/repos/wenkepaul/composer/subscribers","subscription_url":"https://api.github.com/repos/wenkepaul/composer/subscription","commits_url":"https://api.github.com/repos/wenkepaul/composer/commits{/sha}","git_commits_url":"https://api.github.com/repos/wenkepaul/composer/git/commits{/sha}","comments_url":"https://api.github.com/repos/wenkepaul/composer/comments{/number}","issue_comment_url":"https://api.github.com/repos/wenkepaul/composer/issues/comments{/number}","contents_url":"https://api.github.com/repos/wenkepaul/composer/contents/{+path}","compare_url":"https://api.github.com/repos/wenkepaul/composer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wenkepaul/composer/merges","archive_url":"https://api.github.com/repos/wenkepaul/composer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wenkepaul/composer/downloads","issues_url":"https://api.github.com/repos/wenkepaul/composer/issues{/number}","pulls_url":"https://api.github.com/repos/wenkepaul/composer/pulls{/number}","milestones_url":"https://api.github.com/repos/wenkepaul/composer/milestones{/number}","notifications_url":"https://api.github.com/repos/wenkepaul/composer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wenkepaul/composer/labels{/name}","releases_url":"https://api.github.com/repos/wenkepaul/composer/releases{/id}","deployments_url":"https://api.github.com/repos/wenkepaul/composer/deployments","created_at":"2016-03-04T16:59:30Z","updated_at":"2016-03-04T16:59:32Z","pushed_at":"2016-03-14T01:33:14Z","git_url":"git://github.com/wenkepaul/composer.git","ssh_url":"git@github.com:wenkepaul/composer.git","clone_url":"https://github.com/wenkepaul/composer.git","svn_url":"https://github.com/wenkepaul/composer","homepage":"https://getcomposer.org/","size":11856,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"composer:master","ref":"master","sha":"3942cdf8df0867d7df5706b8a3ee05f601c2aa8c","user":{"login":"composer","id":837015,"avatar_url":"https://avatars.githubusercontent.com/u/837015?v=3","gravatar_id":"","url":"https://api.github.com/users/composer","html_url":"https://github.com/composer","followers_url":"https://api.github.com/users/composer/followers","following_url":"https://api.github.com/users/composer/following{/other_user}","gists_url":"https://api.github.com/users/composer/gists{/gist_id}","starred_url":"https://api.github.com/users/composer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/composer/subscriptions","organizations_url":"https://api.github.com/users/composer/orgs","repos_url":"https://api.github.com/users/composer/repos","events_url":"https://api.github.com/users/composer/events{/privacy}","received_events_url":"https://api.github.com/users/composer/received_events","type":"Organization","site_admin":false},"repo":{"id":1864363,"name":"composer","full_name":"composer/composer","owner":{"login":"composer","id":837015,"avatar_url":"https://avatars.githubusercontent.com/u/837015?v=3","gravatar_id":"","url":"https://api.github.com/users/composer","html_url":"https://github.com/composer","followers_url":"https://api.github.com/users/composer/followers","following_url":"https://api.github.com/users/composer/following{/other_user}","gists_url":"https://api.github.com/users/composer/gists{/gist_id}","starred_url":"https://api.github.com/users/composer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/composer/subscriptions","organizations_url":"https://api.github.com/users/composer/orgs","repos_url":"https://api.github.com/users/composer/repos","events_url":"https://api.github.com/users/composer/events{/privacy}","received_events_url":"https://api.github.com/users/composer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/composer/composer","description":"Dependency Manager for PHP","fork":false,"url":"https://api.github.com/repos/composer/composer","forks_url":"https://api.github.com/repos/composer/composer/forks","keys_url":"https://api.github.com/repos/composer/composer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/composer/composer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/composer/composer/teams","hooks_url":"https://api.github.com/repos/composer/composer/hooks","issue_events_url":"https://api.github.com/repos/composer/composer/issues/events{/number}","events_url":"https://api.github.com/repos/composer/composer/events","assignees_url":"https://api.github.com/repos/composer/composer/assignees{/user}","branches_url":"https://api.github.com/repos/composer/composer/branches{/branch}","tags_url":"https://api.github.com/repos/composer/composer/tags","blobs_url":"https://api.github.com/repos/composer/composer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/composer/composer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/composer/composer/git/refs{/sha}","trees_url":"https://api.github.com/repos/composer/composer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/composer/composer/statuses/{sha}","languages_url":"https://api.github.com/repos/composer/composer/languages","stargazers_url":"https://api.github.com/repos/composer/composer/stargazers","contributors_url":"https://api.github.com/repos/composer/composer/contributors","subscribers_url":"https://api.github.com/repos/composer/composer/subscribers","subscription_url":"https://api.github.com/repos/composer/composer/subscription","commits_url":"https://api.github.com/repos/composer/composer/commits{/sha}","git_commits_url":"https://api.github.com/repos/composer/composer/git/commits{/sha}","comments_url":"https://api.github.com/repos/composer/composer/comments{/number}","issue_comment_url":"https://api.github.com/repos/composer/composer/issues/comments{/number}","contents_url":"https://api.github.com/repos/composer/composer/contents/{+path}","compare_url":"https://api.github.com/repos/composer/composer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/composer/composer/merges","archive_url":"https://api.github.com/repos/composer/composer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/composer/composer/downloads","issues_url":"https://api.github.com/repos/composer/composer/issues{/number}","pulls_url":"https://api.github.com/repos/composer/composer/pulls{/number}","milestones_url":"https://api.github.com/repos/composer/composer/milestones{/number}","notifications_url":"https://api.github.com/repos/composer/composer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/composer/composer/labels{/name}","releases_url":"https://api.github.com/repos/composer/composer/releases{/id}","deployments_url":"https://api.github.com/repos/composer/composer/deployments","created_at":"2011-06-08T08:53:00Z","updated_at":"2016-03-14T16:19:10Z","pushed_at":"2016-03-14T16:26:18Z","git_url":"git://github.com/composer/composer.git","ssh_url":"git@github.com:composer/composer.git","clone_url":"https://github.com/composer/composer.git","svn_url":"https://github.com/composer/composer","homepage":"https://getcomposer.org/","size":18310,"stargazers_count":7239,"watchers_count":7239,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2007,"mirror_url":null,"open_issues_count":323,"forks":2007,"open_issues":323,"watchers":7239,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/composer/composer/pulls/5055"},"html":{"href":"https://github.com/composer/composer/pull/5055"},"issue":{"href":"https://api.github.com/repos/composer/composer/issues/5055"},"comments":{"href":"https://api.github.com/repos/composer/composer/issues/5055/comments"},"review_comments":{"href":"https://api.github.com/repos/composer/composer/pulls/5055/comments"},"review_comment":{"href":"https://api.github.com/repos/composer/composer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/composer/composer/pulls/5055/commits"},"statuses":{"href":"https://api.github.com/repos/composer/composer/statuses/b4d9d0fd0d4aa0c67023e67c07b41492ff8feab8"}}}}