{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/5691","repository_url":"https://api.github.com/repos/rust-lang/cargo","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/5691/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/5691/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/5691/events","html_url":"https://github.com/rust-lang/cargo/pull/5691","id":338996242,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5NzkxMTA0","number":5691,"title":"Make index lookup robust to _ vs -, but don't let the user get it wrong.","user":{"login":"Eh2406","id":3709504,"node_id":"MDQ6VXNlcjM3MDk1MDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/3709504?v=4","gravatar_id":"","url":"https://api.github.com/users/Eh2406","html_url":"https://github.com/Eh2406","followers_url":"https://api.github.com/users/Eh2406/followers","following_url":"https://api.github.com/users/Eh2406/following{/other_user}","gists_url":"https://api.github.com/users/Eh2406/gists{/gist_id}","starred_url":"https://api.github.com/users/Eh2406/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eh2406/subscriptions","organizations_url":"https://api.github.com/users/Eh2406/orgs","repos_url":"https://api.github.com/users/Eh2406/repos","events_url":"https://api.github.com/users/Eh2406/events{/privacy}","received_events_url":"https://api.github.com/users/Eh2406/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"matklad","id":1711539,"node_id":"MDQ6VXNlcjE3MTE1Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/1711539?v=4","gravatar_id":"","url":"https://api.github.com/users/matklad","html_url":"https://github.com/matklad","followers_url":"https://api.github.com/users/matklad/followers","following_url":"https://api.github.com/users/matklad/following{/other_user}","gists_url":"https://api.github.com/users/matklad/gists{/gist_id}","starred_url":"https://api.github.com/users/matklad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matklad/subscriptions","organizations_url":"https://api.github.com/users/matklad/orgs","repos_url":"https://api.github.com/users/matklad/repos","events_url":"https://api.github.com/users/matklad/events{/privacy}","received_events_url":"https://api.github.com/users/matklad/received_events","type":"User","site_admin":false},"assignees":[{"login":"matklad","id":1711539,"node_id":"MDQ6VXNlcjE3MTE1Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/1711539?v=4","gravatar_id":"","url":"https://api.github.com/users/matklad","html_url":"https://github.com/matklad","followers_url":"https://api.github.com/users/matklad/followers","following_url":"https://api.github.com/users/matklad/following{/other_user}","gists_url":"https://api.github.com/users/matklad/gists{/gist_id}","starred_url":"https://api.github.com/users/matklad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matklad/subscriptions","organizations_url":"https://api.github.com/users/matklad/orgs","repos_url":"https://api.github.com/users/matklad/repos","events_url":"https://api.github.com/users/matklad/events{/privacy}","received_events_url":"https://api.github.com/users/matklad/received_events","type":"User","site_admin":false}],"milestone":null,"comments":17,"created_at":"2018-07-06T16:17:15Z","updated_at":"2018-07-11T22:28:45Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/rust-lang/cargo/pulls/5691","html_url":"https://github.com/rust-lang/cargo/pull/5691","diff_url":"https://github.com/rust-lang/cargo/pull/5691.diff","patch_url":"https://github.com/rust-lang/cargo/pull/5691.patch"},"body":"This does a brute force search thru combinations of hyphen and underscores to allow queries of crates to pass the wrong one.\r\n\r\nThis is a small first step of fixing #2775\r\n\r\nWhere is best to add test?"},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/404330483","html_url":"https://github.com/rust-lang/cargo/pull/5691#issuecomment-404330483","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/5691","id":404330483,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDMzMDQ4Mw==","user":{"login":"alexcrichton","id":64996,"node_id":"MDQ6VXNlcjY0OTk2","avatar_url":"https://avatars1.githubusercontent.com/u/64996?v=4","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"created_at":"2018-07-11T22:28:45Z","updated_at":"2018-07-11T22:28:45Z","author_association":"MEMBER","body":"Looking plausible! I might recommend though still using lehvenstein distance in the end just to make sure we don't print too many suggestions (and maybe cap to 5 or so?)"}}
{"actor":{"display_login":"alexcrichton"}}