{"action":"opened","number":41,"pull_request":{"url":"https://api.github.com/repos/amplab/e-mission-server/pulls/41","id":26752110,"html_url":"https://github.com/amplab/e-mission-server/pull/41","diff_url":"https://github.com/amplab/e-mission-server/pull/41.diff","patch_url":"https://github.com/amplab/e-mission-server/pull/41.patch","issue_url":"https://api.github.com/repos/amplab/e-mission-server/issues/41","number":41,"state":"open","locked":false,"title":"Add in support to receive data from our own data collection app","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":"Our app sends data in the moves format, so we basically just have to invoke the\r\nmoves parsing code. I had to restructure the moves code slightly to allow this\r\nto happen. In particular, I had to pull out the part that parsed just a trip\r\narray, since we don't get the same unweildy segment structure as moves, and I\r\nhad to deal with the fact that we don't send a \"manual\" flag as part of the\r\ninput.\r\n\r\nAt this point, this works end to end on a web server running on localhost. I'm\r\ngoing to push it up to production so that we can start testing out our own data\r\ncollection.","created_at":"2015-01-02T08:39:40Z","updated_at":"2015-01-02T08:39:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/amplab/e-mission-server/pulls/41/commits","review_comments_url":"https://api.github.com/repos/amplab/e-mission-server/pulls/41/comments","review_comment_url":"https://api.github.com/repos/amplab/e-mission-server/pulls/comments/{number}","comments_url":"https://api.github.com/repos/amplab/e-mission-server/issues/41/comments","statuses_url":"https://api.github.com/repos/amplab/e-mission-server/statuses/0f64ce26b59897bc6b64cef6e67092ebe29ec9fb","head":{"label":"shankari:gamification","ref":"gamification","sha":"0f64ce26b59897bc6b64cef6e67092ebe29ec9fb","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":26309298,"name":"e-mission-server","full_name":"shankari/e-mission-server","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-server","description":"The backend (server) code for the e-mission server","fork":true,"url":"https://api.github.com/repos/shankari/e-mission-server","forks_url":"https://api.github.com/repos/shankari/e-mission-server/forks","keys_url":"https://api.github.com/repos/shankari/e-mission-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shankari/e-mission-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shankari/e-mission-server/teams","hooks_url":"https://api.github.com/repos/shankari/e-mission-server/hooks","issue_events_url":"https://api.github.com/repos/shankari/e-mission-server/issues/events{/number}","events_url":"https://api.github.com/repos/shankari/e-mission-server/events","assignees_url":"https://api.github.com/repos/shankari/e-mission-server/assignees{/user}","branches_url":"https://api.github.com/repos/shankari/e-mission-server/branches{/branch}","tags_url":"https://api.github.com/repos/shankari/e-mission-server/tags","blobs_url":"https://api.github.com/repos/shankari/e-mission-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shankari/e-mission-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shankari/e-mission-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/shankari/e-mission-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shankari/e-mission-server/statuses/{sha}","languages_url":"https://api.github.com/repos/shankari/e-mission-server/languages","stargazers_url":"https://api.github.com/repos/shankari/e-mission-server/stargazers","contributors_url":"https://api.github.com/repos/shankari/e-mission-server/contributors","subscribers_url":"https://api.github.com/repos/shankari/e-mission-server/subscribers","subscription_url":"https://api.github.com/repos/shankari/e-mission-server/subscription","commits_url":"https://api.github.com/repos/shankari/e-mission-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/shankari/e-mission-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/shankari/e-mission-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/shankari/e-mission-server/issues/comments/{number}","contents_url":"https://api.github.com/repos/shankari/e-mission-server/contents/{+path}","compare_url":"https://api.github.com/repos/shankari/e-mission-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shankari/e-mission-server/merges","archive_url":"https://api.github.com/repos/shankari/e-mission-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shankari/e-mission-server/downloads","issues_url":"https://api.github.com/repos/shankari/e-mission-server/issues{/number}","pulls_url":"https://api.github.com/repos/shankari/e-mission-server/pulls{/number}","milestones_url":"https://api.github.com/repos/shankari/e-mission-server/milestones{/number}","notifications_url":"https://api.github.com/repos/shankari/e-mission-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shankari/e-mission-server/labels{/name}","releases_url":"https://api.github.com/repos/shankari/e-mission-server/releases{/id}","created_at":"2014-11-07T07:44:00Z","updated_at":"2014-12-29T01:29:17Z","pushed_at":"2015-01-02T08:39:15Z","git_url":"git://github.com/shankari/e-mission-server.git","ssh_url":"git@github.com:shankari/e-mission-server.git","clone_url":"https://github.com/shankari/e-mission-server.git","svn_url":"https://github.com/shankari/e-mission-server","homepage":"https://e-mission.eecs.berkeley.edu","size":30910,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"amplab:master","ref":"master","sha":"be29fe2caa12fb6436492982ce0007c044330e6c","user":{"login":"amplab","id":1438454,"avatar_url":"https://avatars.githubusercontent.com/u/1438454?v=3","gravatar_id":"","url":"https://api.github.com/users/amplab","html_url":"https://github.com/amplab","followers_url":"https://api.github.com/users/amplab/followers","following_url":"https://api.github.com/users/amplab/following{/other_user}","gists_url":"https://api.github.com/users/amplab/gists{/gist_id}","starred_url":"https://api.github.com/users/amplab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amplab/subscriptions","organizations_url":"https://api.github.com/users/amplab/orgs","repos_url":"https://api.github.com/users/amplab/repos","events_url":"https://api.github.com/users/amplab/events{/privacy}","received_events_url":"https://api.github.com/users/amplab/received_events","type":"Organization","site_admin":false},"repo":{"id":26307245,"name":"e-mission-server","full_name":"amplab/e-mission-server","owner":{"login":"amplab","id":1438454,"avatar_url":"https://avatars.githubusercontent.com/u/1438454?v=3","gravatar_id":"","url":"https://api.github.com/users/amplab","html_url":"https://github.com/amplab","followers_url":"https://api.github.com/users/amplab/followers","following_url":"https://api.github.com/users/amplab/following{/other_user}","gists_url":"https://api.github.com/users/amplab/gists{/gist_id}","starred_url":"https://api.github.com/users/amplab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amplab/subscriptions","organizations_url":"https://api.github.com/users/amplab/orgs","repos_url":"https://api.github.com/users/amplab/repos","events_url":"https://api.github.com/users/amplab/events{/privacy}","received_events_url":"https://api.github.com/users/amplab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/amplab/e-mission-server","description":"The backend (server) code for the e-mission server","fork":false,"url":"https://api.github.com/repos/amplab/e-mission-server","forks_url":"https://api.github.com/repos/amplab/e-mission-server/forks","keys_url":"https://api.github.com/repos/amplab/e-mission-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amplab/e-mission-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amplab/e-mission-server/teams","hooks_url":"https://api.github.com/repos/amplab/e-mission-server/hooks","issue_events_url":"https://api.github.com/repos/amplab/e-mission-server/issues/events{/number}","events_url":"https://api.github.com/repos/amplab/e-mission-server/events","assignees_url":"https://api.github.com/repos/amplab/e-mission-server/assignees{/user}","branches_url":"https://api.github.com/repos/amplab/e-mission-server/branches{/branch}","tags_url":"https://api.github.com/repos/amplab/e-mission-server/tags","blobs_url":"https://api.github.com/repos/amplab/e-mission-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amplab/e-mission-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amplab/e-mission-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/amplab/e-mission-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amplab/e-mission-server/statuses/{sha}","languages_url":"https://api.github.com/repos/amplab/e-mission-server/languages","stargazers_url":"https://api.github.com/repos/amplab/e-mission-server/stargazers","contributors_url":"https://api.github.com/repos/amplab/e-mission-server/contributors","subscribers_url":"https://api.github.com/repos/amplab/e-mission-server/subscribers","subscription_url":"https://api.github.com/repos/amplab/e-mission-server/subscription","commits_url":"https://api.github.com/repos/amplab/e-mission-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/amplab/e-mission-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/amplab/e-mission-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/amplab/e-mission-server/issues/comments/{number}","contents_url":"https://api.github.com/repos/amplab/e-mission-server/contents/{+path}","compare_url":"https://api.github.com/repos/amplab/e-mission-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amplab/e-mission-server/merges","archive_url":"https://api.github.com/repos/amplab/e-mission-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amplab/e-mission-server/downloads","issues_url":"https://api.github.com/repos/amplab/e-mission-server/issues{/number}","pulls_url":"https://api.github.com/repos/amplab/e-mission-server/pulls{/number}","milestones_url":"https://api.github.com/repos/amplab/e-mission-server/milestones{/number}","notifications_url":"https://api.github.com/repos/amplab/e-mission-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amplab/e-mission-server/labels{/name}","releases_url":"https://api.github.com/repos/amplab/e-mission-server/releases{/id}","created_at":"2014-11-07T06:39:02Z","updated_at":"2014-12-29T01:28:31Z","pushed_at":"2014-12-29T01:28:30Z","git_url":"git://github.com/amplab/e-mission-server.git","ssh_url":"git@github.com:amplab/e-mission-server.git","clone_url":"https://github.com/amplab/e-mission-server.git","svn_url":"https://github.com/amplab/e-mission-server","homepage":"https://e-mission.eecs.berkeley.edu","size":30888,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":17,"forks":3,"open_issues":17,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/amplab/e-mission-server/pulls/41"},"html":{"href":"https://github.com/amplab/e-mission-server/pull/41"},"issue":{"href":"https://api.github.com/repos/amplab/e-mission-server/issues/41"},"comments":{"href":"https://api.github.com/repos/amplab/e-mission-server/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/amplab/e-mission-server/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/amplab/e-mission-server/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/amplab/e-mission-server/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/amplab/e-mission-server/statuses/0f64ce26b59897bc6b64cef6e67092ebe29ec9fb"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":145,"deletions":76,"changed_files":5}}