{"action":"created","comment":{"url":"https://api.github.com/repos/ouspg/trytls/pulls/comments/69547212","id":69547212,"diff_hunk":"@@ -0,0 +1,98 @@\n+\n+# Dependencies\n+\n+ * This stub has been tested on OS X 10.11.5 and Python 2.7.10\n+ * [urllib2](https://docs.python.org/2/library/urllib2.html) is part of [python 2.7 standard library](https://docs.python.org/2/library/index.html)\n+\n+\n+# Examples\n+\n+## Running badssl tests with TryTLS runner.\n+\n+```\n+% <path-to-your-trytls>/trytls -t showrunner.bundles.https.badssl_tests python run.py\n+PASS badssl(True, 'sha1-2016')\n+PASS badssl(False, 'expired')\n+```\n+\n+## Running manually.\n+\n+```\n+% python python-urllib2/run.py sha1-2016.badssl.com 443\n+VERIFY SUCCESS\n+\n+% python python-urllib2/run.py expired.badssl.com 443\n+VERIFY FAILURE\n+```\n+\n+# Dealing with unexpected behaviour\n+\n+This stub tries to avoid a situation where traceback gets hidden on unexpected behaviour.\n+\n+Manual / example test, connecting to non-existent domain.\n+```\n+python python-urllib2/run.py https://www.nosuch.example.local/ 443 || echo \"$?\"","path":"stubs/python-urllib2/README.md","position":34,"original_position":34,"commit_id":"c23ff4ad08eb55f11f32682b7a8e33eca669bcd2","original_commit_id":"c23ff4ad08eb55f11f32682b7a8e33eca669bcd2","user":{"login":"jviide","id":19776768,"avatar_url":"https://avatars.githubusercontent.com/u/19776768?v=3","gravatar_id":"","url":"https://api.github.com/users/jviide","html_url":"https://github.com/jviide","followers_url":"https://api.github.com/users/jviide/followers","following_url":"https://api.github.com/users/jviide/following{/other_user}","gists_url":"https://api.github.com/users/jviide/gists{/gist_id}","starred_url":"https://api.github.com/users/jviide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jviide/subscriptions","organizations_url":"https://api.github.com/users/jviide/orgs","repos_url":"https://api.github.com/users/jviide/repos","events_url":"https://api.github.com/users/jviide/events{/privacy}","received_events_url":"https://api.github.com/users/jviide/received_events","type":"User","site_admin":false},"body":"You probably want to give a hostname as a parameter, not a URL.","created_at":"2016-07-05T11:28:44Z","updated_at":"2016-07-05T11:28:44Z","html_url":"https://github.com/ouspg/trytls/pull/41#discussion_r69547212","pull_request_url":"https://api.github.com/repos/ouspg/trytls/pulls/41","_links":{"self":{"href":"https://api.github.com/repos/ouspg/trytls/pulls/comments/69547212"},"html":{"href":"https://github.com/ouspg/trytls/pull/41#discussion_r69547212"},"pull_request":{"href":"https://api.github.com/repos/ouspg/trytls/pulls/41"}}},"pull_request":{"url":"https://api.github.com/repos/ouspg/trytls/pulls/41","id":76257023,"html_url":"https://github.com/ouspg/trytls/pull/41","diff_url":"https://github.com/ouspg/trytls/pull/41.diff","patch_url":"https://github.com/ouspg/trytls/pull/41.patch","issue_url":"https://api.github.com/repos/ouspg/trytls/issues/41","number":41,"state":"open","locked":false,"title":"[WIP] python-urllib2","user":{"login":"evilon","id":16004802,"avatar_url":"https://avatars.githubusercontent.com/u/16004802?v=3","gravatar_id":"","url":"https://api.github.com/users/evilon","html_url":"https://github.com/evilon","followers_url":"https://api.github.com/users/evilon/followers","following_url":"https://api.github.com/users/evilon/following{/other_user}","gists_url":"https://api.github.com/users/evilon/gists{/gist_id}","starred_url":"https://api.github.com/users/evilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evilon/subscriptions","organizations_url":"https://api.github.com/users/evilon/orgs","repos_url":"https://api.github.com/users/evilon/repos","events_url":"https://api.github.com/users/evilon/events{/privacy}","received_events_url":"https://api.github.com/users/evilon/received_events","type":"User","site_admin":false},"body":"python-urllib2 pull request. Hoping guidance from more experienced coders. \r\n\r\nTodo:\r\n\r\n * [ ] Check that CA-file argument actually works. \r\n * [ ] Check if main contributors expect LICENSE.","created_at":"2016-07-05T11:17:54Z","updated_at":"2016-07-05T11:28:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5431d677dd03c53d865404f9fe35efbfa152398","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ouspg/trytls/pulls/41/commits","review_comments_url":"https://api.github.com/repos/ouspg/trytls/pulls/41/comments","review_comment_url":"https://api.github.com/repos/ouspg/trytls/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ouspg/trytls/issues/41/comments","statuses_url":"https://api.github.com/repos/ouspg/trytls/statuses/c23ff4ad08eb55f11f32682b7a8e33eca669bcd2","head":{"label":"ouspg:python-urllib2","ref":"python-urllib2","sha":"c23ff4ad08eb55f11f32682b7a8e33eca669bcd2","user":{"login":"ouspg","id":718867,"avatar_url":"https://avatars.githubusercontent.com/u/718867?v=3","gravatar_id":"","url":"https://api.github.com/users/ouspg","html_url":"https://github.com/ouspg","followers_url":"https://api.github.com/users/ouspg/followers","following_url":"https://api.github.com/users/ouspg/following{/other_user}","gists_url":"https://api.github.com/users/ouspg/gists{/gist_id}","starred_url":"https://api.github.com/users/ouspg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ouspg/subscriptions","organizations_url":"https://api.github.com/users/ouspg/orgs","repos_url":"https://api.github.com/users/ouspg/repos","events_url":"https://api.github.com/users/ouspg/events{/privacy}","received_events_url":"https://api.github.com/users/ouspg/received_events","type":"Organization","site_admin":false},"repo":{"id":61111303,"name":"trytls","full_name":"ouspg/trytls","owner":{"login":"ouspg","id":718867,"avatar_url":"https://avatars.githubusercontent.com/u/718867?v=3","gravatar_id":"","url":"https://api.github.com/users/ouspg","html_url":"https://github.com/ouspg","followers_url":"https://api.github.com/users/ouspg/followers","following_url":"https://api.github.com/users/ouspg/following{/other_user}","gists_url":"https://api.github.com/users/ouspg/gists{/gist_id}","starred_url":"https://api.github.com/users/ouspg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ouspg/subscriptions","organizations_url":"https://api.github.com/users/ouspg/orgs","repos_url":"https://api.github.com/users/ouspg/repos","events_url":"https://api.github.com/users/ouspg/events{/privacy}","received_events_url":"https://api.github.com/users/ouspg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ouspg/trytls","description":"TryTLS checks the certificate checkers.","fork":false,"url":"https://api.github.com/repos/ouspg/trytls","forks_url":"https://api.github.com/repos/ouspg/trytls/forks","keys_url":"https://api.github.com/repos/ouspg/trytls/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ouspg/trytls/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ouspg/trytls/teams","hooks_url":"https://api.github.com/repos/ouspg/trytls/hooks","issue_events_url":"https://api.github.com/repos/ouspg/trytls/issues/events{/number}","events_url":"https://api.github.com/repos/ouspg/trytls/events","assignees_url":"https://api.github.com/repos/ouspg/trytls/assignees{/user}","branches_url":"https://api.github.com/repos/ouspg/trytls/branches{/branch}","tags_url":"https://api.github.com/repos/ouspg/trytls/tags","blobs_url":"https://api.github.com/repos/ouspg/trytls/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ouspg/trytls/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ouspg/trytls/git/refs{/sha}","trees_url":"https://api.github.com/repos/ouspg/trytls/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ouspg/trytls/statuses/{sha}","languages_url":"https://api.github.com/repos/ouspg/trytls/languages","stargazers_url":"https://api.github.com/repos/ouspg/trytls/stargazers","contributors_url":"https://api.github.com/repos/ouspg/trytls/contributors","subscribers_url":"https://api.github.com/repos/ouspg/trytls/subscribers","subscription_url":"https://api.github.com/repos/ouspg/trytls/subscription","commits_url":"https://api.github.com/repos/ouspg/trytls/commits{/sha}","git_commits_url":"https://api.github.com/repos/ouspg/trytls/git/commits{/sha}","comments_url":"https://api.github.com/repos/ouspg/trytls/comments{/number}","issue_comment_url":"https://api.github.com/repos/ouspg/trytls/issues/comments{/number}","contents_url":"https://api.github.com/repos/ouspg/trytls/contents/{+path}","compare_url":"https://api.github.com/repos/ouspg/trytls/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ouspg/trytls/merges","archive_url":"https://api.github.com/repos/ouspg/trytls/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ouspg/trytls/downloads","issues_url":"https://api.github.com/repos/ouspg/trytls/issues{/number}","pulls_url":"https://api.github.com/repos/ouspg/trytls/pulls{/number}","milestones_url":"https://api.github.com/repos/ouspg/trytls/milestones{/number}","notifications_url":"https://api.github.com/repos/ouspg/trytls/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ouspg/trytls/labels{/name}","releases_url":"https://api.github.com/repos/ouspg/trytls/releases{/id}","deployments_url":"https://api.github.com/repos/ouspg/trytls/deployments","created_at":"2016-06-14T09:49:42Z","updated_at":"2016-06-30T07:48:10Z","pushed_at":"2016-07-05T11:21:39Z","git_url":"git://github.com/ouspg/trytls.git","ssh_url":"git@github.com:ouspg/trytls.git","clone_url":"https://github.com/ouspg/trytls.git","svn_url":"https://github.com/ouspg/trytls","homepage":"","size":4716,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":17,"forks":2,"open_issues":17,"watchers":5,"default_branch":"master"}},"base":{"label":"ouspg:master","ref":"master","sha":"4c235e84b6b88c3b54659fae712726e5b974dc2c","user":{"login":"ouspg","id":718867,"avatar_url":"https://avatars.githubusercontent.com/u/718867?v=3","gravatar_id":"","url":"https://api.github.com/users/ouspg","html_url":"https://github.com/ouspg","followers_url":"https://api.github.com/users/ouspg/followers","following_url":"https://api.github.com/users/ouspg/following{/other_user}","gists_url":"https://api.github.com/users/ouspg/gists{/gist_id}","starred_url":"https://api.github.com/users/ouspg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ouspg/subscriptions","organizations_url":"https://api.github.com/users/ouspg/orgs","repos_url":"https://api.github.com/users/ouspg/repos","events_url":"https://api.github.com/users/ouspg/events{/privacy}","received_events_url":"https://api.github.com/users/ouspg/received_events","type":"Organization","site_admin":false},"repo":{"id":61111303,"name":"trytls","full_name":"ouspg/trytls","owner":{"login":"ouspg","id":718867,"avatar_url":"https://avatars.githubusercontent.com/u/718867?v=3","gravatar_id":"","url":"https://api.github.com/users/ouspg","html_url":"https://github.com/ouspg","followers_url":"https://api.github.com/users/ouspg/followers","following_url":"https://api.github.com/users/ouspg/following{/other_user}","gists_url":"https://api.github.com/users/ouspg/gists{/gist_id}","starred_url":"https://api.github.com/users/ouspg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ouspg/subscriptions","organizations_url":"https://api.github.com/users/ouspg/orgs","repos_url":"https://api.github.com/users/ouspg/repos","events_url":"https://api.github.com/users/ouspg/events{/privacy}","received_events_url":"https://api.github.com/users/ouspg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ouspg/trytls","description":"TryTLS checks the certificate checkers.","fork":false,"url":"https://api.github.com/repos/ouspg/trytls","forks_url":"https://api.github.com/repos/ouspg/trytls/forks","keys_url":"https://api.github.com/repos/ouspg/trytls/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ouspg/trytls/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ouspg/trytls/teams","hooks_url":"https://api.github.com/repos/ouspg/trytls/hooks","issue_events_url":"https://api.github.com/repos/ouspg/trytls/issues/events{/number}","events_url":"https://api.github.com/repos/ouspg/trytls/events","assignees_url":"https://api.github.com/repos/ouspg/trytls/assignees{/user}","branches_url":"https://api.github.com/repos/ouspg/trytls/branches{/branch}","tags_url":"https://api.github.com/repos/ouspg/trytls/tags","blobs_url":"https://api.github.com/repos/ouspg/trytls/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ouspg/trytls/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ouspg/trytls/git/refs{/sha}","trees_url":"https://api.github.com/repos/ouspg/trytls/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ouspg/trytls/statuses/{sha}","languages_url":"https://api.github.com/repos/ouspg/trytls/languages","stargazers_url":"https://api.github.com/repos/ouspg/trytls/stargazers","contributors_url":"https://api.github.com/repos/ouspg/trytls/contributors","subscribers_url":"https://api.github.com/repos/ouspg/trytls/subscribers","subscription_url":"https://api.github.com/repos/ouspg/trytls/subscription","commits_url":"https://api.github.com/repos/ouspg/trytls/commits{/sha}","git_commits_url":"https://api.github.com/repos/ouspg/trytls/git/commits{/sha}","comments_url":"https://api.github.com/repos/ouspg/trytls/comments{/number}","issue_comment_url":"https://api.github.com/repos/ouspg/trytls/issues/comments{/number}","contents_url":"https://api.github.com/repos/ouspg/trytls/contents/{+path}","compare_url":"https://api.github.com/repos/ouspg/trytls/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ouspg/trytls/merges","archive_url":"https://api.github.com/repos/ouspg/trytls/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ouspg/trytls/downloads","issues_url":"https://api.github.com/repos/ouspg/trytls/issues{/number}","pulls_url":"https://api.github.com/repos/ouspg/trytls/pulls{/number}","milestones_url":"https://api.github.com/repos/ouspg/trytls/milestones{/number}","notifications_url":"https://api.github.com/repos/ouspg/trytls/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ouspg/trytls/labels{/name}","releases_url":"https://api.github.com/repos/ouspg/trytls/releases{/id}","deployments_url":"https://api.github.com/repos/ouspg/trytls/deployments","created_at":"2016-06-14T09:49:42Z","updated_at":"2016-06-30T07:48:10Z","pushed_at":"2016-07-05T11:21:39Z","git_url":"git://github.com/ouspg/trytls.git","ssh_url":"git@github.com:ouspg/trytls.git","clone_url":"https://github.com/ouspg/trytls.git","svn_url":"https://github.com/ouspg/trytls","homepage":"","size":4716,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":17,"forks":2,"open_issues":17,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ouspg/trytls/pulls/41"},"html":{"href":"https://github.com/ouspg/trytls/pull/41"},"issue":{"href":"https://api.github.com/repos/ouspg/trytls/issues/41"},"comments":{"href":"https://api.github.com/repos/ouspg/trytls/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/ouspg/trytls/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/ouspg/trytls/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ouspg/trytls/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/ouspg/trytls/statuses/c23ff4ad08eb55f11f32682b7a8e33eca669bcd2"}}}}
{"actor":{"display_login":"jviide"}}