{"action":"opened","number":864,"pull_request":{"url":"https://api.github.com/repos/gemini-hlsw/ocs/pulls/864","id":65226900,"html_url":"https://github.com/gemini-hlsw/ocs/pull/864","diff_url":"https://github.com/gemini-hlsw/ocs/pull/864.diff","patch_url":"https://github.com/gemini-hlsw/ocs/pull/864.patch","issue_url":"https://api.github.com/repos/gemini-hlsw/ocs/issues/864","number":864,"state":"open","locked":false,"title":"Make SchedulingBlock.duration optional","user":{"login":"tpolecat","id":1200131,"avatar_url":"https://avatars.githubusercontent.com/u/1200131?v=3","gravatar_id":"","url":"https://api.github.com/users/tpolecat","html_url":"https://github.com/tpolecat","followers_url":"https://api.github.com/users/tpolecat/followers","following_url":"https://api.github.com/users/tpolecat/following{/other_user}","gists_url":"https://api.github.com/users/tpolecat/gists{/gist_id}","starred_url":"https://api.github.com/users/tpolecat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpolecat/subscriptions","organizations_url":"https://api.github.com/users/tpolecat/orgs","repos_url":"https://api.github.com/users/tpolecat/repos","events_url":"https://api.github.com/users/tpolecat/events{/privacy}","received_events_url":"https://api.github.com/users/tpolecat/received_events","type":"User","site_admin":false},"body":"This finishes a simplification started with #860. A scheduling block with duration zero had a special meaning (\"remaining time\"); we now use `None` for that, and any `Some(duration)` will always be positive.","created_at":"2016-04-04T23:01:56Z","updated_at":"2016-04-04T23:01:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"04d7475d813d7fd5a49dc709183e3112c8fd289e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gemini-hlsw/ocs/pulls/864/commits","review_comments_url":"https://api.github.com/repos/gemini-hlsw/ocs/pulls/864/comments","review_comment_url":"https://api.github.com/repos/gemini-hlsw/ocs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gemini-hlsw/ocs/issues/864/comments","statuses_url":"https://api.github.com/repos/gemini-hlsw/ocs/statuses/8805235a4e74050d392ddfa3523df67057f5f6f7","head":{"label":"tpolecat:opt-duration","ref":"opt-duration","sha":"8805235a4e74050d392ddfa3523df67057f5f6f7","user":{"login":"tpolecat","id":1200131,"avatar_url":"https://avatars.githubusercontent.com/u/1200131?v=3","gravatar_id":"","url":"https://api.github.com/users/tpolecat","html_url":"https://github.com/tpolecat","followers_url":"https://api.github.com/users/tpolecat/followers","following_url":"https://api.github.com/users/tpolecat/following{/other_user}","gists_url":"https://api.github.com/users/tpolecat/gists{/gist_id}","starred_url":"https://api.github.com/users/tpolecat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpolecat/subscriptions","organizations_url":"https://api.github.com/users/tpolecat/orgs","repos_url":"https://api.github.com/users/tpolecat/repos","events_url":"https://api.github.com/users/tpolecat/events{/privacy}","received_events_url":"https://api.github.com/users/tpolecat/received_events","type":"User","site_admin":false},"repo":{"id":23966560,"name":"ocs","full_name":"tpolecat/ocs","owner":{"login":"tpolecat","id":1200131,"avatar_url":"https://avatars.githubusercontent.com/u/1200131?v=3","gravatar_id":"","url":"https://api.github.com/users/tpolecat","html_url":"https://github.com/tpolecat","followers_url":"https://api.github.com/users/tpolecat/followers","following_url":"https://api.github.com/users/tpolecat/following{/other_user}","gists_url":"https://api.github.com/users/tpolecat/gists{/gist_id}","starred_url":"https://api.github.com/users/tpolecat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpolecat/subscriptions","organizations_url":"https://api.github.com/users/tpolecat/orgs","repos_url":"https://api.github.com/users/tpolecat/repos","events_url":"https://api.github.com/users/tpolecat/events{/privacy}","received_events_url":"https://api.github.com/users/tpolecat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tpolecat/ocs","description":"","fork":true,"url":"https://api.github.com/repos/tpolecat/ocs","forks_url":"https://api.github.com/repos/tpolecat/ocs/forks","keys_url":"https://api.github.com/repos/tpolecat/ocs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tpolecat/ocs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tpolecat/ocs/teams","hooks_url":"https://api.github.com/repos/tpolecat/ocs/hooks","issue_events_url":"https://api.github.com/repos/tpolecat/ocs/issues/events{/number}","events_url":"https://api.github.com/repos/tpolecat/ocs/events","assignees_url":"https://api.github.com/repos/tpolecat/ocs/assignees{/user}","branches_url":"https://api.github.com/repos/tpolecat/ocs/branches{/branch}","tags_url":"https://api.github.com/repos/tpolecat/ocs/tags","blobs_url":"https://api.github.com/repos/tpolecat/ocs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tpolecat/ocs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tpolecat/ocs/git/refs{/sha}","trees_url":"https://api.github.com/repos/tpolecat/ocs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tpolecat/ocs/statuses/{sha}","languages_url":"https://api.github.com/repos/tpolecat/ocs/languages","stargazers_url":"https://api.github.com/repos/tpolecat/ocs/stargazers","contributors_url":"https://api.github.com/repos/tpolecat/ocs/contributors","subscribers_url":"https://api.github.com/repos/tpolecat/ocs/subscribers","subscription_url":"https://api.github.com/repos/tpolecat/ocs/subscription","commits_url":"https://api.github.com/repos/tpolecat/ocs/commits{/sha}","git_commits_url":"https://api.github.com/repos/tpolecat/ocs/git/commits{/sha}","comments_url":"https://api.github.com/repos/tpolecat/ocs/comments{/number}","issue_comment_url":"https://api.github.com/repos/tpolecat/ocs/issues/comments{/number}","contents_url":"https://api.github.com/repos/tpolecat/ocs/contents/{+path}","compare_url":"https://api.github.com/repos/tpolecat/ocs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tpolecat/ocs/merges","archive_url":"https://api.github.com/repos/tpolecat/ocs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tpolecat/ocs/downloads","issues_url":"https://api.github.com/repos/tpolecat/ocs/issues{/number}","pulls_url":"https://api.github.com/repos/tpolecat/ocs/pulls{/number}","milestones_url":"https://api.github.com/repos/tpolecat/ocs/milestones{/number}","notifications_url":"https://api.github.com/repos/tpolecat/ocs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tpolecat/ocs/labels{/name}","releases_url":"https://api.github.com/repos/tpolecat/ocs/releases{/id}","deployments_url":"https://api.github.com/repos/tpolecat/ocs/deployments","created_at":"2014-09-12T15:45:38Z","updated_at":"2016-01-13T19:41:08Z","pushed_at":"2016-04-04T22:53:28Z","git_url":"git://github.com/tpolecat/ocs.git","ssh_url":"git@github.com:tpolecat/ocs.git","clone_url":"https://github.com/tpolecat/ocs.git","svn_url":"https://github.com/tpolecat/ocs","homepage":null,"size":351834,"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":"develop"}},"base":{"label":"gemini-hlsw:develop","ref":"develop","sha":"8df1b464fbf62d2d49db3c9f0d9150e7316d2711","user":{"login":"gemini-hlsw","id":8593735,"avatar_url":"https://avatars.githubusercontent.com/u/8593735?v=3","gravatar_id":"","url":"https://api.github.com/users/gemini-hlsw","html_url":"https://github.com/gemini-hlsw","followers_url":"https://api.github.com/users/gemini-hlsw/followers","following_url":"https://api.github.com/users/gemini-hlsw/following{/other_user}","gists_url":"https://api.github.com/users/gemini-hlsw/gists{/gist_id}","starred_url":"https://api.github.com/users/gemini-hlsw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemini-hlsw/subscriptions","organizations_url":"https://api.github.com/users/gemini-hlsw/orgs","repos_url":"https://api.github.com/users/gemini-hlsw/repos","events_url":"https://api.github.com/users/gemini-hlsw/events{/privacy}","received_events_url":"https://api.github.com/users/gemini-hlsw/received_events","type":"Organization","site_admin":false},"repo":{"id":23963494,"name":"ocs","full_name":"gemini-hlsw/ocs","owner":{"login":"gemini-hlsw","id":8593735,"avatar_url":"https://avatars.githubusercontent.com/u/8593735?v=3","gravatar_id":"","url":"https://api.github.com/users/gemini-hlsw","html_url":"https://github.com/gemini-hlsw","followers_url":"https://api.github.com/users/gemini-hlsw/followers","following_url":"https://api.github.com/users/gemini-hlsw/following{/other_user}","gists_url":"https://api.github.com/users/gemini-hlsw/gists{/gist_id}","starred_url":"https://api.github.com/users/gemini-hlsw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemini-hlsw/subscriptions","organizations_url":"https://api.github.com/users/gemini-hlsw/orgs","repos_url":"https://api.github.com/users/gemini-hlsw/repos","events_url":"https://api.github.com/users/gemini-hlsw/events{/privacy}","received_events_url":"https://api.github.com/users/gemini-hlsw/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gemini-hlsw/ocs","description":"Observatory Control Software","fork":false,"url":"https://api.github.com/repos/gemini-hlsw/ocs","forks_url":"https://api.github.com/repos/gemini-hlsw/ocs/forks","keys_url":"https://api.github.com/repos/gemini-hlsw/ocs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gemini-hlsw/ocs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gemini-hlsw/ocs/teams","hooks_url":"https://api.github.com/repos/gemini-hlsw/ocs/hooks","issue_events_url":"https://api.github.com/repos/gemini-hlsw/ocs/issues/events{/number}","events_url":"https://api.github.com/repos/gemini-hlsw/ocs/events","assignees_url":"https://api.github.com/repos/gemini-hlsw/ocs/assignees{/user}","branches_url":"https://api.github.com/repos/gemini-hlsw/ocs/branches{/branch}","tags_url":"https://api.github.com/repos/gemini-hlsw/ocs/tags","blobs_url":"https://api.github.com/repos/gemini-hlsw/ocs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gemini-hlsw/ocs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gemini-hlsw/ocs/git/refs{/sha}","trees_url":"https://api.github.com/repos/gemini-hlsw/ocs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gemini-hlsw/ocs/statuses/{sha}","languages_url":"https://api.github.com/repos/gemini-hlsw/ocs/languages","stargazers_url":"https://api.github.com/repos/gemini-hlsw/ocs/stargazers","contributors_url":"https://api.github.com/repos/gemini-hlsw/ocs/contributors","subscribers_url":"https://api.github.com/repos/gemini-hlsw/ocs/subscribers","subscription_url":"https://api.github.com/repos/gemini-hlsw/ocs/subscription","commits_url":"https://api.github.com/repos/gemini-hlsw/ocs/commits{/sha}","git_commits_url":"https://api.github.com/repos/gemini-hlsw/ocs/git/commits{/sha}","comments_url":"https://api.github.com/repos/gemini-hlsw/ocs/comments{/number}","issue_comment_url":"https://api.github.com/repos/gemini-hlsw/ocs/issues/comments{/number}","contents_url":"https://api.github.com/repos/gemini-hlsw/ocs/contents/{+path}","compare_url":"https://api.github.com/repos/gemini-hlsw/ocs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gemini-hlsw/ocs/merges","archive_url":"https://api.github.com/repos/gemini-hlsw/ocs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gemini-hlsw/ocs/downloads","issues_url":"https://api.github.com/repos/gemini-hlsw/ocs/issues{/number}","pulls_url":"https://api.github.com/repos/gemini-hlsw/ocs/pulls{/number}","milestones_url":"https://api.github.com/repos/gemini-hlsw/ocs/milestones{/number}","notifications_url":"https://api.github.com/repos/gemini-hlsw/ocs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gemini-hlsw/ocs/labels{/name}","releases_url":"https://api.github.com/repos/gemini-hlsw/ocs/releases{/id}","deployments_url":"https://api.github.com/repos/gemini-hlsw/ocs/deployments","created_at":"2014-09-12T14:20:23Z","updated_at":"2016-03-21T18:43:37Z","pushed_at":"2016-04-04T23:01:56Z","git_url":"git://github.com/gemini-hlsw/ocs.git","ssh_url":"git@github.com:gemini-hlsw/ocs.git","clone_url":"https://github.com/gemini-hlsw/ocs.git","svn_url":"https://github.com/gemini-hlsw/ocs","homepage":"","size":355959,"stargazers_count":7,"watchers_count":7,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":6,"forks":14,"open_issues":6,"watchers":7,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/gemini-hlsw/ocs/pulls/864"},"html":{"href":"https://github.com/gemini-hlsw/ocs/pull/864"},"issue":{"href":"https://api.github.com/repos/gemini-hlsw/ocs/issues/864"},"comments":{"href":"https://api.github.com/repos/gemini-hlsw/ocs/issues/864/comments"},"review_comments":{"href":"https://api.github.com/repos/gemini-hlsw/ocs/pulls/864/comments"},"review_comment":{"href":"https://api.github.com/repos/gemini-hlsw/ocs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gemini-hlsw/ocs/pulls/864/commits"},"statuses":{"href":"https://api.github.com/repos/gemini-hlsw/ocs/statuses/8805235a4e74050d392ddfa3523df67057f5f6f7"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":45,"deletions":20,"changed_files":7}}