{"action":"closed","number":119,"pull_request":{"url":"https://api.github.com/repos/ouspg/trytls/pulls/119","id":78847904,"html_url":"https://github.com/ouspg/trytls/pull/119","diff_url":"https://github.com/ouspg/trytls/pull/119.diff","patch_url":"https://github.com/ouspg/trytls/pull/119.patch","issue_url":"https://api.github.com/repos/ouspg/trytls/issues/119","number":119,"state":"closed","locked":false,"title":"Clarify passing arguments beginning with a hyphen to stubs","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":"This pull request implements the option 2 outlined in pull request #83: Modify `trytls` so that everything after the first COMMAND argument is passed to the stub as-is.\r\n\r\nDouble dashes ('--') still work, but it should be noted that having them before the bundle name will not suppress handling of optional arguments after the bundle name. For example the following will still print the help text:\r\n\r\n```sh\r\n $ trytls -- https -h\r\n```\r\n\r\nHowever the following tries to load bundle named '-h' instead of displaying the help text:\r\n\r\n```sh\r\n $ trytls -- -h https\r\n```\r\n\r\nThe following will attempt to execute command '-h' instead of displaying help:\r\n\r\n```sh\r\n $ trytls https -- -h\r\n```\r\n\r\nThis PR also contains a couple of additional fixes:\r\n\r\n * Tell the user that the bundle name was not valid when encountering an unknown bundle name.\r\n\r\n ```sh\r\n $ trytls httpss\r\n usage: trytls bundle command [arg ...]\r\n trytls: error: unknown bundle 'httpss'\r\n ```\r\n \r\n * Handle cases where the stub process couldn't be started at all.\r\n\r\n ```sh\r\n $ trytls https pytthonz stubs/python-urllib2/run.py \r\n platform: OS X 10.11.6\r\n runner: trytls 0.1.1 (CPython 2.7.12, OpenSSL 0.9.8zh)\r\n stub: pytthonz 'stubs/python-urllib2/run.py'\r\n ERROR support for TLS server name indication (SNI) [accept badssl.com:443]\r\n       reason: failed to launch the stub\r\n       output: No such file or directory \r\n ERROR expired certificate [reject expired.badssl.com:443]\r\n       reason: failed to launch the stub\r\n       output: No such file or directory\r\n ...\r\n```\r\n\r\nCloses #83.","created_at":"2016-07-26T13:07:08Z","updated_at":"2016-07-27T07:58:54Z","closed_at":"2016-07-27T07:58:53Z","merged_at":"2016-07-27T07:58:53Z","merge_commit_sha":"140c455dcd326a41d8b36c107f057c1f5521ccd6","assignee":{"login":"oherrala","id":89251,"avatar_url":"https://avatars.githubusercontent.com/u/89251?v=3","gravatar_id":"","url":"https://api.github.com/users/oherrala","html_url":"https://github.com/oherrala","followers_url":"https://api.github.com/users/oherrala/followers","following_url":"https://api.github.com/users/oherrala/following{/other_user}","gists_url":"https://api.github.com/users/oherrala/gists{/gist_id}","starred_url":"https://api.github.com/users/oherrala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oherrala/subscriptions","organizations_url":"https://api.github.com/users/oherrala/orgs","repos_url":"https://api.github.com/users/oherrala/repos","events_url":"https://api.github.com/users/oherrala/events{/privacy}","received_events_url":"https://api.github.com/users/oherrala/received_events","type":"User","site_admin":false},"assignees":[{"login":"oherrala","id":89251,"avatar_url":"https://avatars.githubusercontent.com/u/89251?v=3","gravatar_id":"","url":"https://api.github.com/users/oherrala","html_url":"https://github.com/oherrala","followers_url":"https://api.github.com/users/oherrala/followers","following_url":"https://api.github.com/users/oherrala/following{/other_user}","gists_url":"https://api.github.com/users/oherrala/gists{/gist_id}","starred_url":"https://api.github.com/users/oherrala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oherrala/subscriptions","organizations_url":"https://api.github.com/users/oherrala/orgs","repos_url":"https://api.github.com/users/oherrala/repos","events_url":"https://api.github.com/users/oherrala/events{/privacy}","received_events_url":"https://api.github.com/users/oherrala/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ouspg/trytls/pulls/119/commits","review_comments_url":"https://api.github.com/repos/ouspg/trytls/pulls/119/comments","review_comment_url":"https://api.github.com/repos/ouspg/trytls/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ouspg/trytls/issues/119/comments","statuses_url":"https://api.github.com/repos/ouspg/trytls/statuses/f0d605604487093923c685e8a180d40fbe7a451c","head":{"label":"ouspg:issue-83","ref":"issue-83","sha":"f0d605604487093923c685e8a180d40fbe7a451c","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":"Does ​your​ library check TLS certificates properly?","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-07-22T13:08:47Z","pushed_at":"2016-07-27T07:58:54Z","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":7318,"stargazers_count":8,"watchers_count":8,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":14,"forks":3,"open_issues":14,"watchers":8,"default_branch":"master"}},"base":{"label":"ouspg:master","ref":"master","sha":"7e58320027bdb42fd7ad6c3ff15eca5c14e541b5","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":"Does ​your​ library check TLS certificates properly?","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-07-22T13:08:47Z","pushed_at":"2016-07-27T07:58:54Z","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":7318,"stargazers_count":8,"watchers_count":8,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":14,"forks":3,"open_issues":14,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ouspg/trytls/pulls/119"},"html":{"href":"https://github.com/ouspg/trytls/pull/119"},"issue":{"href":"https://api.github.com/repos/ouspg/trytls/issues/119"},"comments":{"href":"https://api.github.com/repos/ouspg/trytls/issues/119/comments"},"review_comments":{"href":"https://api.github.com/repos/ouspg/trytls/pulls/119/comments"},"review_comment":{"href":"https://api.github.com/repos/ouspg/trytls/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ouspg/trytls/pulls/119/commits"},"statuses":{"href":"https://api.github.com/repos/ouspg/trytls/statuses/f0d605604487093923c685e8a180d40fbe7a451c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"oherrala","id":89251,"avatar_url":"https://avatars.githubusercontent.com/u/89251?v=3","gravatar_id":"","url":"https://api.github.com/users/oherrala","html_url":"https://github.com/oherrala","followers_url":"https://api.github.com/users/oherrala/followers","following_url":"https://api.github.com/users/oherrala/following{/other_user}","gists_url":"https://api.github.com/users/oherrala/gists{/gist_id}","starred_url":"https://api.github.com/users/oherrala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oherrala/subscriptions","organizations_url":"https://api.github.com/users/oherrala/orgs","repos_url":"https://api.github.com/users/oherrala/repos","events_url":"https://api.github.com/users/oherrala/events{/privacy}","received_events_url":"https://api.github.com/users/oherrala/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":5,"additions":52,"deletions":47,"changed_files":2}}
{"actor":{"display_login":"oherrala"}}