{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/alexbain/lirc_node/pulls/7","id":57736898,"html_url":"https://github.com/alexbain/lirc_node/pull/7","diff_url":"https://github.com/alexbain/lirc_node/pull/7.diff","patch_url":"https://github.com/alexbain/lirc_node/pull/7.patch","issue_url":"https://api.github.com/repos/alexbain/lirc_node/issues/7","number":7,"state":"open","locked":false,"title":"Bugfix: call callback after fetching remote commands","user":{"login":"OvisMaximus","id":5701377,"avatar_url":"https://avatars.githubusercontent.com/u/5701377?v=3","gravatar_id":"","url":"https://api.github.com/users/OvisMaximus","html_url":"https://github.com/OvisMaximus","followers_url":"https://api.github.com/users/OvisMaximus/followers","following_url":"https://api.github.com/users/OvisMaximus/following{/other_user}","gists_url":"https://api.github.com/users/OvisMaximus/gists{/gist_id}","starred_url":"https://api.github.com/users/OvisMaximus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OvisMaximus/subscriptions","organizations_url":"https://api.github.com/users/OvisMaximus/orgs","repos_url":"https://api.github.com/users/OvisMaximus/repos","events_url":"https://api.github.com/users/OvisMaximus/events{/privacy}","received_events_url":"https://api.github.com/users/OvisMaximus/received_events","type":"User","site_admin":false},"body":"The init callback has been called directly after fetching the lirc remotes. The commands of these were not available then. Fixed by collecting the execs fetching the remote commands.\r\n\r\nSince the involved methods solely rely on output of the executed commands, i see no reasonable way to implement a test which probes the timing.","created_at":"2016-01-30T10:49:42Z","updated_at":"2016-01-30T10:49:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alexbain/lirc_node/pulls/7/commits","review_comments_url":"https://api.github.com/repos/alexbain/lirc_node/pulls/7/comments","review_comment_url":"https://api.github.com/repos/alexbain/lirc_node/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alexbain/lirc_node/issues/7/comments","statuses_url":"https://api.github.com/repos/alexbain/lirc_node/statuses/d7370876422b4216e6135256eb6231a16edbf4c5","head":{"label":"OvisMaximus:master","ref":"master","sha":"d7370876422b4216e6135256eb6231a16edbf4c5","user":{"login":"OvisMaximus","id":5701377,"avatar_url":"https://avatars.githubusercontent.com/u/5701377?v=3","gravatar_id":"","url":"https://api.github.com/users/OvisMaximus","html_url":"https://github.com/OvisMaximus","followers_url":"https://api.github.com/users/OvisMaximus/followers","following_url":"https://api.github.com/users/OvisMaximus/following{/other_user}","gists_url":"https://api.github.com/users/OvisMaximus/gists{/gist_id}","starred_url":"https://api.github.com/users/OvisMaximus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OvisMaximus/subscriptions","organizations_url":"https://api.github.com/users/OvisMaximus/orgs","repos_url":"https://api.github.com/users/OvisMaximus/repos","events_url":"https://api.github.com/users/OvisMaximus/events{/privacy}","received_events_url":"https://api.github.com/users/OvisMaximus/received_events","type":"User","site_admin":false},"repo":{"id":50718591,"name":"lirc_node","full_name":"OvisMaximus/lirc_node","owner":{"login":"OvisMaximus","id":5701377,"avatar_url":"https://avatars.githubusercontent.com/u/5701377?v=3","gravatar_id":"","url":"https://api.github.com/users/OvisMaximus","html_url":"https://github.com/OvisMaximus","followers_url":"https://api.github.com/users/OvisMaximus/followers","following_url":"https://api.github.com/users/OvisMaximus/following{/other_user}","gists_url":"https://api.github.com/users/OvisMaximus/gists{/gist_id}","starred_url":"https://api.github.com/users/OvisMaximus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OvisMaximus/subscriptions","organizations_url":"https://api.github.com/users/OvisMaximus/orgs","repos_url":"https://api.github.com/users/OvisMaximus/repos","events_url":"https://api.github.com/users/OvisMaximus/events{/privacy}","received_events_url":"https://api.github.com/users/OvisMaximus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/OvisMaximus/lirc_node","description":"Control LIRC from NodeJS","fork":true,"url":"https://api.github.com/repos/OvisMaximus/lirc_node","forks_url":"https://api.github.com/repos/OvisMaximus/lirc_node/forks","keys_url":"https://api.github.com/repos/OvisMaximus/lirc_node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OvisMaximus/lirc_node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OvisMaximus/lirc_node/teams","hooks_url":"https://api.github.com/repos/OvisMaximus/lirc_node/hooks","issue_events_url":"https://api.github.com/repos/OvisMaximus/lirc_node/issues/events{/number}","events_url":"https://api.github.com/repos/OvisMaximus/lirc_node/events","assignees_url":"https://api.github.com/repos/OvisMaximus/lirc_node/assignees{/user}","branches_url":"https://api.github.com/repos/OvisMaximus/lirc_node/branches{/branch}","tags_url":"https://api.github.com/repos/OvisMaximus/lirc_node/tags","blobs_url":"https://api.github.com/repos/OvisMaximus/lirc_node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OvisMaximus/lirc_node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OvisMaximus/lirc_node/git/refs{/sha}","trees_url":"https://api.github.com/repos/OvisMaximus/lirc_node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OvisMaximus/lirc_node/statuses/{sha}","languages_url":"https://api.github.com/repos/OvisMaximus/lirc_node/languages","stargazers_url":"https://api.github.com/repos/OvisMaximus/lirc_node/stargazers","contributors_url":"https://api.github.com/repos/OvisMaximus/lirc_node/contributors","subscribers_url":"https://api.github.com/repos/OvisMaximus/lirc_node/subscribers","subscription_url":"https://api.github.com/repos/OvisMaximus/lirc_node/subscription","commits_url":"https://api.github.com/repos/OvisMaximus/lirc_node/commits{/sha}","git_commits_url":"https://api.github.com/repos/OvisMaximus/lirc_node/git/commits{/sha}","comments_url":"https://api.github.com/repos/OvisMaximus/lirc_node/comments{/number}","issue_comment_url":"https://api.github.com/repos/OvisMaximus/lirc_node/issues/comments{/number}","contents_url":"https://api.github.com/repos/OvisMaximus/lirc_node/contents/{+path}","compare_url":"https://api.github.com/repos/OvisMaximus/lirc_node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OvisMaximus/lirc_node/merges","archive_url":"https://api.github.com/repos/OvisMaximus/lirc_node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OvisMaximus/lirc_node/downloads","issues_url":"https://api.github.com/repos/OvisMaximus/lirc_node/issues{/number}","pulls_url":"https://api.github.com/repos/OvisMaximus/lirc_node/pulls{/number}","milestones_url":"https://api.github.com/repos/OvisMaximus/lirc_node/milestones{/number}","notifications_url":"https://api.github.com/repos/OvisMaximus/lirc_node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OvisMaximus/lirc_node/labels{/name}","releases_url":"https://api.github.com/repos/OvisMaximus/lirc_node/releases{/id}","deployments_url":"https://api.github.com/repos/OvisMaximus/lirc_node/deployments","created_at":"2016-01-30T09:39:39Z","updated_at":"2016-01-30T09:39:40Z","pushed_at":"2016-01-30T10:40:06Z","git_url":"git://github.com/OvisMaximus/lirc_node.git","ssh_url":"git@github.com:OvisMaximus/lirc_node.git","clone_url":"https://github.com/OvisMaximus/lirc_node.git","svn_url":"https://github.com/OvisMaximus/lirc_node","homepage":null,"size":23,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"alexbain:master","ref":"master","sha":"5456d79ff3a75fe9f66935338acd982e43eb6ce3","user":{"login":"alexbain","id":65052,"avatar_url":"https://avatars.githubusercontent.com/u/65052?v=3","gravatar_id":"","url":"https://api.github.com/users/alexbain","html_url":"https://github.com/alexbain","followers_url":"https://api.github.com/users/alexbain/followers","following_url":"https://api.github.com/users/alexbain/following{/other_user}","gists_url":"https://api.github.com/users/alexbain/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbain/subscriptions","organizations_url":"https://api.github.com/users/alexbain/orgs","repos_url":"https://api.github.com/users/alexbain/repos","events_url":"https://api.github.com/users/alexbain/events{/privacy}","received_events_url":"https://api.github.com/users/alexbain/received_events","type":"User","site_admin":false},"repo":{"id":7584990,"name":"lirc_node","full_name":"alexbain/lirc_node","owner":{"login":"alexbain","id":65052,"avatar_url":"https://avatars.githubusercontent.com/u/65052?v=3","gravatar_id":"","url":"https://api.github.com/users/alexbain","html_url":"https://github.com/alexbain","followers_url":"https://api.github.com/users/alexbain/followers","following_url":"https://api.github.com/users/alexbain/following{/other_user}","gists_url":"https://api.github.com/users/alexbain/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbain/subscriptions","organizations_url":"https://api.github.com/users/alexbain/orgs","repos_url":"https://api.github.com/users/alexbain/repos","events_url":"https://api.github.com/users/alexbain/events{/privacy}","received_events_url":"https://api.github.com/users/alexbain/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexbain/lirc_node","description":"Control LIRC from NodeJS","fork":false,"url":"https://api.github.com/repos/alexbain/lirc_node","forks_url":"https://api.github.com/repos/alexbain/lirc_node/forks","keys_url":"https://api.github.com/repos/alexbain/lirc_node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexbain/lirc_node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexbain/lirc_node/teams","hooks_url":"https://api.github.com/repos/alexbain/lirc_node/hooks","issue_events_url":"https://api.github.com/repos/alexbain/lirc_node/issues/events{/number}","events_url":"https://api.github.com/repos/alexbain/lirc_node/events","assignees_url":"https://api.github.com/repos/alexbain/lirc_node/assignees{/user}","branches_url":"https://api.github.com/repos/alexbain/lirc_node/branches{/branch}","tags_url":"https://api.github.com/repos/alexbain/lirc_node/tags","blobs_url":"https://api.github.com/repos/alexbain/lirc_node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexbain/lirc_node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexbain/lirc_node/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexbain/lirc_node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexbain/lirc_node/statuses/{sha}","languages_url":"https://api.github.com/repos/alexbain/lirc_node/languages","stargazers_url":"https://api.github.com/repos/alexbain/lirc_node/stargazers","contributors_url":"https://api.github.com/repos/alexbain/lirc_node/contributors","subscribers_url":"https://api.github.com/repos/alexbain/lirc_node/subscribers","subscription_url":"https://api.github.com/repos/alexbain/lirc_node/subscription","commits_url":"https://api.github.com/repos/alexbain/lirc_node/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexbain/lirc_node/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexbain/lirc_node/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexbain/lirc_node/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexbain/lirc_node/contents/{+path}","compare_url":"https://api.github.com/repos/alexbain/lirc_node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexbain/lirc_node/merges","archive_url":"https://api.github.com/repos/alexbain/lirc_node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexbain/lirc_node/downloads","issues_url":"https://api.github.com/repos/alexbain/lirc_node/issues{/number}","pulls_url":"https://api.github.com/repos/alexbain/lirc_node/pulls{/number}","milestones_url":"https://api.github.com/repos/alexbain/lirc_node/milestones{/number}","notifications_url":"https://api.github.com/repos/alexbain/lirc_node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexbain/lirc_node/labels{/name}","releases_url":"https://api.github.com/repos/alexbain/lirc_node/releases{/id}","deployments_url":"https://api.github.com/repos/alexbain/lirc_node/deployments","created_at":"2013-01-13T05:57:48Z","updated_at":"2016-01-22T14:38:30Z","pushed_at":"2016-01-30T10:49:43Z","git_url":"git://github.com/alexbain/lirc_node.git","ssh_url":"git@github.com:alexbain/lirc_node.git","clone_url":"https://github.com/alexbain/lirc_node.git","svn_url":"https://github.com/alexbain/lirc_node","homepage":null,"size":29,"stargazers_count":39,"watchers_count":39,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":1,"forks":19,"open_issues":1,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alexbain/lirc_node/pulls/7"},"html":{"href":"https://github.com/alexbain/lirc_node/pull/7"},"issue":{"href":"https://api.github.com/repos/alexbain/lirc_node/issues/7"},"comments":{"href":"https://api.github.com/repos/alexbain/lirc_node/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/alexbain/lirc_node/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/alexbain/lirc_node/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alexbain/lirc_node/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/alexbain/lirc_node/statuses/d7370876422b4216e6135256eb6231a16edbf4c5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":10,"deletions":3,"changed_files":1}}