{"action":"opened","number":39,"pull_request":{"url":"https://api.github.com/repos/coderanger/pychef/pulls/39","id":43805536,"html_url":"https://github.com/coderanger/pychef/pull/39","diff_url":"https://github.com/coderanger/pychef/pull/39.diff","patch_url":"https://github.com/coderanger/pychef/pull/39.patch","issue_url":"https://api.github.com/repos/coderanger/pychef/issues/39","number":39,"state":"open","locked":false,"title":"Replace urllib2 with requests, add option to disable SSL cert verification","user":{"login":"cread","id":100992,"avatar_url":"https://avatars.githubusercontent.com/u/100992?v=3","gravatar_id":"","url":"https://api.github.com/users/cread","html_url":"https://github.com/cread","followers_url":"https://api.github.com/users/cread/followers","following_url":"https://api.github.com/users/cread/following{/other_user}","gists_url":"https://api.github.com/users/cread/gists{/gist_id}","starred_url":"https://api.github.com/users/cread/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cread/subscriptions","organizations_url":"https://api.github.com/users/cread/orgs","repos_url":"https://api.github.com/users/cread/repos","events_url":"https://api.github.com/users/cread/events{/privacy}","received_events_url":"https://api.github.com/users/cread/received_events","type":"User","site_admin":false},"body":"We have problems with our internally hosted chef server's SSL cert not being real, which is fine for us not facing the internet. Trying to disable validation with urllib2 is quite messy, so this patch:\r\n\r\n- Replaces urllib2 with requests, which cleans things up nicely\r\n- Adds an option to autoconfigure() that allows users to disable SSL certificate verification\r\n\r\n","created_at":"2015-08-31T20:20:44Z","updated_at":"2015-08-31T20:20:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/coderanger/pychef/pulls/39/commits","review_comments_url":"https://api.github.com/repos/coderanger/pychef/pulls/39/comments","review_comment_url":"https://api.github.com/repos/coderanger/pychef/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coderanger/pychef/issues/39/comments","statuses_url":"https://api.github.com/repos/coderanger/pychef/statuses/337d32124274b3f5e68251e58d7b6526139510df","head":{"label":"cread:switch_to_requests","ref":"switch_to_requests","sha":"337d32124274b3f5e68251e58d7b6526139510df","user":{"login":"cread","id":100992,"avatar_url":"https://avatars.githubusercontent.com/u/100992?v=3","gravatar_id":"","url":"https://api.github.com/users/cread","html_url":"https://github.com/cread","followers_url":"https://api.github.com/users/cread/followers","following_url":"https://api.github.com/users/cread/following{/other_user}","gists_url":"https://api.github.com/users/cread/gists{/gist_id}","starred_url":"https://api.github.com/users/cread/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cread/subscriptions","organizations_url":"https://api.github.com/users/cread/orgs","repos_url":"https://api.github.com/users/cread/repos","events_url":"https://api.github.com/users/cread/events{/privacy}","received_events_url":"https://api.github.com/users/cread/received_events","type":"User","site_admin":false},"repo":{"id":41694167,"name":"pychef","full_name":"cread/pychef","owner":{"login":"cread","id":100992,"avatar_url":"https://avatars.githubusercontent.com/u/100992?v=3","gravatar_id":"","url":"https://api.github.com/users/cread","html_url":"https://github.com/cread","followers_url":"https://api.github.com/users/cread/followers","following_url":"https://api.github.com/users/cread/following{/other_user}","gists_url":"https://api.github.com/users/cread/gists{/gist_id}","starred_url":"https://api.github.com/users/cread/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cread/subscriptions","organizations_url":"https://api.github.com/users/cread/orgs","repos_url":"https://api.github.com/users/cread/repos","events_url":"https://api.github.com/users/cread/events{/privacy}","received_events_url":"https://api.github.com/users/cread/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cread/pychef","description":"Python library to interact with the Chef server API","fork":true,"url":"https://api.github.com/repos/cread/pychef","forks_url":"https://api.github.com/repos/cread/pychef/forks","keys_url":"https://api.github.com/repos/cread/pychef/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cread/pychef/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cread/pychef/teams","hooks_url":"https://api.github.com/repos/cread/pychef/hooks","issue_events_url":"https://api.github.com/repos/cread/pychef/issues/events{/number}","events_url":"https://api.github.com/repos/cread/pychef/events","assignees_url":"https://api.github.com/repos/cread/pychef/assignees{/user}","branches_url":"https://api.github.com/repos/cread/pychef/branches{/branch}","tags_url":"https://api.github.com/repos/cread/pychef/tags","blobs_url":"https://api.github.com/repos/cread/pychef/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cread/pychef/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cread/pychef/git/refs{/sha}","trees_url":"https://api.github.com/repos/cread/pychef/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cread/pychef/statuses/{sha}","languages_url":"https://api.github.com/repos/cread/pychef/languages","stargazers_url":"https://api.github.com/repos/cread/pychef/stargazers","contributors_url":"https://api.github.com/repos/cread/pychef/contributors","subscribers_url":"https://api.github.com/repos/cread/pychef/subscribers","subscription_url":"https://api.github.com/repos/cread/pychef/subscription","commits_url":"https://api.github.com/repos/cread/pychef/commits{/sha}","git_commits_url":"https://api.github.com/repos/cread/pychef/git/commits{/sha}","comments_url":"https://api.github.com/repos/cread/pychef/comments{/number}","issue_comment_url":"https://api.github.com/repos/cread/pychef/issues/comments{/number}","contents_url":"https://api.github.com/repos/cread/pychef/contents/{+path}","compare_url":"https://api.github.com/repos/cread/pychef/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cread/pychef/merges","archive_url":"https://api.github.com/repos/cread/pychef/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cread/pychef/downloads","issues_url":"https://api.github.com/repos/cread/pychef/issues{/number}","pulls_url":"https://api.github.com/repos/cread/pychef/pulls{/number}","milestones_url":"https://api.github.com/repos/cread/pychef/milestones{/number}","notifications_url":"https://api.github.com/repos/cread/pychef/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cread/pychef/labels{/name}","releases_url":"https://api.github.com/repos/cread/pychef/releases{/id}","created_at":"2015-08-31T18:52:56Z","updated_at":"2015-08-31T18:52:57Z","pushed_at":"2015-08-31T20:16:39Z","git_url":"git://github.com/cread/pychef.git","ssh_url":"git@github.com:cread/pychef.git","clone_url":"https://github.com/cread/pychef.git","svn_url":"https://github.com/cread/pychef","homepage":"","size":603,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"coderanger:master","ref":"master","sha":"e42a55129ea7192949768863b53215a696925f5e","user":{"login":"coderanger","id":128243,"avatar_url":"https://avatars.githubusercontent.com/u/128243?v=3","gravatar_id":"","url":"https://api.github.com/users/coderanger","html_url":"https://github.com/coderanger","followers_url":"https://api.github.com/users/coderanger/followers","following_url":"https://api.github.com/users/coderanger/following{/other_user}","gists_url":"https://api.github.com/users/coderanger/gists{/gist_id}","starred_url":"https://api.github.com/users/coderanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coderanger/subscriptions","organizations_url":"https://api.github.com/users/coderanger/orgs","repos_url":"https://api.github.com/users/coderanger/repos","events_url":"https://api.github.com/users/coderanger/events{/privacy}","received_events_url":"https://api.github.com/users/coderanger/received_events","type":"User","site_admin":false},"repo":{"id":1116157,"name":"pychef","full_name":"coderanger/pychef","owner":{"login":"coderanger","id":128243,"avatar_url":"https://avatars.githubusercontent.com/u/128243?v=3","gravatar_id":"","url":"https://api.github.com/users/coderanger","html_url":"https://github.com/coderanger","followers_url":"https://api.github.com/users/coderanger/followers","following_url":"https://api.github.com/users/coderanger/following{/other_user}","gists_url":"https://api.github.com/users/coderanger/gists{/gist_id}","starred_url":"https://api.github.com/users/coderanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coderanger/subscriptions","organizations_url":"https://api.github.com/users/coderanger/orgs","repos_url":"https://api.github.com/users/coderanger/repos","events_url":"https://api.github.com/users/coderanger/events{/privacy}","received_events_url":"https://api.github.com/users/coderanger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/coderanger/pychef","description":"Python library to interact with the Chef server API","fork":false,"url":"https://api.github.com/repos/coderanger/pychef","forks_url":"https://api.github.com/repos/coderanger/pychef/forks","keys_url":"https://api.github.com/repos/coderanger/pychef/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coderanger/pychef/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coderanger/pychef/teams","hooks_url":"https://api.github.com/repos/coderanger/pychef/hooks","issue_events_url":"https://api.github.com/repos/coderanger/pychef/issues/events{/number}","events_url":"https://api.github.com/repos/coderanger/pychef/events","assignees_url":"https://api.github.com/repos/coderanger/pychef/assignees{/user}","branches_url":"https://api.github.com/repos/coderanger/pychef/branches{/branch}","tags_url":"https://api.github.com/repos/coderanger/pychef/tags","blobs_url":"https://api.github.com/repos/coderanger/pychef/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coderanger/pychef/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coderanger/pychef/git/refs{/sha}","trees_url":"https://api.github.com/repos/coderanger/pychef/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coderanger/pychef/statuses/{sha}","languages_url":"https://api.github.com/repos/coderanger/pychef/languages","stargazers_url":"https://api.github.com/repos/coderanger/pychef/stargazers","contributors_url":"https://api.github.com/repos/coderanger/pychef/contributors","subscribers_url":"https://api.github.com/repos/coderanger/pychef/subscribers","subscription_url":"https://api.github.com/repos/coderanger/pychef/subscription","commits_url":"https://api.github.com/repos/coderanger/pychef/commits{/sha}","git_commits_url":"https://api.github.com/repos/coderanger/pychef/git/commits{/sha}","comments_url":"https://api.github.com/repos/coderanger/pychef/comments{/number}","issue_comment_url":"https://api.github.com/repos/coderanger/pychef/issues/comments{/number}","contents_url":"https://api.github.com/repos/coderanger/pychef/contents/{+path}","compare_url":"https://api.github.com/repos/coderanger/pychef/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coderanger/pychef/merges","archive_url":"https://api.github.com/repos/coderanger/pychef/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coderanger/pychef/downloads","issues_url":"https://api.github.com/repos/coderanger/pychef/issues{/number}","pulls_url":"https://api.github.com/repos/coderanger/pychef/pulls{/number}","milestones_url":"https://api.github.com/repos/coderanger/pychef/milestones{/number}","notifications_url":"https://api.github.com/repos/coderanger/pychef/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coderanger/pychef/labels{/name}","releases_url":"https://api.github.com/repos/coderanger/pychef/releases{/id}","created_at":"2010-11-27T03:37:15Z","updated_at":"2015-08-10T21:35:01Z","pushed_at":"2015-08-14T20:20:35Z","git_url":"git://github.com/coderanger/pychef.git","ssh_url":"git@github.com:coderanger/pychef.git","clone_url":"https://github.com/coderanger/pychef.git","svn_url":"https://github.com/coderanger/pychef","homepage":"","size":603,"stargazers_count":152,"watchers_count":152,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":63,"mirror_url":null,"open_issues_count":13,"forks":63,"open_issues":13,"watchers":152,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coderanger/pychef/pulls/39"},"html":{"href":"https://github.com/coderanger/pychef/pull/39"},"issue":{"href":"https://api.github.com/repos/coderanger/pychef/issues/39"},"comments":{"href":"https://api.github.com/repos/coderanger/pychef/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/coderanger/pychef/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/coderanger/pychef/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coderanger/pychef/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/coderanger/pychef/statuses/337d32124274b3f5e68251e58d7b6526139510df"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":13,"deletions":25,"changed_files":2}}