{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/martinling/sigrok-cli-java/pulls/1","id":49374104,"html_url":"https://github.com/martinling/sigrok-cli-java/pull/1","diff_url":"https://github.com/martinling/sigrok-cli-java/pull/1.diff","patch_url":"https://github.com/martinling/sigrok-cli-java/pull/1.patch","issue_url":"https://api.github.com/repos/martinling/sigrok-cli-java/issues/1","number":1,"state":"open","locked":false,"title":"Device needs to be opened before setting options","user":{"login":"zeldin","id":411296,"avatar_url":"https://avatars.githubusercontent.com/u/411296?v=3","gravatar_id":"","url":"https://api.github.com/users/zeldin","html_url":"https://github.com/zeldin","followers_url":"https://api.github.com/users/zeldin/followers","following_url":"https://api.github.com/users/zeldin/following{/other_user}","gists_url":"https://api.github.com/users/zeldin/gists{/gist_id}","starred_url":"https://api.github.com/users/zeldin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeldin/subscriptions","organizations_url":"https://api.github.com/users/zeldin/orgs","repos_url":"https://api.github.com/users/zeldin/repos","events_url":"https://api.github.com/users/zeldin/events{/privacy}","received_events_url":"https://api.github.com/users/zeldin/received_events","type":"User","site_admin":false},"body":"For example saleae-logic16 checks in config_set that sdi->status == SR_ST_ACTIVE.\r\n\r\nsigrok-cli does sr_dev_open() before setting any options, so Java version should do the same.","created_at":"2015-11-01T15:32:41Z","updated_at":"2015-11-01T15:32:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/martinling/sigrok-cli-java/pulls/1/commits","review_comments_url":"https://api.github.com/repos/martinling/sigrok-cli-java/pulls/1/comments","review_comment_url":"https://api.github.com/repos/martinling/sigrok-cli-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/martinling/sigrok-cli-java/issues/1/comments","statuses_url":"https://api.github.com/repos/martinling/sigrok-cli-java/statuses/86232d12aa5b1028a1af829a512585383d7e6d77","head":{"label":"zeldin:master","ref":"master","sha":"86232d12aa5b1028a1af829a512585383d7e6d77","user":{"login":"zeldin","id":411296,"avatar_url":"https://avatars.githubusercontent.com/u/411296?v=3","gravatar_id":"","url":"https://api.github.com/users/zeldin","html_url":"https://github.com/zeldin","followers_url":"https://api.github.com/users/zeldin/followers","following_url":"https://api.github.com/users/zeldin/following{/other_user}","gists_url":"https://api.github.com/users/zeldin/gists{/gist_id}","starred_url":"https://api.github.com/users/zeldin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeldin/subscriptions","organizations_url":"https://api.github.com/users/zeldin/orgs","repos_url":"https://api.github.com/users/zeldin/repos","events_url":"https://api.github.com/users/zeldin/events{/privacy}","received_events_url":"https://api.github.com/users/zeldin/received_events","type":"User","site_admin":false},"repo":{"id":45345730,"name":"sigrok-cli-java","full_name":"zeldin/sigrok-cli-java","owner":{"login":"zeldin","id":411296,"avatar_url":"https://avatars.githubusercontent.com/u/411296?v=3","gravatar_id":"","url":"https://api.github.com/users/zeldin","html_url":"https://github.com/zeldin","followers_url":"https://api.github.com/users/zeldin/followers","following_url":"https://api.github.com/users/zeldin/following{/other_user}","gists_url":"https://api.github.com/users/zeldin/gists{/gist_id}","starred_url":"https://api.github.com/users/zeldin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeldin/subscriptions","organizations_url":"https://api.github.com/users/zeldin/orgs","repos_url":"https://api.github.com/users/zeldin/repos","events_url":"https://api.github.com/users/zeldin/events{/privacy}","received_events_url":"https://api.github.com/users/zeldin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zeldin/sigrok-cli-java","description":"Sigrok command line interface in Java","fork":true,"url":"https://api.github.com/repos/zeldin/sigrok-cli-java","forks_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/forks","keys_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/teams","hooks_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/hooks","issue_events_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/issues/events{/number}","events_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/events","assignees_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/assignees{/user}","branches_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/branches{/branch}","tags_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/tags","blobs_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/statuses/{sha}","languages_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/languages","stargazers_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/stargazers","contributors_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/contributors","subscribers_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/subscribers","subscription_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/subscription","commits_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/contents/{+path}","compare_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/merges","archive_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/downloads","issues_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/issues{/number}","pulls_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/pulls{/number}","milestones_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/milestones{/number}","notifications_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/labels{/name}","releases_url":"https://api.github.com/repos/zeldin/sigrok-cli-java/releases{/id}","created_at":"2015-11-01T15:27:02Z","updated_at":"2015-11-01T15:27:03Z","pushed_at":"2015-11-01T15:29:57Z","git_url":"git://github.com/zeldin/sigrok-cli-java.git","ssh_url":"git@github.com:zeldin/sigrok-cli-java.git","clone_url":"https://github.com/zeldin/sigrok-cli-java.git","svn_url":"https://github.com/zeldin/sigrok-cli-java","homepage":null,"size":144,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"martinling:master","ref":"master","sha":"87350b68cabaa3df2b6ba38b93cdfa9df6d6290e","user":{"login":"martinling","id":673823,"avatar_url":"https://avatars.githubusercontent.com/u/673823?v=3","gravatar_id":"","url":"https://api.github.com/users/martinling","html_url":"https://github.com/martinling","followers_url":"https://api.github.com/users/martinling/followers","following_url":"https://api.github.com/users/martinling/following{/other_user}","gists_url":"https://api.github.com/users/martinling/gists{/gist_id}","starred_url":"https://api.github.com/users/martinling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinling/subscriptions","organizations_url":"https://api.github.com/users/martinling/orgs","repos_url":"https://api.github.com/users/martinling/repos","events_url":"https://api.github.com/users/martinling/events{/privacy}","received_events_url":"https://api.github.com/users/martinling/received_events","type":"User","site_admin":false},"repo":{"id":19149265,"name":"sigrok-cli-java","full_name":"martinling/sigrok-cli-java","owner":{"login":"martinling","id":673823,"avatar_url":"https://avatars.githubusercontent.com/u/673823?v=3","gravatar_id":"","url":"https://api.github.com/users/martinling","html_url":"https://github.com/martinling","followers_url":"https://api.github.com/users/martinling/followers","following_url":"https://api.github.com/users/martinling/following{/other_user}","gists_url":"https://api.github.com/users/martinling/gists{/gist_id}","starred_url":"https://api.github.com/users/martinling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinling/subscriptions","organizations_url":"https://api.github.com/users/martinling/orgs","repos_url":"https://api.github.com/users/martinling/repos","events_url":"https://api.github.com/users/martinling/events{/privacy}","received_events_url":"https://api.github.com/users/martinling/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/martinling/sigrok-cli-java","description":"Sigrok command line interface in Java","fork":false,"url":"https://api.github.com/repos/martinling/sigrok-cli-java","forks_url":"https://api.github.com/repos/martinling/sigrok-cli-java/forks","keys_url":"https://api.github.com/repos/martinling/sigrok-cli-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/martinling/sigrok-cli-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/martinling/sigrok-cli-java/teams","hooks_url":"https://api.github.com/repos/martinling/sigrok-cli-java/hooks","issue_events_url":"https://api.github.com/repos/martinling/sigrok-cli-java/issues/events{/number}","events_url":"https://api.github.com/repos/martinling/sigrok-cli-java/events","assignees_url":"https://api.github.com/repos/martinling/sigrok-cli-java/assignees{/user}","branches_url":"https://api.github.com/repos/martinling/sigrok-cli-java/branches{/branch}","tags_url":"https://api.github.com/repos/martinling/sigrok-cli-java/tags","blobs_url":"https://api.github.com/repos/martinling/sigrok-cli-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/martinling/sigrok-cli-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/martinling/sigrok-cli-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/martinling/sigrok-cli-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/martinling/sigrok-cli-java/statuses/{sha}","languages_url":"https://api.github.com/repos/martinling/sigrok-cli-java/languages","stargazers_url":"https://api.github.com/repos/martinling/sigrok-cli-java/stargazers","contributors_url":"https://api.github.com/repos/martinling/sigrok-cli-java/contributors","subscribers_url":"https://api.github.com/repos/martinling/sigrok-cli-java/subscribers","subscription_url":"https://api.github.com/repos/martinling/sigrok-cli-java/subscription","commits_url":"https://api.github.com/repos/martinling/sigrok-cli-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/martinling/sigrok-cli-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/martinling/sigrok-cli-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/martinling/sigrok-cli-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/martinling/sigrok-cli-java/contents/{+path}","compare_url":"https://api.github.com/repos/martinling/sigrok-cli-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/martinling/sigrok-cli-java/merges","archive_url":"https://api.github.com/repos/martinling/sigrok-cli-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/martinling/sigrok-cli-java/downloads","issues_url":"https://api.github.com/repos/martinling/sigrok-cli-java/issues{/number}","pulls_url":"https://api.github.com/repos/martinling/sigrok-cli-java/pulls{/number}","milestones_url":"https://api.github.com/repos/martinling/sigrok-cli-java/milestones{/number}","notifications_url":"https://api.github.com/repos/martinling/sigrok-cli-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/martinling/sigrok-cli-java/labels{/name}","releases_url":"https://api.github.com/repos/martinling/sigrok-cli-java/releases{/id}","created_at":"2014-04-25T14:39:16Z","updated_at":"2015-10-20T23:47:49Z","pushed_at":"2015-10-20T23:47:48Z","git_url":"git://github.com/martinling/sigrok-cli-java.git","ssh_url":"git@github.com:martinling/sigrok-cli-java.git","clone_url":"https://github.com/martinling/sigrok-cli-java.git","svn_url":"https://github.com/martinling/sigrok-cli-java","homepage":null,"size":144,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/martinling/sigrok-cli-java/pulls/1"},"html":{"href":"https://github.com/martinling/sigrok-cli-java/pull/1"},"issue":{"href":"https://api.github.com/repos/martinling/sigrok-cli-java/issues/1"},"comments":{"href":"https://api.github.com/repos/martinling/sigrok-cli-java/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/martinling/sigrok-cli-java/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/martinling/sigrok-cli-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/martinling/sigrok-cli-java/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/martinling/sigrok-cli-java/statuses/86232d12aa5b1028a1af829a512585383d7e6d77"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":0,"changed_files":1}}