{"action":"created","comment":{"url":"https://api.github.com/repos/e-mission/e-mission-server/pulls/comments/71563900","id":71563900,"diff_hunk":"@@ -0,0 +1,35 @@\n+import logging\n+import emission.core.get_database as edb\n+\n+if __name__ == '__main__':\n+    logging.basicConfig(level=logging.DEBUG)\n+\n+    ju_email = \"ju.uemura@gmail.com\"\n+    ju_uuid = edb.get_uuid_db().find_one({'user_email': ju_email})['uuid']\n+    logging.debug(\"Found Juliana's uuid %s\" % ju_uuid)\n+    edb.get_habitica_db().insert({'habitica_id': \"e26ef1c3-d45e-464a-998c-729d107ecc42\", \n+        'habitica_password': u'autogenerate_me', \n+        'habitica_token': '5669eb83-3e36-468d-95f4-6af15801d6cc', \n+        'habitica_username': 'Juliana', \n+        'metrics_data': {'bike_count': 0, 'last_timestamp': 1469020093, 'walk_count': 0}, \n+        'user_id': ju_uuid})\n+\n+    su_email = \"sunil07t@gmail.com\"\n+    su_uuid = edb.get_uuid_db().find_one({'user_email': su_email})['uuid']\n+    logging.debug(\"Found Sunil's uuid %s\" % su_uuid)\n+    edb.get_habitica_db().insert({'habitica_id': \"9ca9993a-3d84-434f-97af-3df2bd1a1def\", \n+        'habitica_password': u\"autogenerate_me\", \n+        'habitica_token': \"56977c97-0604-48a2-9572-59d7011b6948\", \n+        'habitica_username': \"Sunil\", \n+        'metrics_data': {'bike_count': 0, 'last_timestamp': 1469020093, 'walk_count': 0}, \n+        'user_id': su_uuid})\n+\n+    sh_email = \"shankari@eecs.berkeley.edu\"","path":"bin/ext_service/create_party_leaders_in_db.py","position":27,"original_position":27,"commit_id":"8263339e3dbc903f5b213b57f0ec9961d1caea90","original_commit_id":"8263339e3dbc903f5b213b57f0ec9961d1caea90","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":"the email that I use for login in `shankari@berkeley.edu`","created_at":"2016-07-20T16:57:22Z","updated_at":"2016-07-20T16:57:22Z","html_url":"https://github.com/e-mission/e-mission-server/pull/324#discussion_r71563900","pull_request_url":"https://api.github.com/repos/e-mission/e-mission-server/pulls/324","_links":{"self":{"href":"https://api.github.com/repos/e-mission/e-mission-server/pulls/comments/71563900"},"html":{"href":"https://github.com/e-mission/e-mission-server/pull/324#discussion_r71563900"},"pull_request":{"href":"https://api.github.com/repos/e-mission/e-mission-server/pulls/324"}}},"pull_request":{"url":"https://api.github.com/repos/e-mission/e-mission-server/pulls/324","id":78173945,"html_url":"https://github.com/e-mission/e-mission-server/pull/324","diff_url":"https://github.com/e-mission/e-mission-server/pull/324.diff","patch_url":"https://github.com/e-mission/e-mission-server/pull/324.patch","issue_url":"https://api.github.com/repos/e-mission/e-mission-server/issues/324","number":324,"state":"open","locked":false,"title":"Habitica setup","user":{"login":"juemura","id":1196510,"avatar_url":"https://avatars.githubusercontent.com/u/1196510?v=3","gravatar_id":"","url":"https://api.github.com/users/juemura","html_url":"https://github.com/juemura","followers_url":"https://api.github.com/users/juemura/followers","following_url":"https://api.github.com/users/juemura/following{/other_user}","gists_url":"https://api.github.com/users/juemura/gists{/gist_id}","starred_url":"https://api.github.com/users/juemura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juemura/subscriptions","organizations_url":"https://api.github.com/users/juemura/orgs","repos_url":"https://api.github.com/users/juemura/repos","events_url":"https://api.github.com/users/juemura/events{/privacy}","received_events_url":"https://api.github.com/users/juemura/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-20T16:01:51Z","updated_at":"2016-07-20T16:57:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"abbe28a03744fe5756a4b2dcb63468a4a57e5b7f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/e-mission/e-mission-server/pulls/324/commits","review_comments_url":"https://api.github.com/repos/e-mission/e-mission-server/pulls/324/comments","review_comment_url":"https://api.github.com/repos/e-mission/e-mission-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/e-mission/e-mission-server/issues/324/comments","statuses_url":"https://api.github.com/repos/e-mission/e-mission-server/statuses/8263339e3dbc903f5b213b57f0ec9961d1caea90","head":{"label":"juemura:habitica_setup","ref":"habitica_setup","sha":"8263339e3dbc903f5b213b57f0ec9961d1caea90","user":{"login":"juemura","id":1196510,"avatar_url":"https://avatars.githubusercontent.com/u/1196510?v=3","gravatar_id":"","url":"https://api.github.com/users/juemura","html_url":"https://github.com/juemura","followers_url":"https://api.github.com/users/juemura/followers","following_url":"https://api.github.com/users/juemura/following{/other_user}","gists_url":"https://api.github.com/users/juemura/gists{/gist_id}","starred_url":"https://api.github.com/users/juemura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juemura/subscriptions","organizations_url":"https://api.github.com/users/juemura/orgs","repos_url":"https://api.github.com/users/juemura/repos","events_url":"https://api.github.com/users/juemura/events{/privacy}","received_events_url":"https://api.github.com/users/juemura/received_events","type":"User","site_admin":false},"repo":{"id":62175853,"name":"e-mission-server","full_name":"juemura/e-mission-server","owner":{"login":"juemura","id":1196510,"avatar_url":"https://avatars.githubusercontent.com/u/1196510?v=3","gravatar_id":"","url":"https://api.github.com/users/juemura","html_url":"https://github.com/juemura","followers_url":"https://api.github.com/users/juemura/followers","following_url":"https://api.github.com/users/juemura/following{/other_user}","gists_url":"https://api.github.com/users/juemura/gists{/gist_id}","starred_url":"https://api.github.com/users/juemura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juemura/subscriptions","organizations_url":"https://api.github.com/users/juemura/orgs","repos_url":"https://api.github.com/users/juemura/repos","events_url":"https://api.github.com/users/juemura/events{/privacy}","received_events_url":"https://api.github.com/users/juemura/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/juemura/e-mission-server","description":"The backend (server) code for the e-mission server","fork":true,"url":"https://api.github.com/repos/juemura/e-mission-server","forks_url":"https://api.github.com/repos/juemura/e-mission-server/forks","keys_url":"https://api.github.com/repos/juemura/e-mission-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juemura/e-mission-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juemura/e-mission-server/teams","hooks_url":"https://api.github.com/repos/juemura/e-mission-server/hooks","issue_events_url":"https://api.github.com/repos/juemura/e-mission-server/issues/events{/number}","events_url":"https://api.github.com/repos/juemura/e-mission-server/events","assignees_url":"https://api.github.com/repos/juemura/e-mission-server/assignees{/user}","branches_url":"https://api.github.com/repos/juemura/e-mission-server/branches{/branch}","tags_url":"https://api.github.com/repos/juemura/e-mission-server/tags","blobs_url":"https://api.github.com/repos/juemura/e-mission-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juemura/e-mission-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juemura/e-mission-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/juemura/e-mission-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juemura/e-mission-server/statuses/{sha}","languages_url":"https://api.github.com/repos/juemura/e-mission-server/languages","stargazers_url":"https://api.github.com/repos/juemura/e-mission-server/stargazers","contributors_url":"https://api.github.com/repos/juemura/e-mission-server/contributors","subscribers_url":"https://api.github.com/repos/juemura/e-mission-server/subscribers","subscription_url":"https://api.github.com/repos/juemura/e-mission-server/subscription","commits_url":"https://api.github.com/repos/juemura/e-mission-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/juemura/e-mission-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/juemura/e-mission-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/juemura/e-mission-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/juemura/e-mission-server/contents/{+path}","compare_url":"https://api.github.com/repos/juemura/e-mission-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juemura/e-mission-server/merges","archive_url":"https://api.github.com/repos/juemura/e-mission-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juemura/e-mission-server/downloads","issues_url":"https://api.github.com/repos/juemura/e-mission-server/issues{/number}","pulls_url":"https://api.github.com/repos/juemura/e-mission-server/pulls{/number}","milestones_url":"https://api.github.com/repos/juemura/e-mission-server/milestones{/number}","notifications_url":"https://api.github.com/repos/juemura/e-mission-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juemura/e-mission-server/labels{/name}","releases_url":"https://api.github.com/repos/juemura/e-mission-server/releases{/id}","deployments_url":"https://api.github.com/repos/juemura/e-mission-server/deployments","created_at":"2016-06-28T21:35:53Z","updated_at":"2016-06-28T21:36:01Z","pushed_at":"2016-07-20T16:35:24Z","git_url":"git://github.com/juemura/e-mission-server.git","ssh_url":"git@github.com:juemura/e-mission-server.git","clone_url":"https://github.com/juemura/e-mission-server.git","svn_url":"https://github.com/juemura/e-mission-server","homepage":"https://e-mission.eecs.berkeley.edu","size":92532,"stargazers_count":0,"watchers_count":0,"language":"Jupyter Notebook","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":"cb483a896b632d69eccdd35fc205704cea1762f0","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":26307245,"name":"e-mission-server","full_name":"e-mission/e-mission-server","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-server","description":"The backend (server) code for the e-mission server","fork":false,"url":"https://api.github.com/repos/e-mission/e-mission-server","forks_url":"https://api.github.com/repos/e-mission/e-mission-server/forks","keys_url":"https://api.github.com/repos/e-mission/e-mission-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/e-mission/e-mission-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/e-mission/e-mission-server/teams","hooks_url":"https://api.github.com/repos/e-mission/e-mission-server/hooks","issue_events_url":"https://api.github.com/repos/e-mission/e-mission-server/issues/events{/number}","events_url":"https://api.github.com/repos/e-mission/e-mission-server/events","assignees_url":"https://api.github.com/repos/e-mission/e-mission-server/assignees{/user}","branches_url":"https://api.github.com/repos/e-mission/e-mission-server/branches{/branch}","tags_url":"https://api.github.com/repos/e-mission/e-mission-server/tags","blobs_url":"https://api.github.com/repos/e-mission/e-mission-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/e-mission/e-mission-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/e-mission/e-mission-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/e-mission/e-mission-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/e-mission/e-mission-server/statuses/{sha}","languages_url":"https://api.github.com/repos/e-mission/e-mission-server/languages","stargazers_url":"https://api.github.com/repos/e-mission/e-mission-server/stargazers","contributors_url":"https://api.github.com/repos/e-mission/e-mission-server/contributors","subscribers_url":"https://api.github.com/repos/e-mission/e-mission-server/subscribers","subscription_url":"https://api.github.com/repos/e-mission/e-mission-server/subscription","commits_url":"https://api.github.com/repos/e-mission/e-mission-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/e-mission/e-mission-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/e-mission/e-mission-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/e-mission/e-mission-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/e-mission/e-mission-server/contents/{+path}","compare_url":"https://api.github.com/repos/e-mission/e-mission-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/e-mission/e-mission-server/merges","archive_url":"https://api.github.com/repos/e-mission/e-mission-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/e-mission/e-mission-server/downloads","issues_url":"https://api.github.com/repos/e-mission/e-mission-server/issues{/number}","pulls_url":"https://api.github.com/repos/e-mission/e-mission-server/pulls{/number}","milestones_url":"https://api.github.com/repos/e-mission/e-mission-server/milestones{/number}","notifications_url":"https://api.github.com/repos/e-mission/e-mission-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/e-mission/e-mission-server/labels{/name}","releases_url":"https://api.github.com/repos/e-mission/e-mission-server/releases{/id}","deployments_url":"https://api.github.com/repos/e-mission/e-mission-server/deployments","created_at":"2014-11-07T06:39:02Z","updated_at":"2016-06-11T09:09:56Z","pushed_at":"2016-07-20T16:35:24Z","git_url":"git://github.com/e-mission/e-mission-server.git","ssh_url":"git@github.com:e-mission/e-mission-server.git","clone_url":"https://github.com/e-mission/e-mission-server.git","svn_url":"https://github.com/e-mission/e-mission-server","homepage":"https://e-mission.eecs.berkeley.edu","size":93035,"stargazers_count":2,"watchers_count":2,"language":"Jupyter Notebook","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":58,"forks":29,"open_issues":58,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/e-mission/e-mission-server/pulls/324"},"html":{"href":"https://github.com/e-mission/e-mission-server/pull/324"},"issue":{"href":"https://api.github.com/repos/e-mission/e-mission-server/issues/324"},"comments":{"href":"https://api.github.com/repos/e-mission/e-mission-server/issues/324/comments"},"review_comments":{"href":"https://api.github.com/repos/e-mission/e-mission-server/pulls/324/comments"},"review_comment":{"href":"https://api.github.com/repos/e-mission/e-mission-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/e-mission/e-mission-server/pulls/324/commits"},"statuses":{"href":"https://api.github.com/repos/e-mission/e-mission-server/statuses/8263339e3dbc903f5b213b57f0ec9961d1caea90"}}}}
{"actor":{"display_login":"shankari"}}