{"action":"opened","number":58,"pull_request":{"url":"https://api.github.com/repos/tidepool-org/jellyfish/pulls/58","id":31580613,"html_url":"https://github.com/tidepool-org/jellyfish/pull/58","diff_url":"https://github.com/tidepool-org/jellyfish/pull/58.diff","patch_url":"https://github.com/tidepool-org/jellyfish/pull/58.patch","issue_url":"https://api.github.com/repos/tidepool-org/jellyfish/issues/58","number":58,"state":"open","locked":false,"title":"pass a datum to updateDatum if _forceUpdate flag is present","user":{"login":"jebeck","id":1588547,"avatar_url":"https://avatars.githubusercontent.com/u/1588547?v=3","gravatar_id":"","url":"https://api.github.com/users/jebeck","html_url":"https://github.com/jebeck","followers_url":"https://api.github.com/users/jebeck/followers","following_url":"https://api.github.com/users/jebeck/following{/other_user}","gists_url":"https://api.github.com/users/jebeck/gists{/gist_id}","starred_url":"https://api.github.com/users/jebeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jebeck/subscriptions","organizations_url":"https://api.github.com/users/jebeck/orgs","repos_url":"https://api.github.com/users/jebeck/repos","events_url":"https://api.github.com/users/jebeck/events{/privacy}","received_events_url":"https://api.github.com/users/jebeck/received_events","type":"User","site_admin":false},"body":"This allows us to bypass jellyfish's rejection of \"duplicate\" events (namely, in the case where we've added a `_forceUpdate` flag on the data point).\r\n\r\nNow, the data model docs say this about versioning: \"At some future date, we will have the ability to modify events. At that time, there will be a special endpoint that allows for updating an event and in this case, it is expected that an id will be provided.\"\r\n\r\nSo I don't think this is the kind of solution we originally had in mind. @cheddar this is what I wanted to pick your brain on today.\r\n\r\nDo we want this is a short-term solution so that we can fix the issues around DST with Dexcom data?\r\n\r\nUploader PR that this is a prerequisite for: ","created_at":"2015-03-20T01:00:54Z","updated_at":"2015-03-20T01:00:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tidepool-org/jellyfish/pulls/58/commits","review_comments_url":"https://api.github.com/repos/tidepool-org/jellyfish/pulls/58/comments","review_comment_url":"https://api.github.com/repos/tidepool-org/jellyfish/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tidepool-org/jellyfish/issues/58/comments","statuses_url":"https://api.github.com/repos/tidepool-org/jellyfish/statuses/0a6211f087c7910b0482b418b9f572b1bb5e68ab","head":{"label":"tidepool-org:jebeck/force-update","ref":"jebeck/force-update","sha":"0a6211f087c7910b0482b418b9f572b1bb5e68ab","user":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"repo":{"id":16853872,"name":"jellyfish","full_name":"tidepool-org/jellyfish","owner":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tidepool-org/jellyfish","description":"The service for uploads.","fork":false,"url":"https://api.github.com/repos/tidepool-org/jellyfish","forks_url":"https://api.github.com/repos/tidepool-org/jellyfish/forks","keys_url":"https://api.github.com/repos/tidepool-org/jellyfish/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tidepool-org/jellyfish/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tidepool-org/jellyfish/teams","hooks_url":"https://api.github.com/repos/tidepool-org/jellyfish/hooks","issue_events_url":"https://api.github.com/repos/tidepool-org/jellyfish/issues/events{/number}","events_url":"https://api.github.com/repos/tidepool-org/jellyfish/events","assignees_url":"https://api.github.com/repos/tidepool-org/jellyfish/assignees{/user}","branches_url":"https://api.github.com/repos/tidepool-org/jellyfish/branches{/branch}","tags_url":"https://api.github.com/repos/tidepool-org/jellyfish/tags","blobs_url":"https://api.github.com/repos/tidepool-org/jellyfish/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tidepool-org/jellyfish/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tidepool-org/jellyfish/git/refs{/sha}","trees_url":"https://api.github.com/repos/tidepool-org/jellyfish/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tidepool-org/jellyfish/statuses/{sha}","languages_url":"https://api.github.com/repos/tidepool-org/jellyfish/languages","stargazers_url":"https://api.github.com/repos/tidepool-org/jellyfish/stargazers","contributors_url":"https://api.github.com/repos/tidepool-org/jellyfish/contributors","subscribers_url":"https://api.github.com/repos/tidepool-org/jellyfish/subscribers","subscription_url":"https://api.github.com/repos/tidepool-org/jellyfish/subscription","commits_url":"https://api.github.com/repos/tidepool-org/jellyfish/commits{/sha}","git_commits_url":"https://api.github.com/repos/tidepool-org/jellyfish/git/commits{/sha}","comments_url":"https://api.github.com/repos/tidepool-org/jellyfish/comments{/number}","issue_comment_url":"https://api.github.com/repos/tidepool-org/jellyfish/issues/comments{/number}","contents_url":"https://api.github.com/repos/tidepool-org/jellyfish/contents/{+path}","compare_url":"https://api.github.com/repos/tidepool-org/jellyfish/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tidepool-org/jellyfish/merges","archive_url":"https://api.github.com/repos/tidepool-org/jellyfish/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tidepool-org/jellyfish/downloads","issues_url":"https://api.github.com/repos/tidepool-org/jellyfish/issues{/number}","pulls_url":"https://api.github.com/repos/tidepool-org/jellyfish/pulls{/number}","milestones_url":"https://api.github.com/repos/tidepool-org/jellyfish/milestones{/number}","notifications_url":"https://api.github.com/repos/tidepool-org/jellyfish/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tidepool-org/jellyfish/labels{/name}","releases_url":"https://api.github.com/repos/tidepool-org/jellyfish/releases{/id}","created_at":"2014-02-15T01:07:02Z","updated_at":"2015-03-17T23:55:06Z","pushed_at":"2015-03-20T00:52:50Z","git_url":"git://github.com/tidepool-org/jellyfish.git","ssh_url":"git@github.com:tidepool-org/jellyfish.git","clone_url":"https://github.com/tidepool-org/jellyfish.git","svn_url":"https://github.com/tidepool-org/jellyfish","homepage":"","size":2232,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":1,"forks":8,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"tidepool-org:master","ref":"master","sha":"2936b8283c98cee94b577e73e729d6646e90238d","user":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"repo":{"id":16853872,"name":"jellyfish","full_name":"tidepool-org/jellyfish","owner":{"login":"tidepool-org","id":4390820,"avatar_url":"https://avatars.githubusercontent.com/u/4390820?v=3","gravatar_id":"","url":"https://api.github.com/users/tidepool-org","html_url":"https://github.com/tidepool-org","followers_url":"https://api.github.com/users/tidepool-org/followers","following_url":"https://api.github.com/users/tidepool-org/following{/other_user}","gists_url":"https://api.github.com/users/tidepool-org/gists{/gist_id}","starred_url":"https://api.github.com/users/tidepool-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidepool-org/subscriptions","organizations_url":"https://api.github.com/users/tidepool-org/orgs","repos_url":"https://api.github.com/users/tidepool-org/repos","events_url":"https://api.github.com/users/tidepool-org/events{/privacy}","received_events_url":"https://api.github.com/users/tidepool-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tidepool-org/jellyfish","description":"The service for uploads.","fork":false,"url":"https://api.github.com/repos/tidepool-org/jellyfish","forks_url":"https://api.github.com/repos/tidepool-org/jellyfish/forks","keys_url":"https://api.github.com/repos/tidepool-org/jellyfish/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tidepool-org/jellyfish/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tidepool-org/jellyfish/teams","hooks_url":"https://api.github.com/repos/tidepool-org/jellyfish/hooks","issue_events_url":"https://api.github.com/repos/tidepool-org/jellyfish/issues/events{/number}","events_url":"https://api.github.com/repos/tidepool-org/jellyfish/events","assignees_url":"https://api.github.com/repos/tidepool-org/jellyfish/assignees{/user}","branches_url":"https://api.github.com/repos/tidepool-org/jellyfish/branches{/branch}","tags_url":"https://api.github.com/repos/tidepool-org/jellyfish/tags","blobs_url":"https://api.github.com/repos/tidepool-org/jellyfish/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tidepool-org/jellyfish/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tidepool-org/jellyfish/git/refs{/sha}","trees_url":"https://api.github.com/repos/tidepool-org/jellyfish/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tidepool-org/jellyfish/statuses/{sha}","languages_url":"https://api.github.com/repos/tidepool-org/jellyfish/languages","stargazers_url":"https://api.github.com/repos/tidepool-org/jellyfish/stargazers","contributors_url":"https://api.github.com/repos/tidepool-org/jellyfish/contributors","subscribers_url":"https://api.github.com/repos/tidepool-org/jellyfish/subscribers","subscription_url":"https://api.github.com/repos/tidepool-org/jellyfish/subscription","commits_url":"https://api.github.com/repos/tidepool-org/jellyfish/commits{/sha}","git_commits_url":"https://api.github.com/repos/tidepool-org/jellyfish/git/commits{/sha}","comments_url":"https://api.github.com/repos/tidepool-org/jellyfish/comments{/number}","issue_comment_url":"https://api.github.com/repos/tidepool-org/jellyfish/issues/comments{/number}","contents_url":"https://api.github.com/repos/tidepool-org/jellyfish/contents/{+path}","compare_url":"https://api.github.com/repos/tidepool-org/jellyfish/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tidepool-org/jellyfish/merges","archive_url":"https://api.github.com/repos/tidepool-org/jellyfish/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tidepool-org/jellyfish/downloads","issues_url":"https://api.github.com/repos/tidepool-org/jellyfish/issues{/number}","pulls_url":"https://api.github.com/repos/tidepool-org/jellyfish/pulls{/number}","milestones_url":"https://api.github.com/repos/tidepool-org/jellyfish/milestones{/number}","notifications_url":"https://api.github.com/repos/tidepool-org/jellyfish/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tidepool-org/jellyfish/labels{/name}","releases_url":"https://api.github.com/repos/tidepool-org/jellyfish/releases{/id}","created_at":"2014-02-15T01:07:02Z","updated_at":"2015-03-17T23:55:06Z","pushed_at":"2015-03-20T00:52:50Z","git_url":"git://github.com/tidepool-org/jellyfish.git","ssh_url":"git@github.com:tidepool-org/jellyfish.git","clone_url":"https://github.com/tidepool-org/jellyfish.git","svn_url":"https://github.com/tidepool-org/jellyfish","homepage":"","size":2232,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":1,"forks":8,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tidepool-org/jellyfish/pulls/58"},"html":{"href":"https://github.com/tidepool-org/jellyfish/pull/58"},"issue":{"href":"https://api.github.com/repos/tidepool-org/jellyfish/issues/58"},"comments":{"href":"https://api.github.com/repos/tidepool-org/jellyfish/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/tidepool-org/jellyfish/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/tidepool-org/jellyfish/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tidepool-org/jellyfish/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/tidepool-org/jellyfish/statuses/0a6211f087c7910b0482b418b9f572b1bb5e68ab"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":0,"changed_files":1}}