{"action":"opened","number":12781,"pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/12781","id":43166486,"html_url":"https://github.com/JuliaLang/julia/pull/12781","diff_url":"https://github.com/JuliaLang/julia/pull/12781.diff","patch_url":"https://github.com/JuliaLang/julia/pull/12781.patch","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/12781","number":12781,"state":"open","locked":false,"title":"add n_avail()/capacity(RemoteRef{Channel})","user":{"login":"alyst","id":348591,"avatar_url":"https://avatars.githubusercontent.com/u/348591?v=3","gravatar_id":"","url":"https://api.github.com/users/alyst","html_url":"https://github.com/alyst","followers_url":"https://api.github.com/users/alyst/followers","following_url":"https://api.github.com/users/alyst/following{/other_user}","gists_url":"https://api.github.com/users/alyst/gists{/gist_id}","starred_url":"https://api.github.com/users/alyst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alyst/subscriptions","organizations_url":"https://api.github.com/users/alyst/orgs","repos_url":"https://api.github.com/users/alyst/repos","events_url":"https://api.github.com/users/alyst/events{/privacy}","received_events_url":"https://api.github.com/users/alyst/received_events","type":"User","site_admin":false},"body":"Make current number of elements in the `Channel` and its capacity available via `RemoteRef`.\r\nShould be important for dynamically balancing the channel's usage in some applications.","created_at":"2015-08-24T11:54:09Z","updated_at":"2015-08-24T11:54:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JuliaLang/julia/pulls/12781/commits","review_comments_url":"https://api.github.com/repos/JuliaLang/julia/pulls/12781/comments","review_comment_url":"https://api.github.com/repos/JuliaLang/julia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/12781/comments","statuses_url":"https://api.github.com/repos/JuliaLang/julia/statuses/7e846e379260f0d284cfe207bc692cda0e597b38","head":{"label":"alyst:expose_channel_state","ref":"expose_channel_state","sha":"7e846e379260f0d284cfe207bc692cda0e597b38","user":{"login":"alyst","id":348591,"avatar_url":"https://avatars.githubusercontent.com/u/348591?v=3","gravatar_id":"","url":"https://api.github.com/users/alyst","html_url":"https://github.com/alyst","followers_url":"https://api.github.com/users/alyst/followers","following_url":"https://api.github.com/users/alyst/following{/other_user}","gists_url":"https://api.github.com/users/alyst/gists{/gist_id}","starred_url":"https://api.github.com/users/alyst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alyst/subscriptions","organizations_url":"https://api.github.com/users/alyst/orgs","repos_url":"https://api.github.com/users/alyst/repos","events_url":"https://api.github.com/users/alyst/events{/privacy}","received_events_url":"https://api.github.com/users/alyst/received_events","type":"User","site_admin":false},"repo":{"id":17577771,"name":"julia","full_name":"alyst/julia","owner":{"login":"alyst","id":348591,"avatar_url":"https://avatars.githubusercontent.com/u/348591?v=3","gravatar_id":"","url":"https://api.github.com/users/alyst","html_url":"https://github.com/alyst","followers_url":"https://api.github.com/users/alyst/followers","following_url":"https://api.github.com/users/alyst/following{/other_user}","gists_url":"https://api.github.com/users/alyst/gists{/gist_id}","starred_url":"https://api.github.com/users/alyst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alyst/subscriptions","organizations_url":"https://api.github.com/users/alyst/orgs","repos_url":"https://api.github.com/users/alyst/repos","events_url":"https://api.github.com/users/alyst/events{/privacy}","received_events_url":"https://api.github.com/users/alyst/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alyst/julia","description":"The Julia Language: A fresh approach to technical computing.","fork":true,"url":"https://api.github.com/repos/alyst/julia","forks_url":"https://api.github.com/repos/alyst/julia/forks","keys_url":"https://api.github.com/repos/alyst/julia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alyst/julia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alyst/julia/teams","hooks_url":"https://api.github.com/repos/alyst/julia/hooks","issue_events_url":"https://api.github.com/repos/alyst/julia/issues/events{/number}","events_url":"https://api.github.com/repos/alyst/julia/events","assignees_url":"https://api.github.com/repos/alyst/julia/assignees{/user}","branches_url":"https://api.github.com/repos/alyst/julia/branches{/branch}","tags_url":"https://api.github.com/repos/alyst/julia/tags","blobs_url":"https://api.github.com/repos/alyst/julia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alyst/julia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alyst/julia/git/refs{/sha}","trees_url":"https://api.github.com/repos/alyst/julia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alyst/julia/statuses/{sha}","languages_url":"https://api.github.com/repos/alyst/julia/languages","stargazers_url":"https://api.github.com/repos/alyst/julia/stargazers","contributors_url":"https://api.github.com/repos/alyst/julia/contributors","subscribers_url":"https://api.github.com/repos/alyst/julia/subscribers","subscription_url":"https://api.github.com/repos/alyst/julia/subscription","commits_url":"https://api.github.com/repos/alyst/julia/commits{/sha}","git_commits_url":"https://api.github.com/repos/alyst/julia/git/commits{/sha}","comments_url":"https://api.github.com/repos/alyst/julia/comments{/number}","issue_comment_url":"https://api.github.com/repos/alyst/julia/issues/comments{/number}","contents_url":"https://api.github.com/repos/alyst/julia/contents/{+path}","compare_url":"https://api.github.com/repos/alyst/julia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alyst/julia/merges","archive_url":"https://api.github.com/repos/alyst/julia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alyst/julia/downloads","issues_url":"https://api.github.com/repos/alyst/julia/issues{/number}","pulls_url":"https://api.github.com/repos/alyst/julia/pulls{/number}","milestones_url":"https://api.github.com/repos/alyst/julia/milestones{/number}","notifications_url":"https://api.github.com/repos/alyst/julia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alyst/julia/labels{/name}","releases_url":"https://api.github.com/repos/alyst/julia/releases{/id}","created_at":"2014-03-10T00:55:51Z","updated_at":"2014-04-05T19:21:44Z","pushed_at":"2015-08-24T11:47:51Z","git_url":"git://github.com/alyst/julia.git","ssh_url":"git@github.com:alyst/julia.git","clone_url":"https://github.com/alyst/julia.git","svn_url":"https://github.com/alyst/julia","homepage":"http://julialang.org/","size":74359,"stargazers_count":0,"watchers_count":0,"language":"Julia","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"JuliaLang:master","ref":"master","sha":"40d2035b85daad732bb694d613eb825bc7a34b3b","user":{"login":"JuliaLang","id":743164,"avatar_url":"https://avatars.githubusercontent.com/u/743164?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaLang","html_url":"https://github.com/JuliaLang","followers_url":"https://api.github.com/users/JuliaLang/followers","following_url":"https://api.github.com/users/JuliaLang/following{/other_user}","gists_url":"https://api.github.com/users/JuliaLang/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaLang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaLang/subscriptions","organizations_url":"https://api.github.com/users/JuliaLang/orgs","repos_url":"https://api.github.com/users/JuliaLang/repos","events_url":"https://api.github.com/users/JuliaLang/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaLang/received_events","type":"Organization","site_admin":false},"repo":{"id":1644196,"name":"julia","full_name":"JuliaLang/julia","owner":{"login":"JuliaLang","id":743164,"avatar_url":"https://avatars.githubusercontent.com/u/743164?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaLang","html_url":"https://github.com/JuliaLang","followers_url":"https://api.github.com/users/JuliaLang/followers","following_url":"https://api.github.com/users/JuliaLang/following{/other_user}","gists_url":"https://api.github.com/users/JuliaLang/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaLang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaLang/subscriptions","organizations_url":"https://api.github.com/users/JuliaLang/orgs","repos_url":"https://api.github.com/users/JuliaLang/repos","events_url":"https://api.github.com/users/JuliaLang/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaLang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JuliaLang/julia","description":"The Julia Language: A fresh approach to technical computing.","fork":false,"url":"https://api.github.com/repos/JuliaLang/julia","forks_url":"https://api.github.com/repos/JuliaLang/julia/forks","keys_url":"https://api.github.com/repos/JuliaLang/julia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JuliaLang/julia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JuliaLang/julia/teams","hooks_url":"https://api.github.com/repos/JuliaLang/julia/hooks","issue_events_url":"https://api.github.com/repos/JuliaLang/julia/issues/events{/number}","events_url":"https://api.github.com/repos/JuliaLang/julia/events","assignees_url":"https://api.github.com/repos/JuliaLang/julia/assignees{/user}","branches_url":"https://api.github.com/repos/JuliaLang/julia/branches{/branch}","tags_url":"https://api.github.com/repos/JuliaLang/julia/tags","blobs_url":"https://api.github.com/repos/JuliaLang/julia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JuliaLang/julia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JuliaLang/julia/git/refs{/sha}","trees_url":"https://api.github.com/repos/JuliaLang/julia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JuliaLang/julia/statuses/{sha}","languages_url":"https://api.github.com/repos/JuliaLang/julia/languages","stargazers_url":"https://api.github.com/repos/JuliaLang/julia/stargazers","contributors_url":"https://api.github.com/repos/JuliaLang/julia/contributors","subscribers_url":"https://api.github.com/repos/JuliaLang/julia/subscribers","subscription_url":"https://api.github.com/repos/JuliaLang/julia/subscription","commits_url":"https://api.github.com/repos/JuliaLang/julia/commits{/sha}","git_commits_url":"https://api.github.com/repos/JuliaLang/julia/git/commits{/sha}","comments_url":"https://api.github.com/repos/JuliaLang/julia/comments{/number}","issue_comment_url":"https://api.github.com/repos/JuliaLang/julia/issues/comments{/number}","contents_url":"https://api.github.com/repos/JuliaLang/julia/contents/{+path}","compare_url":"https://api.github.com/repos/JuliaLang/julia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JuliaLang/julia/merges","archive_url":"https://api.github.com/repos/JuliaLang/julia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JuliaLang/julia/downloads","issues_url":"https://api.github.com/repos/JuliaLang/julia/issues{/number}","pulls_url":"https://api.github.com/repos/JuliaLang/julia/pulls{/number}","milestones_url":"https://api.github.com/repos/JuliaLang/julia/milestones{/number}","notifications_url":"https://api.github.com/repos/JuliaLang/julia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JuliaLang/julia/labels{/name}","releases_url":"https://api.github.com/repos/JuliaLang/julia/releases{/id}","created_at":"2011-04-21T07:01:50Z","updated_at":"2015-08-24T06:44:40Z","pushed_at":"2015-08-24T10:03:32Z","git_url":"git://github.com/JuliaLang/julia.git","ssh_url":"git@github.com:JuliaLang/julia.git","clone_url":"https://github.com/JuliaLang/julia.git","svn_url":"https://github.com/JuliaLang/julia","homepage":"http://julialang.org/","size":216732,"stargazers_count":5893,"watchers_count":5893,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1279,"mirror_url":null,"open_issues_count":1341,"forks":1279,"open_issues":1341,"watchers":5893,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/12781"},"html":{"href":"https://github.com/JuliaLang/julia/pull/12781"},"issue":{"href":"https://api.github.com/repos/JuliaLang/julia/issues/12781"},"comments":{"href":"https://api.github.com/repos/JuliaLang/julia/issues/12781/comments"},"review_comments":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/12781/comments"},"review_comment":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/12781/commits"},"statuses":{"href":"https://api.github.com/repos/JuliaLang/julia/statuses/7e846e379260f0d284cfe207bc692cda0e597b38"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":11,"deletions":9,"changed_files":2}}