{"action":"opened","number":1937,"pull_request":{"url":"https://api.github.com/repos/bower/bower/pulls/1937","id":46576192,"html_url":"https://github.com/bower/bower/pull/1937","diff_url":"https://github.com/bower/bower/pull/1937.diff","patch_url":"https://github.com/bower/bower/pull/1937.patch","issue_url":"https://api.github.com/repos/bower/bower/issues/1937","number":1937,"state":"open","locked":false,"title":"Adding an httpsInsteadOfGit config option","user":{"login":"JohnRiv","id":614632,"avatar_url":"https://avatars.githubusercontent.com/u/614632?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnRiv","html_url":"https://github.com/JohnRiv","followers_url":"https://api.github.com/users/JohnRiv/followers","following_url":"https://api.github.com/users/JohnRiv/following{/other_user}","gists_url":"https://api.github.com/users/JohnRiv/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnRiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnRiv/subscriptions","organizations_url":"https://api.github.com/users/JohnRiv/orgs","repos_url":"https://api.github.com/users/JohnRiv/repos","events_url":"https://api.github.com/users/JohnRiv/events{/privacy}","received_events_url":"https://api.github.com/users/JohnRiv/received_events","type":"User","site_admin":false},"body":"This new config option provides yet another way to force git requests to use https instead of git.\r\n\r\nWhile `git config --global url.\"https://\".insteadOf git://` works well in local development, it is possible that a CI build server may not allow for that configuration, and setting the `bower_https_proxy` environment variable globally may not be desired to allow for individual project configuration. This new `\"httpsInsteadOfGit\":true` option allows for that to be set on a per-project basis.\r\n\r\nNote that this is currently possible by defining `\"https-proxy\":\"https://github.com\"` in .bowerrc, so for this pull request I'm just seeking to make that functionality more explicit for those seeking to do that, since it [seems to be a common need](http://stackoverflow.com/questions/15669091/bower-install-using-only-https).","created_at":"2015-10-01T21:00:29Z","updated_at":"2015-10-01T21:00:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bower/bower/pulls/1937/commits","review_comments_url":"https://api.github.com/repos/bower/bower/pulls/1937/comments","review_comment_url":"https://api.github.com/repos/bower/bower/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bower/bower/issues/1937/comments","statuses_url":"https://api.github.com/repos/bower/bower/statuses/0faf23fc00b78765e9a187c3d1e2644398e9175b","head":{"label":"JohnRiv:httpsInsteadOfGit","ref":"httpsInsteadOfGit","sha":"0faf23fc00b78765e9a187c3d1e2644398e9175b","user":{"login":"JohnRiv","id":614632,"avatar_url":"https://avatars.githubusercontent.com/u/614632?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnRiv","html_url":"https://github.com/JohnRiv","followers_url":"https://api.github.com/users/JohnRiv/followers","following_url":"https://api.github.com/users/JohnRiv/following{/other_user}","gists_url":"https://api.github.com/users/JohnRiv/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnRiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnRiv/subscriptions","organizations_url":"https://api.github.com/users/JohnRiv/orgs","repos_url":"https://api.github.com/users/JohnRiv/repos","events_url":"https://api.github.com/users/JohnRiv/events{/privacy}","received_events_url":"https://api.github.com/users/JohnRiv/received_events","type":"User","site_admin":false},"repo":{"id":43516244,"name":"bower","full_name":"JohnRiv/bower","owner":{"login":"JohnRiv","id":614632,"avatar_url":"https://avatars.githubusercontent.com/u/614632?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnRiv","html_url":"https://github.com/JohnRiv","followers_url":"https://api.github.com/users/JohnRiv/followers","following_url":"https://api.github.com/users/JohnRiv/following{/other_user}","gists_url":"https://api.github.com/users/JohnRiv/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnRiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnRiv/subscriptions","organizations_url":"https://api.github.com/users/JohnRiv/orgs","repos_url":"https://api.github.com/users/JohnRiv/repos","events_url":"https://api.github.com/users/JohnRiv/events{/privacy}","received_events_url":"https://api.github.com/users/JohnRiv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JohnRiv/bower","description":"A package manager for the web","fork":true,"url":"https://api.github.com/repos/JohnRiv/bower","forks_url":"https://api.github.com/repos/JohnRiv/bower/forks","keys_url":"https://api.github.com/repos/JohnRiv/bower/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JohnRiv/bower/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JohnRiv/bower/teams","hooks_url":"https://api.github.com/repos/JohnRiv/bower/hooks","issue_events_url":"https://api.github.com/repos/JohnRiv/bower/issues/events{/number}","events_url":"https://api.github.com/repos/JohnRiv/bower/events","assignees_url":"https://api.github.com/repos/JohnRiv/bower/assignees{/user}","branches_url":"https://api.github.com/repos/JohnRiv/bower/branches{/branch}","tags_url":"https://api.github.com/repos/JohnRiv/bower/tags","blobs_url":"https://api.github.com/repos/JohnRiv/bower/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JohnRiv/bower/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JohnRiv/bower/git/refs{/sha}","trees_url":"https://api.github.com/repos/JohnRiv/bower/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JohnRiv/bower/statuses/{sha}","languages_url":"https://api.github.com/repos/JohnRiv/bower/languages","stargazers_url":"https://api.github.com/repos/JohnRiv/bower/stargazers","contributors_url":"https://api.github.com/repos/JohnRiv/bower/contributors","subscribers_url":"https://api.github.com/repos/JohnRiv/bower/subscribers","subscription_url":"https://api.github.com/repos/JohnRiv/bower/subscription","commits_url":"https://api.github.com/repos/JohnRiv/bower/commits{/sha}","git_commits_url":"https://api.github.com/repos/JohnRiv/bower/git/commits{/sha}","comments_url":"https://api.github.com/repos/JohnRiv/bower/comments{/number}","issue_comment_url":"https://api.github.com/repos/JohnRiv/bower/issues/comments{/number}","contents_url":"https://api.github.com/repos/JohnRiv/bower/contents/{+path}","compare_url":"https://api.github.com/repos/JohnRiv/bower/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JohnRiv/bower/merges","archive_url":"https://api.github.com/repos/JohnRiv/bower/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JohnRiv/bower/downloads","issues_url":"https://api.github.com/repos/JohnRiv/bower/issues{/number}","pulls_url":"https://api.github.com/repos/JohnRiv/bower/pulls{/number}","milestones_url":"https://api.github.com/repos/JohnRiv/bower/milestones{/number}","notifications_url":"https://api.github.com/repos/JohnRiv/bower/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JohnRiv/bower/labels{/name}","releases_url":"https://api.github.com/repos/JohnRiv/bower/releases{/id}","created_at":"2015-10-01T19:25:39Z","updated_at":"2015-10-01T19:25:41Z","pushed_at":"2015-10-01T20:52:51Z","git_url":"git://github.com/JohnRiv/bower.git","ssh_url":"git@github.com:JohnRiv/bower.git","clone_url":"https://github.com/JohnRiv/bower.git","svn_url":"https://github.com/JohnRiv/bower","homepage":"bower.io","size":11058,"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":"bower:master","ref":"master","sha":"aafe02f3e9682e958d912f74f501f90470e2f984","user":{"login":"bower","id":3709251,"avatar_url":"https://avatars.githubusercontent.com/u/3709251?v=3","gravatar_id":"","url":"https://api.github.com/users/bower","html_url":"https://github.com/bower","followers_url":"https://api.github.com/users/bower/followers","following_url":"https://api.github.com/users/bower/following{/other_user}","gists_url":"https://api.github.com/users/bower/gists{/gist_id}","starred_url":"https://api.github.com/users/bower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bower/subscriptions","organizations_url":"https://api.github.com/users/bower/orgs","repos_url":"https://api.github.com/users/bower/repos","events_url":"https://api.github.com/users/bower/events{/privacy}","received_events_url":"https://api.github.com/users/bower/received_events","type":"Organization","site_admin":false},"repo":{"id":5710341,"name":"bower","full_name":"bower/bower","owner":{"login":"bower","id":3709251,"avatar_url":"https://avatars.githubusercontent.com/u/3709251?v=3","gravatar_id":"","url":"https://api.github.com/users/bower","html_url":"https://github.com/bower","followers_url":"https://api.github.com/users/bower/followers","following_url":"https://api.github.com/users/bower/following{/other_user}","gists_url":"https://api.github.com/users/bower/gists{/gist_id}","starred_url":"https://api.github.com/users/bower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bower/subscriptions","organizations_url":"https://api.github.com/users/bower/orgs","repos_url":"https://api.github.com/users/bower/repos","events_url":"https://api.github.com/users/bower/events{/privacy}","received_events_url":"https://api.github.com/users/bower/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bower/bower","description":"A package manager for the web","fork":false,"url":"https://api.github.com/repos/bower/bower","forks_url":"https://api.github.com/repos/bower/bower/forks","keys_url":"https://api.github.com/repos/bower/bower/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bower/bower/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bower/bower/teams","hooks_url":"https://api.github.com/repos/bower/bower/hooks","issue_events_url":"https://api.github.com/repos/bower/bower/issues/events{/number}","events_url":"https://api.github.com/repos/bower/bower/events","assignees_url":"https://api.github.com/repos/bower/bower/assignees{/user}","branches_url":"https://api.github.com/repos/bower/bower/branches{/branch}","tags_url":"https://api.github.com/repos/bower/bower/tags","blobs_url":"https://api.github.com/repos/bower/bower/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bower/bower/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bower/bower/git/refs{/sha}","trees_url":"https://api.github.com/repos/bower/bower/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bower/bower/statuses/{sha}","languages_url":"https://api.github.com/repos/bower/bower/languages","stargazers_url":"https://api.github.com/repos/bower/bower/stargazers","contributors_url":"https://api.github.com/repos/bower/bower/contributors","subscribers_url":"https://api.github.com/repos/bower/bower/subscribers","subscription_url":"https://api.github.com/repos/bower/bower/subscription","commits_url":"https://api.github.com/repos/bower/bower/commits{/sha}","git_commits_url":"https://api.github.com/repos/bower/bower/git/commits{/sha}","comments_url":"https://api.github.com/repos/bower/bower/comments{/number}","issue_comment_url":"https://api.github.com/repos/bower/bower/issues/comments{/number}","contents_url":"https://api.github.com/repos/bower/bower/contents/{+path}","compare_url":"https://api.github.com/repos/bower/bower/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bower/bower/merges","archive_url":"https://api.github.com/repos/bower/bower/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bower/bower/downloads","issues_url":"https://api.github.com/repos/bower/bower/issues{/number}","pulls_url":"https://api.github.com/repos/bower/bower/pulls{/number}","milestones_url":"https://api.github.com/repos/bower/bower/milestones{/number}","notifications_url":"https://api.github.com/repos/bower/bower/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bower/bower/labels{/name}","releases_url":"https://api.github.com/repos/bower/bower/releases{/id}","created_at":"2012-09-07T00:15:39Z","updated_at":"2015-10-01T19:46:24Z","pushed_at":"2015-09-28T19:06:07Z","git_url":"git://github.com/bower/bower.git","ssh_url":"git@github.com:bower/bower.git","clone_url":"https://github.com/bower/bower.git","svn_url":"https://github.com/bower/bower","homepage":"bower.io","size":11058,"stargazers_count":12952,"watchers_count":12952,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1612,"mirror_url":null,"open_issues_count":224,"forks":1612,"open_issues":224,"watchers":12952,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bower/bower/pulls/1937"},"html":{"href":"https://github.com/bower/bower/pull/1937"},"issue":{"href":"https://api.github.com/repos/bower/bower/issues/1937"},"comments":{"href":"https://api.github.com/repos/bower/bower/issues/1937/comments"},"review_comments":{"href":"https://api.github.com/repos/bower/bower/pulls/1937/comments"},"review_comment":{"href":"https://api.github.com/repos/bower/bower/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bower/bower/pulls/1937/commits"},"statuses":{"href":"https://api.github.com/repos/bower/bower/statuses/0faf23fc00b78765e9a187c3d1e2644398e9175b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":21,"deletions":2,"changed_files":2}}