{"action":"closed","number":2587,"pull_request":{"url":"https://api.github.com/repos/JMRI/JMRI/pulls/2587","id":95358634,"html_url":"https://github.com/JMRI/JMRI/pull/2587","diff_url":"https://github.com/JMRI/JMRI/pull/2587.diff","patch_url":"https://github.com/JMRI/JMRI/pull/2587.patch","issue_url":"https://api.github.com/repos/JMRI/JMRI/issues/2587","number":2587,"state":"closed","locked":false,"title":"Fix allocation problem in Dispatcher / Open up several methods in Dispatcher to scripting","user":{"login":"JasonJanzen","id":14220895,"avatar_url":"https://avatars.githubusercontent.com/u/14220895?v=3","gravatar_id":"","url":"https://api.github.com/users/JasonJanzen","html_url":"https://github.com/JasonJanzen","followers_url":"https://api.github.com/users/JasonJanzen/followers","following_url":"https://api.github.com/users/JasonJanzen/following{/other_user}","gists_url":"https://api.github.com/users/JasonJanzen/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonJanzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonJanzen/subscriptions","organizations_url":"https://api.github.com/users/JasonJanzen/orgs","repos_url":"https://api.github.com/users/JasonJanzen/repos","events_url":"https://api.github.com/users/JasonJanzen/events{/privacy}","received_events_url":"https://api.github.com/users/JasonJanzen/received_events","type":"User","site_admin":false},"body":"Request involves three parts: 1. When specifying an end block in a transit and that end block is an alternate and the corresponding primary is unoccupied, autoallocate allocates the primary completely skipping the alternate. 2. Request that several methods be changed to public protection to allow scripting access. 3. Request a way to 'turn off' Dispatcher's limit of allocating no more than three blocks in advance. This then allows allocation to be made from a specified start block all the way to a specified end block within the transit.","created_at":"2016-11-26T02:36:40Z","updated_at":"2016-11-26T23:32:48Z","closed_at":"2016-11-26T23:32:48Z","merged_at":"2016-11-26T23:32:48Z","merge_commit_sha":"ba31140e3ef9a4b2062d9569e91b1e873d07ec21","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/JMRI/JMRI/pulls/2587/commits","review_comments_url":"https://api.github.com/repos/JMRI/JMRI/pulls/2587/comments","review_comment_url":"https://api.github.com/repos/JMRI/JMRI/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JMRI/JMRI/issues/2587/comments","statuses_url":"https://api.github.com/repos/JMRI/JMRI/statuses/a5734c3c974b21c3442a0184bdd45951c6752614","head":{"label":"JasonJanzen:master","ref":"master","sha":"a5734c3c974b21c3442a0184bdd45951c6752614","user":{"login":"JasonJanzen","id":14220895,"avatar_url":"https://avatars.githubusercontent.com/u/14220895?v=3","gravatar_id":"","url":"https://api.github.com/users/JasonJanzen","html_url":"https://github.com/JasonJanzen","followers_url":"https://api.github.com/users/JasonJanzen/followers","following_url":"https://api.github.com/users/JasonJanzen/following{/other_user}","gists_url":"https://api.github.com/users/JasonJanzen/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonJanzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonJanzen/subscriptions","organizations_url":"https://api.github.com/users/JasonJanzen/orgs","repos_url":"https://api.github.com/users/JasonJanzen/repos","events_url":"https://api.github.com/users/JasonJanzen/events{/privacy}","received_events_url":"https://api.github.com/users/JasonJanzen/received_events","type":"User","site_admin":false},"repo":{"id":74783570,"name":"JMRI","full_name":"JasonJanzen/JMRI","owner":{"login":"JasonJanzen","id":14220895,"avatar_url":"https://avatars.githubusercontent.com/u/14220895?v=3","gravatar_id":"","url":"https://api.github.com/users/JasonJanzen","html_url":"https://github.com/JasonJanzen","followers_url":"https://api.github.com/users/JasonJanzen/followers","following_url":"https://api.github.com/users/JasonJanzen/following{/other_user}","gists_url":"https://api.github.com/users/JasonJanzen/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonJanzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonJanzen/subscriptions","organizations_url":"https://api.github.com/users/JasonJanzen/orgs","repos_url":"https://api.github.com/users/JasonJanzen/repos","events_url":"https://api.github.com/users/JasonJanzen/events{/privacy}","received_events_url":"https://api.github.com/users/JasonJanzen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JasonJanzen/JMRI","description":"JMRI model railroad digital command & control software","fork":true,"url":"https://api.github.com/repos/JasonJanzen/JMRI","forks_url":"https://api.github.com/repos/JasonJanzen/JMRI/forks","keys_url":"https://api.github.com/repos/JasonJanzen/JMRI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JasonJanzen/JMRI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JasonJanzen/JMRI/teams","hooks_url":"https://api.github.com/repos/JasonJanzen/JMRI/hooks","issue_events_url":"https://api.github.com/repos/JasonJanzen/JMRI/issues/events{/number}","events_url":"https://api.github.com/repos/JasonJanzen/JMRI/events","assignees_url":"https://api.github.com/repos/JasonJanzen/JMRI/assignees{/user}","branches_url":"https://api.github.com/repos/JasonJanzen/JMRI/branches{/branch}","tags_url":"https://api.github.com/repos/JasonJanzen/JMRI/tags","blobs_url":"https://api.github.com/repos/JasonJanzen/JMRI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JasonJanzen/JMRI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JasonJanzen/JMRI/git/refs{/sha}","trees_url":"https://api.github.com/repos/JasonJanzen/JMRI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JasonJanzen/JMRI/statuses/{sha}","languages_url":"https://api.github.com/repos/JasonJanzen/JMRI/languages","stargazers_url":"https://api.github.com/repos/JasonJanzen/JMRI/stargazers","contributors_url":"https://api.github.com/repos/JasonJanzen/JMRI/contributors","subscribers_url":"https://api.github.com/repos/JasonJanzen/JMRI/subscribers","subscription_url":"https://api.github.com/repos/JasonJanzen/JMRI/subscription","commits_url":"https://api.github.com/repos/JasonJanzen/JMRI/commits{/sha}","git_commits_url":"https://api.github.com/repos/JasonJanzen/JMRI/git/commits{/sha}","comments_url":"https://api.github.com/repos/JasonJanzen/JMRI/comments{/number}","issue_comment_url":"https://api.github.com/repos/JasonJanzen/JMRI/issues/comments{/number}","contents_url":"https://api.github.com/repos/JasonJanzen/JMRI/contents/{+path}","compare_url":"https://api.github.com/repos/JasonJanzen/JMRI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JasonJanzen/JMRI/merges","archive_url":"https://api.github.com/repos/JasonJanzen/JMRI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JasonJanzen/JMRI/downloads","issues_url":"https://api.github.com/repos/JasonJanzen/JMRI/issues{/number}","pulls_url":"https://api.github.com/repos/JasonJanzen/JMRI/pulls{/number}","milestones_url":"https://api.github.com/repos/JasonJanzen/JMRI/milestones{/number}","notifications_url":"https://api.github.com/repos/JasonJanzen/JMRI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JasonJanzen/JMRI/labels{/name}","releases_url":"https://api.github.com/repos/JasonJanzen/JMRI/releases{/id}","deployments_url":"https://api.github.com/repos/JasonJanzen/JMRI/deployments","created_at":"2016-11-25T19:31:05Z","updated_at":"2016-11-25T19:31:40Z","pushed_at":"2016-11-26T22:58:11Z","git_url":"git://github.com/JasonJanzen/JMRI.git","ssh_url":"git@github.com:JasonJanzen/JMRI.git","clone_url":"https://github.com/JasonJanzen/JMRI.git","svn_url":"https://github.com/JasonJanzen/JMRI","homepage":"http://jmri.org","size":1393414,"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":"JMRI:master","ref":"master","sha":"d1ca9e61a1592f2c9cf0cfff7e3ada86b08322c8","user":{"login":"JMRI","id":13712710,"avatar_url":"https://avatars.githubusercontent.com/u/13712710?v=3","gravatar_id":"","url":"https://api.github.com/users/JMRI","html_url":"https://github.com/JMRI","followers_url":"https://api.github.com/users/JMRI/followers","following_url":"https://api.github.com/users/JMRI/following{/other_user}","gists_url":"https://api.github.com/users/JMRI/gists{/gist_id}","starred_url":"https://api.github.com/users/JMRI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JMRI/subscriptions","organizations_url":"https://api.github.com/users/JMRI/orgs","repos_url":"https://api.github.com/users/JMRI/repos","events_url":"https://api.github.com/users/JMRI/events{/privacy}","received_events_url":"https://api.github.com/users/JMRI/received_events","type":"Organization","site_admin":false},"repo":{"id":42789514,"name":"JMRI","full_name":"JMRI/JMRI","owner":{"login":"JMRI","id":13712710,"avatar_url":"https://avatars.githubusercontent.com/u/13712710?v=3","gravatar_id":"","url":"https://api.github.com/users/JMRI","html_url":"https://github.com/JMRI","followers_url":"https://api.github.com/users/JMRI/followers","following_url":"https://api.github.com/users/JMRI/following{/other_user}","gists_url":"https://api.github.com/users/JMRI/gists{/gist_id}","starred_url":"https://api.github.com/users/JMRI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JMRI/subscriptions","organizations_url":"https://api.github.com/users/JMRI/orgs","repos_url":"https://api.github.com/users/JMRI/repos","events_url":"https://api.github.com/users/JMRI/events{/privacy}","received_events_url":"https://api.github.com/users/JMRI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JMRI/JMRI","description":"JMRI model railroad digital command & control software","fork":false,"url":"https://api.github.com/repos/JMRI/JMRI","forks_url":"https://api.github.com/repos/JMRI/JMRI/forks","keys_url":"https://api.github.com/repos/JMRI/JMRI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JMRI/JMRI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JMRI/JMRI/teams","hooks_url":"https://api.github.com/repos/JMRI/JMRI/hooks","issue_events_url":"https://api.github.com/repos/JMRI/JMRI/issues/events{/number}","events_url":"https://api.github.com/repos/JMRI/JMRI/events","assignees_url":"https://api.github.com/repos/JMRI/JMRI/assignees{/user}","branches_url":"https://api.github.com/repos/JMRI/JMRI/branches{/branch}","tags_url":"https://api.github.com/repos/JMRI/JMRI/tags","blobs_url":"https://api.github.com/repos/JMRI/JMRI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JMRI/JMRI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JMRI/JMRI/git/refs{/sha}","trees_url":"https://api.github.com/repos/JMRI/JMRI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JMRI/JMRI/statuses/{sha}","languages_url":"https://api.github.com/repos/JMRI/JMRI/languages","stargazers_url":"https://api.github.com/repos/JMRI/JMRI/stargazers","contributors_url":"https://api.github.com/repos/JMRI/JMRI/contributors","subscribers_url":"https://api.github.com/repos/JMRI/JMRI/subscribers","subscription_url":"https://api.github.com/repos/JMRI/JMRI/subscription","commits_url":"https://api.github.com/repos/JMRI/JMRI/commits{/sha}","git_commits_url":"https://api.github.com/repos/JMRI/JMRI/git/commits{/sha}","comments_url":"https://api.github.com/repos/JMRI/JMRI/comments{/number}","issue_comment_url":"https://api.github.com/repos/JMRI/JMRI/issues/comments{/number}","contents_url":"https://api.github.com/repos/JMRI/JMRI/contents/{+path}","compare_url":"https://api.github.com/repos/JMRI/JMRI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JMRI/JMRI/merges","archive_url":"https://api.github.com/repos/JMRI/JMRI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JMRI/JMRI/downloads","issues_url":"https://api.github.com/repos/JMRI/JMRI/issues{/number}","pulls_url":"https://api.github.com/repos/JMRI/JMRI/pulls{/number}","milestones_url":"https://api.github.com/repos/JMRI/JMRI/milestones{/number}","notifications_url":"https://api.github.com/repos/JMRI/JMRI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JMRI/JMRI/labels{/name}","releases_url":"https://api.github.com/repos/JMRI/JMRI/releases{/id}","deployments_url":"https://api.github.com/repos/JMRI/JMRI/deployments","created_at":"2015-09-19T21:01:07Z","updated_at":"2016-11-12T23:20:35Z","pushed_at":"2016-11-26T23:32:48Z","git_url":"git://github.com/JMRI/JMRI.git","ssh_url":"git@github.com:JMRI/JMRI.git","clone_url":"https://github.com/JMRI/JMRI.git","svn_url":"https://github.com/JMRI/JMRI","homepage":"http://jmri.org","size":1411081,"stargazers_count":27,"watchers_count":27,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":73,"mirror_url":null,"open_issues_count":78,"forks":73,"open_issues":78,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JMRI/JMRI/pulls/2587"},"html":{"href":"https://github.com/JMRI/JMRI/pull/2587"},"issue":{"href":"https://api.github.com/repos/JMRI/JMRI/issues/2587"},"comments":{"href":"https://api.github.com/repos/JMRI/JMRI/issues/2587/comments"},"review_comments":{"href":"https://api.github.com/repos/JMRI/JMRI/pulls/2587/comments"},"review_comment":{"href":"https://api.github.com/repos/JMRI/JMRI/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JMRI/JMRI/pulls/2587/commits"},"statuses":{"href":"https://api.github.com/repos/JMRI/JMRI/statuses/a5734c3c974b21c3442a0184bdd45951c6752614"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"rhwood","id":297232,"avatar_url":"https://avatars.githubusercontent.com/u/297232?v=3","gravatar_id":"","url":"https://api.github.com/users/rhwood","html_url":"https://github.com/rhwood","followers_url":"https://api.github.com/users/rhwood/followers","following_url":"https://api.github.com/users/rhwood/following{/other_user}","gists_url":"https://api.github.com/users/rhwood/gists{/gist_id}","starred_url":"https://api.github.com/users/rhwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhwood/subscriptions","organizations_url":"https://api.github.com/users/rhwood/orgs","repos_url":"https://api.github.com/users/rhwood/repos","events_url":"https://api.github.com/users/rhwood/events{/privacy}","received_events_url":"https://api.github.com/users/rhwood/received_events","type":"User","site_admin":false},"comments":3,"review_comments":2,"commits":6,"additions":57,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"rhwood"}}