{"action":"opened","number":69,"pull_request":{"url":"https://api.github.com/repos/e-mission/e-mission-data-collection/pulls/69","id":52021552,"html_url":"https://github.com/e-mission/e-mission-data-collection/pull/69","diff_url":"https://github.com/e-mission/e-mission-data-collection/pull/69.diff","patch_url":"https://github.com/e-mission/e-mission-data-collection/pull/69.patch","issue_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/issues/69","number":69,"state":"open","locked":false,"title":"Make some more important transitions show up in the notification screen","user":{"login":"shankari","id":2423263,"avatar_url":"https://avatars.githubusercontent.com/u/2423263?v=3","gravatar_id":"","url":"https://api.github.com/users/shankari","html_url":"https://github.com/shankari","followers_url":"https://api.github.com/users/shankari/followers","following_url":"https://api.github.com/users/shankari/following{/other_user}","gists_url":"https://api.github.com/users/shankari/gists{/gist_id}","starred_url":"https://api.github.com/users/shankari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shankari/subscriptions","organizations_url":"https://api.github.com/users/shankari/orgs","repos_url":"https://api.github.com/users/shankari/repos","events_url":"https://api.github.com/users/shankari/events{/privacy}","received_events_url":"https://api.github.com/users/shankari/received_events","type":"User","site_admin":false},"body":"We have had intermittent problems with the following functionality:\r\n- remote pushes are not delivered correctly, sometimes just when we need them,\r\n  like when a trip ends. This seems to have become worse after the change to\r\n  store the background location.\r\n- changes are pushed to the server multiple times, in particular, activity\r\n  changes, which are repeated upto 3 or 4 times\r\n```\r\nEND 2015-11-27 19:34:19.236686 POST /usercache/put 079e0f1a-c440-3d7c-b0e7-de160f748e35 492.189321041\r\nEND 2015-11-27 19:34:19.238078 POST /usercache/put 079e0f1a-c440-3d7c-b0e7-de160f748e35 492.53057313\r\nEND 2015-11-27 19:34:19.244905 POST /usercache/put 079e0f1a-c440-3d7c-b0e7-de160f748e35 492.34781599\r\nEND 2015-11-27 19:34:19.250641 POST /usercache/put 079e0f1a-c440-3d7c-b0e7-de160f748e35 491.087853909\r\nEND 2015-11-27 19:34:19.252719 POST /usercache/put 079e0f1a-c440-3d7c-b0e7-de160f748e35 489.149410963\r\n```\r\n- geofence creation sometimes appears to fail if it happens entirely in the\r\n  background. Right now, this is not an issue with the remote push because it\r\n  waits until the trip has fully ended, but it might be an issue again if we\r\n  return to visits, so let's document pre-emptively.\r\n\r\nLet's log all of these to the UI so that we can see them without bringing the\r\napp to the foreground and perturbing the results","created_at":"2015-11-27T19:50:41Z","updated_at":"2015-11-27T19:50:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/pulls/69/commits","review_comments_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/pulls/69/comments","review_comment_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/pulls/comments{/number}","comments_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/issues/69/comments","statuses_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/statuses/65b5371f422d56f5a556fa05df65f00136f4c125","head":{"label":"shankari:switch_to_our_format","ref":"switch_to_our_format","sha":"65b5371f422d56f5a556fa05df65f00136f4c125","user":{"login":"shankari","id":2423263,"avatar_url":"https://avatars.githubusercontent.com/u/2423263?v=3","gravatar_id":"","url":"https://api.github.com/users/shankari","html_url":"https://github.com/shankari","followers_url":"https://api.github.com/users/shankari/followers","following_url":"https://api.github.com/users/shankari/following{/other_user}","gists_url":"https://api.github.com/users/shankari/gists{/gist_id}","starred_url":"https://api.github.com/users/shankari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shankari/subscriptions","organizations_url":"https://api.github.com/users/shankari/orgs","repos_url":"https://api.github.com/users/shankari/repos","events_url":"https://api.github.com/users/shankari/events{/privacy}","received_events_url":"https://api.github.com/users/shankari/received_events","type":"User","site_admin":false},"repo":{"id":30003947,"name":"e-mission-data-collection","full_name":"shankari/e-mission-data-collection","owner":{"login":"shankari","id":2423263,"avatar_url":"https://avatars.githubusercontent.com/u/2423263?v=3","gravatar_id":"","url":"https://api.github.com/users/shankari","html_url":"https://github.com/shankari","followers_url":"https://api.github.com/users/shankari/followers","following_url":"https://api.github.com/users/shankari/following{/other_user}","gists_url":"https://api.github.com/users/shankari/gists{/gist_id}","starred_url":"https://api.github.com/users/shankari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shankari/subscriptions","organizations_url":"https://api.github.com/users/shankari/orgs","repos_url":"https://api.github.com/users/shankari/repos","events_url":"https://api.github.com/users/shankari/events{/privacy}","received_events_url":"https://api.github.com/users/shankari/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shankari/e-mission-data-collection","description":"Repository for our own data collection","fork":true,"url":"https://api.github.com/repos/shankari/e-mission-data-collection","forks_url":"https://api.github.com/repos/shankari/e-mission-data-collection/forks","keys_url":"https://api.github.com/repos/shankari/e-mission-data-collection/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shankari/e-mission-data-collection/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shankari/e-mission-data-collection/teams","hooks_url":"https://api.github.com/repos/shankari/e-mission-data-collection/hooks","issue_events_url":"https://api.github.com/repos/shankari/e-mission-data-collection/issues/events{/number}","events_url":"https://api.github.com/repos/shankari/e-mission-data-collection/events","assignees_url":"https://api.github.com/repos/shankari/e-mission-data-collection/assignees{/user}","branches_url":"https://api.github.com/repos/shankari/e-mission-data-collection/branches{/branch}","tags_url":"https://api.github.com/repos/shankari/e-mission-data-collection/tags","blobs_url":"https://api.github.com/repos/shankari/e-mission-data-collection/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shankari/e-mission-data-collection/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shankari/e-mission-data-collection/git/refs{/sha}","trees_url":"https://api.github.com/repos/shankari/e-mission-data-collection/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shankari/e-mission-data-collection/statuses/{sha}","languages_url":"https://api.github.com/repos/shankari/e-mission-data-collection/languages","stargazers_url":"https://api.github.com/repos/shankari/e-mission-data-collection/stargazers","contributors_url":"https://api.github.com/repos/shankari/e-mission-data-collection/contributors","subscribers_url":"https://api.github.com/repos/shankari/e-mission-data-collection/subscribers","subscription_url":"https://api.github.com/repos/shankari/e-mission-data-collection/subscription","commits_url":"https://api.github.com/repos/shankari/e-mission-data-collection/commits{/sha}","git_commits_url":"https://api.github.com/repos/shankari/e-mission-data-collection/git/commits{/sha}","comments_url":"https://api.github.com/repos/shankari/e-mission-data-collection/comments{/number}","issue_comment_url":"https://api.github.com/repos/shankari/e-mission-data-collection/issues/comments{/number}","contents_url":"https://api.github.com/repos/shankari/e-mission-data-collection/contents/{+path}","compare_url":"https://api.github.com/repos/shankari/e-mission-data-collection/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shankari/e-mission-data-collection/merges","archive_url":"https://api.github.com/repos/shankari/e-mission-data-collection/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shankari/e-mission-data-collection/downloads","issues_url":"https://api.github.com/repos/shankari/e-mission-data-collection/issues{/number}","pulls_url":"https://api.github.com/repos/shankari/e-mission-data-collection/pulls{/number}","milestones_url":"https://api.github.com/repos/shankari/e-mission-data-collection/milestones{/number}","notifications_url":"https://api.github.com/repos/shankari/e-mission-data-collection/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shankari/e-mission-data-collection/labels{/name}","releases_url":"https://api.github.com/repos/shankari/e-mission-data-collection/releases{/id}","created_at":"2015-01-29T04:40:52Z","updated_at":"2015-03-23T06:29:19Z","pushed_at":"2015-11-27T19:50:13Z","git_url":"git://github.com/shankari/e-mission-data-collection.git","ssh_url":"git@github.com:shankari/e-mission-data-collection.git","clone_url":"https://github.com/shankari/e-mission-data-collection.git","svn_url":"https://github.com/shankari/e-mission-data-collection","homepage":null,"size":14338,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","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":"e-mission:master","ref":"master","sha":"43e96a332c9c82c27bedc2d8c720fce9b599a6f3","user":{"login":"e-mission","id":10713694,"avatar_url":"https://avatars.githubusercontent.com/u/10713694?v=3","gravatar_id":"","url":"https://api.github.com/users/e-mission","html_url":"https://github.com/e-mission","followers_url":"https://api.github.com/users/e-mission/followers","following_url":"https://api.github.com/users/e-mission/following{/other_user}","gists_url":"https://api.github.com/users/e-mission/gists{/gist_id}","starred_url":"https://api.github.com/users/e-mission/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-mission/subscriptions","organizations_url":"https://api.github.com/users/e-mission/orgs","repos_url":"https://api.github.com/users/e-mission/repos","events_url":"https://api.github.com/users/e-mission/events{/privacy}","received_events_url":"https://api.github.com/users/e-mission/received_events","type":"Organization","site_admin":false},"repo":{"id":30003805,"name":"e-mission-data-collection","full_name":"e-mission/e-mission-data-collection","owner":{"login":"e-mission","id":10713694,"avatar_url":"https://avatars.githubusercontent.com/u/10713694?v=3","gravatar_id":"","url":"https://api.github.com/users/e-mission","html_url":"https://github.com/e-mission","followers_url":"https://api.github.com/users/e-mission/followers","following_url":"https://api.github.com/users/e-mission/following{/other_user}","gists_url":"https://api.github.com/users/e-mission/gists{/gist_id}","starred_url":"https://api.github.com/users/e-mission/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-mission/subscriptions","organizations_url":"https://api.github.com/users/e-mission/orgs","repos_url":"https://api.github.com/users/e-mission/repos","events_url":"https://api.github.com/users/e-mission/events{/privacy}","received_events_url":"https://api.github.com/users/e-mission/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/e-mission/e-mission-data-collection","description":"Repository for our own data collection","fork":false,"url":"https://api.github.com/repos/e-mission/e-mission-data-collection","forks_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/forks","keys_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/keys{/key_id}","collaborators_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/teams","hooks_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/hooks","issue_events_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/issues/events{/number}","events_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/events","assignees_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/assignees{/user}","branches_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/branches{/branch}","tags_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/tags","blobs_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/git/refs{/sha}","trees_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/git/trees{/sha}","statuses_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/statuses/{sha}","languages_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/languages","stargazers_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/stargazers","contributors_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/contributors","subscribers_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/subscribers","subscription_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/subscription","commits_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/commits{/sha}","git_commits_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/git/commits{/sha}","comments_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/comments{/number}","issue_comment_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/issues/comments{/number}","contents_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/contents/{+path}","compare_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/compare/{base}...{head}","merges_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/merges","archive_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/downloads","issues_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/issues{/number}","pulls_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/pulls{/number}","milestones_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/milestones{/number}","notifications_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/labels{/name}","releases_url":"https://api.github.com/repos/e-mission/e-mission-data-collection/releases{/id}","created_at":"2015-01-29T04:35:25Z","updated_at":"2015-04-28T05:01:01Z","pushed_at":"2015-11-27T07:59:32Z","git_url":"git://github.com/e-mission/e-mission-data-collection.git","ssh_url":"git@github.com:e-mission/e-mission-data-collection.git","clone_url":"https://github.com/e-mission/e-mission-data-collection.git","svn_url":"https://github.com/e-mission/e-mission-data-collection","homepage":null,"size":15180,"stargazers_count":2,"watchers_count":2,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":14,"forks":7,"open_issues":14,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/e-mission/e-mission-data-collection/pulls/69"},"html":{"href":"https://github.com/e-mission/e-mission-data-collection/pull/69"},"issue":{"href":"https://api.github.com/repos/e-mission/e-mission-data-collection/issues/69"},"comments":{"href":"https://api.github.com/repos/e-mission/e-mission-data-collection/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/e-mission/e-mission-data-collection/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/e-mission/e-mission-data-collection/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/e-mission/e-mission-data-collection/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/e-mission/e-mission-data-collection/statuses/65b5371f422d56f5a556fa05df65f00136f4c125"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":43,"deletions":7,"changed_files":6}}