{"action":"created","issue":{"url":"https://api.github.com/repos/stb-tester/stb-tester/issues/358","repository_url":"https://api.github.com/repos/stb-tester/stb-tester","labels_url":"https://api.github.com/repos/stb-tester/stb-tester/issues/358/labels{/name}","comments_url":"https://api.github.com/repos/stb-tester/stb-tester/issues/358/comments","events_url":"https://api.github.com/repos/stb-tester/stb-tester/issues/358/events","html_url":"https://github.com/stb-tester/stb-tester/pull/358","id":154005238,"number":358,"title":"Rename \"stbt templatematch\" command to \"stbt match\"","user":{"login":"drothlis","id":12424,"avatar_url":"https://avatars.githubusercontent.com/u/12424?v=3","gravatar_id":"","url":"https://api.github.com/users/drothlis","html_url":"https://github.com/drothlis","followers_url":"https://api.github.com/users/drothlis/followers","following_url":"https://api.github.com/users/drothlis/following{/other_user}","gists_url":"https://api.github.com/users/drothlis/gists{/gist_id}","starred_url":"https://api.github.com/users/drothlis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drothlis/subscriptions","organizations_url":"https://api.github.com/users/drothlis/orgs","repos_url":"https://api.github.com/users/drothlis/repos","events_url":"https://api.github.com/users/drothlis/events{/privacy}","received_events_url":"https://api.github.com/users/drothlis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-10T13:23:41Z","updated_at":"2016-05-10T13:23:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/stb-tester/stb-tester/pulls/358","html_url":"https://github.com/stb-tester/stb-tester/pull/358","diff_url":"https://github.com/stb-tester/stb-tester/pull/358.diff","patch_url":"https://github.com/stb-tester/stb-tester/pull/358.patch"},"body":"For consistency with the Python API \"stbt.match\". I've been trying to\r\nremove the wording \"templatematch\" from our public APIs as it is the\r\nname of the OpenCV function we use in the first pass of our matching\r\nalgorithm; as such it is an implementation detail. The argument names to\r\n`stbt.match`, `stbt.wait_for_match` etc are \"image\" (not \"template\") and\r\nin prose we call this a \"reference image\" rather than a \"template\".\r\n\r\nFor backwards compatibility we keep \"stbt templatematch\" as an alias.\r\n"},"comment":{"url":"https://api.github.com/repos/stb-tester/stb-tester/issues/comments/218155612","html_url":"https://github.com/stb-tester/stb-tester/pull/358#issuecomment-218155612","issue_url":"https://api.github.com/repos/stb-tester/stb-tester/issues/358","id":218155612,"user":{"login":"drothlis","id":12424,"avatar_url":"https://avatars.githubusercontent.com/u/12424?v=3","gravatar_id":"","url":"https://api.github.com/users/drothlis","html_url":"https://github.com/drothlis","followers_url":"https://api.github.com/users/drothlis/followers","following_url":"https://api.github.com/users/drothlis/following{/other_user}","gists_url":"https://api.github.com/users/drothlis/gists{/gist_id}","starred_url":"https://api.github.com/users/drothlis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drothlis/subscriptions","organizations_url":"https://api.github.com/users/drothlis/orgs","repos_url":"https://api.github.com/users/drothlis/repos","events_url":"https://api.github.com/users/drothlis/events{/privacy}","received_events_url":"https://api.github.com/users/drothlis/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T13:23:59Z","updated_at":"2016-05-10T13:23:59Z","body":"Just a small tidy-up that I'd like to see in v25."}}