{"action":"created","comment":{"url":"https://api.github.com/repos/paivaspol/EECS591/pulls/comments/27743907","id":27743907,"diff_hunk":"@@ -72,6 +72,11 @@ def get_all_server_without_port(self, local):\n             retval.append(result[0].split(':')[0])\n         return retval\n \n+    def get_file_list_on_server(self, server):\n+        self.cursor.execute('SELECT DISTINCE uuid FROM FileMap WHERE server == ?',","path":"metadata_manager.py","position":5,"original_position":5,"commit_id":"fcc24e2455a8b40edbbd6af2ab03ed8b569c8a55","original_commit_id":"fcc24e2455a8b40edbbd6af2ab03ed8b569c8a55","user":{"login":"codingjaguar","id":7064054,"avatar_url":"https://avatars.githubusercontent.com/u/7064054?v=3","gravatar_id":"","url":"https://api.github.com/users/codingjaguar","html_url":"https://github.com/codingjaguar","followers_url":"https://api.github.com/users/codingjaguar/followers","following_url":"https://api.github.com/users/codingjaguar/following{/other_user}","gists_url":"https://api.github.com/users/codingjaguar/gists{/gist_id}","starred_url":"https://api.github.com/users/codingjaguar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codingjaguar/subscriptions","organizations_url":"https://api.github.com/users/codingjaguar/orgs","repos_url":"https://api.github.com/users/codingjaguar/repos","events_url":"https://api.github.com/users/codingjaguar/events{/privacy}","received_events_url":"https://api.github.com/users/codingjaguar/received_events","type":"User","site_admin":false},"body":"fixed.","created_at":"2015-04-03T17:55:54Z","updated_at":"2015-04-03T17:55:54Z","html_url":"https://github.com/paivaspol/EECS591/pull/45#discussion_r27743907","pull_request_url":"https://api.github.com/repos/paivaspol/EECS591/pulls/45","_links":{"self":{"href":"https://api.github.com/repos/paivaspol/EECS591/pulls/comments/27743907"},"html":{"href":"https://github.com/paivaspol/EECS591/pull/45#discussion_r27743907"},"pull_request":{"href":"https://api.github.com/repos/paivaspol/EECS591/pulls/45"}}},"pull_request":{"url":"https://api.github.com/repos/paivaspol/EECS591/pulls/45","id":31879636,"html_url":"https://github.com/paivaspol/EECS591/pull/45","diff_url":"https://github.com/paivaspol/EECS591/pull/45.diff","patch_url":"https://github.com/paivaspol/EECS591/pull/45.patch","issue_url":"https://api.github.com/repos/paivaspol/EECS591/issues/45","number":45,"state":"open","locked":false,"title":"Jiang improve greedy algo","user":{"login":"codingjaguar","id":7064054,"avatar_url":"https://avatars.githubusercontent.com/u/7064054?v=3","gravatar_id":"","url":"https://api.github.com/users/codingjaguar","html_url":"https://github.com/codingjaguar","followers_url":"https://api.github.com/users/codingjaguar/followers","following_url":"https://api.github.com/users/codingjaguar/following{/other_user}","gists_url":"https://api.github.com/users/codingjaguar/gists{/gist_id}","starred_url":"https://api.github.com/users/codingjaguar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codingjaguar/subscriptions","organizations_url":"https://api.github.com/users/codingjaguar/orgs","repos_url":"https://api.github.com/users/codingjaguar/repos","events_url":"https://api.github.com/users/codingjaguar/events{/privacy}","received_events_url":"https://api.github.com/users/codingjaguar/received_events","type":"User","site_admin":false},"body":"Working version of greedy algo. I can tell there is still bug in it though... I'm adding that to issues.","created_at":"2015-03-24T23:13:25Z","updated_at":"2015-04-03T17:55:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"22cdbfe86dc5d8143e8100b6d26e5aa2d1383f42","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/paivaspol/EECS591/pulls/45/commits","review_comments_url":"https://api.github.com/repos/paivaspol/EECS591/pulls/45/comments","review_comment_url":"https://api.github.com/repos/paivaspol/EECS591/pulls/comments{/number}","comments_url":"https://api.github.com/repos/paivaspol/EECS591/issues/45/comments","statuses_url":"https://api.github.com/repos/paivaspol/EECS591/statuses/fcc24e2455a8b40edbbd6af2ab03ed8b569c8a55","head":{"label":"paivaspol:jiang-improve-greedy-algo","ref":"jiang-improve-greedy-algo","sha":"fcc24e2455a8b40edbbd6af2ab03ed8b569c8a55","user":{"login":"paivaspol","id":1900571,"avatar_url":"https://avatars.githubusercontent.com/u/1900571?v=3","gravatar_id":"","url":"https://api.github.com/users/paivaspol","html_url":"https://github.com/paivaspol","followers_url":"https://api.github.com/users/paivaspol/followers","following_url":"https://api.github.com/users/paivaspol/following{/other_user}","gists_url":"https://api.github.com/users/paivaspol/gists{/gist_id}","starred_url":"https://api.github.com/users/paivaspol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paivaspol/subscriptions","organizations_url":"https://api.github.com/users/paivaspol/orgs","repos_url":"https://api.github.com/users/paivaspol/repos","events_url":"https://api.github.com/users/paivaspol/events{/privacy}","received_events_url":"https://api.github.com/users/paivaspol/received_events","type":"User","site_admin":false},"repo":{"id":30712865,"name":"EECS591","full_name":"paivaspol/EECS591","owner":{"login":"paivaspol","id":1900571,"avatar_url":"https://avatars.githubusercontent.com/u/1900571?v=3","gravatar_id":"","url":"https://api.github.com/users/paivaspol","html_url":"https://github.com/paivaspol","followers_url":"https://api.github.com/users/paivaspol/followers","following_url":"https://api.github.com/users/paivaspol/following{/other_user}","gists_url":"https://api.github.com/users/paivaspol/gists{/gist_id}","starred_url":"https://api.github.com/users/paivaspol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paivaspol/subscriptions","organizations_url":"https://api.github.com/users/paivaspol/orgs","repos_url":"https://api.github.com/users/paivaspol/repos","events_url":"https://api.github.com/users/paivaspol/events{/privacy}","received_events_url":"https://api.github.com/users/paivaspol/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paivaspol/EECS591","description":"The repository contains the source for EECS 591 (Distributed Systems) Class Project","fork":false,"url":"https://api.github.com/repos/paivaspol/EECS591","forks_url":"https://api.github.com/repos/paivaspol/EECS591/forks","keys_url":"https://api.github.com/repos/paivaspol/EECS591/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paivaspol/EECS591/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paivaspol/EECS591/teams","hooks_url":"https://api.github.com/repos/paivaspol/EECS591/hooks","issue_events_url":"https://api.github.com/repos/paivaspol/EECS591/issues/events{/number}","events_url":"https://api.github.com/repos/paivaspol/EECS591/events","assignees_url":"https://api.github.com/repos/paivaspol/EECS591/assignees{/user}","branches_url":"https://api.github.com/repos/paivaspol/EECS591/branches{/branch}","tags_url":"https://api.github.com/repos/paivaspol/EECS591/tags","blobs_url":"https://api.github.com/repos/paivaspol/EECS591/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paivaspol/EECS591/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paivaspol/EECS591/git/refs{/sha}","trees_url":"https://api.github.com/repos/paivaspol/EECS591/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paivaspol/EECS591/statuses/{sha}","languages_url":"https://api.github.com/repos/paivaspol/EECS591/languages","stargazers_url":"https://api.github.com/repos/paivaspol/EECS591/stargazers","contributors_url":"https://api.github.com/repos/paivaspol/EECS591/contributors","subscribers_url":"https://api.github.com/repos/paivaspol/EECS591/subscribers","subscription_url":"https://api.github.com/repos/paivaspol/EECS591/subscription","commits_url":"https://api.github.com/repos/paivaspol/EECS591/commits{/sha}","git_commits_url":"https://api.github.com/repos/paivaspol/EECS591/git/commits{/sha}","comments_url":"https://api.github.com/repos/paivaspol/EECS591/comments{/number}","issue_comment_url":"https://api.github.com/repos/paivaspol/EECS591/issues/comments{/number}","contents_url":"https://api.github.com/repos/paivaspol/EECS591/contents/{+path}","compare_url":"https://api.github.com/repos/paivaspol/EECS591/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paivaspol/EECS591/merges","archive_url":"https://api.github.com/repos/paivaspol/EECS591/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paivaspol/EECS591/downloads","issues_url":"https://api.github.com/repos/paivaspol/EECS591/issues{/number}","pulls_url":"https://api.github.com/repos/paivaspol/EECS591/pulls{/number}","milestones_url":"https://api.github.com/repos/paivaspol/EECS591/milestones{/number}","notifications_url":"https://api.github.com/repos/paivaspol/EECS591/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paivaspol/EECS591/labels{/name}","releases_url":"https://api.github.com/repos/paivaspol/EECS591/releases{/id}","created_at":"2015-02-12T16:55:15Z","updated_at":"2015-03-31T17:04:05Z","pushed_at":"2015-04-03T17:50:47Z","git_url":"git://github.com/paivaspol/EECS591.git","ssh_url":"git@github.com:paivaspol/EECS591.git","clone_url":"https://github.com/paivaspol/EECS591.git","svn_url":"https://github.com/paivaspol/EECS591","homepage":null,"size":1570,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":11,"forks":1,"open_issues":11,"watchers":0,"default_branch":"master"}},"base":{"label":"paivaspol:master","ref":"master","sha":"6b0c644ee66f6c27c355d9aee6f736362796c40e","user":{"login":"paivaspol","id":1900571,"avatar_url":"https://avatars.githubusercontent.com/u/1900571?v=3","gravatar_id":"","url":"https://api.github.com/users/paivaspol","html_url":"https://github.com/paivaspol","followers_url":"https://api.github.com/users/paivaspol/followers","following_url":"https://api.github.com/users/paivaspol/following{/other_user}","gists_url":"https://api.github.com/users/paivaspol/gists{/gist_id}","starred_url":"https://api.github.com/users/paivaspol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paivaspol/subscriptions","organizations_url":"https://api.github.com/users/paivaspol/orgs","repos_url":"https://api.github.com/users/paivaspol/repos","events_url":"https://api.github.com/users/paivaspol/events{/privacy}","received_events_url":"https://api.github.com/users/paivaspol/received_events","type":"User","site_admin":false},"repo":{"id":30712865,"name":"EECS591","full_name":"paivaspol/EECS591","owner":{"login":"paivaspol","id":1900571,"avatar_url":"https://avatars.githubusercontent.com/u/1900571?v=3","gravatar_id":"","url":"https://api.github.com/users/paivaspol","html_url":"https://github.com/paivaspol","followers_url":"https://api.github.com/users/paivaspol/followers","following_url":"https://api.github.com/users/paivaspol/following{/other_user}","gists_url":"https://api.github.com/users/paivaspol/gists{/gist_id}","starred_url":"https://api.github.com/users/paivaspol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paivaspol/subscriptions","organizations_url":"https://api.github.com/users/paivaspol/orgs","repos_url":"https://api.github.com/users/paivaspol/repos","events_url":"https://api.github.com/users/paivaspol/events{/privacy}","received_events_url":"https://api.github.com/users/paivaspol/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paivaspol/EECS591","description":"The repository contains the source for EECS 591 (Distributed Systems) Class Project","fork":false,"url":"https://api.github.com/repos/paivaspol/EECS591","forks_url":"https://api.github.com/repos/paivaspol/EECS591/forks","keys_url":"https://api.github.com/repos/paivaspol/EECS591/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paivaspol/EECS591/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paivaspol/EECS591/teams","hooks_url":"https://api.github.com/repos/paivaspol/EECS591/hooks","issue_events_url":"https://api.github.com/repos/paivaspol/EECS591/issues/events{/number}","events_url":"https://api.github.com/repos/paivaspol/EECS591/events","assignees_url":"https://api.github.com/repos/paivaspol/EECS591/assignees{/user}","branches_url":"https://api.github.com/repos/paivaspol/EECS591/branches{/branch}","tags_url":"https://api.github.com/repos/paivaspol/EECS591/tags","blobs_url":"https://api.github.com/repos/paivaspol/EECS591/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paivaspol/EECS591/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paivaspol/EECS591/git/refs{/sha}","trees_url":"https://api.github.com/repos/paivaspol/EECS591/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paivaspol/EECS591/statuses/{sha}","languages_url":"https://api.github.com/repos/paivaspol/EECS591/languages","stargazers_url":"https://api.github.com/repos/paivaspol/EECS591/stargazers","contributors_url":"https://api.github.com/repos/paivaspol/EECS591/contributors","subscribers_url":"https://api.github.com/repos/paivaspol/EECS591/subscribers","subscription_url":"https://api.github.com/repos/paivaspol/EECS591/subscription","commits_url":"https://api.github.com/repos/paivaspol/EECS591/commits{/sha}","git_commits_url":"https://api.github.com/repos/paivaspol/EECS591/git/commits{/sha}","comments_url":"https://api.github.com/repos/paivaspol/EECS591/comments{/number}","issue_comment_url":"https://api.github.com/repos/paivaspol/EECS591/issues/comments{/number}","contents_url":"https://api.github.com/repos/paivaspol/EECS591/contents/{+path}","compare_url":"https://api.github.com/repos/paivaspol/EECS591/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paivaspol/EECS591/merges","archive_url":"https://api.github.com/repos/paivaspol/EECS591/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paivaspol/EECS591/downloads","issues_url":"https://api.github.com/repos/paivaspol/EECS591/issues{/number}","pulls_url":"https://api.github.com/repos/paivaspol/EECS591/pulls{/number}","milestones_url":"https://api.github.com/repos/paivaspol/EECS591/milestones{/number}","notifications_url":"https://api.github.com/repos/paivaspol/EECS591/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paivaspol/EECS591/labels{/name}","releases_url":"https://api.github.com/repos/paivaspol/EECS591/releases{/id}","created_at":"2015-02-12T16:55:15Z","updated_at":"2015-03-31T17:04:05Z","pushed_at":"2015-04-03T17:50:47Z","git_url":"git://github.com/paivaspol/EECS591.git","ssh_url":"git@github.com:paivaspol/EECS591.git","clone_url":"https://github.com/paivaspol/EECS591.git","svn_url":"https://github.com/paivaspol/EECS591","homepage":null,"size":1570,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":11,"forks":1,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/paivaspol/EECS591/pulls/45"},"html":{"href":"https://github.com/paivaspol/EECS591/pull/45"},"issue":{"href":"https://api.github.com/repos/paivaspol/EECS591/issues/45"},"comments":{"href":"https://api.github.com/repos/paivaspol/EECS591/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/paivaspol/EECS591/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/paivaspol/EECS591/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/paivaspol/EECS591/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/paivaspol/EECS591/statuses/fcc24e2455a8b40edbbd6af2ab03ed8b569c8a55"}}}}