{"action":"created","comment":{"url":"https://api.github.com/repos/FOSSEE/online_test/pulls/comments/80854298","pull_request_review_id":1877944,"id":80854298,"diff_hunk":"@@ -14,10 +14,17 @@\n from StringIO import StringIO\n import pytz\n import os\n+import stat\n+from os.path import join, abspath, dirname, exists\n import shutil\n import zipfile\n import tempfile\n from file_utils import extract_files\n+from yaksh.xmlrpc_clients import code_server\n+\n+\n+# The directory where user data can be saved.\n+OUTPUT_DIR = abspath(join(dirname(__file__), 'output'))","path":"yaksh/models.py","position":14,"original_position":14,"commit_id":"64bb8507cbfbaf8b4558926a0c3206eb85547ed1","original_commit_id":"64bb8507cbfbaf8b4558926a0c3206eb85547ed1","user":{"login":"prabhuramachandran","id":272585,"avatar_url":"https://avatars.githubusercontent.com/u/272585?v=3","gravatar_id":"","url":"https://api.github.com/users/prabhuramachandran","html_url":"https://github.com/prabhuramachandran","followers_url":"https://api.github.com/users/prabhuramachandran/followers","following_url":"https://api.github.com/users/prabhuramachandran/following{/other_user}","gists_url":"https://api.github.com/users/prabhuramachandran/gists{/gist_id}","starred_url":"https://api.github.com/users/prabhuramachandran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prabhuramachandran/subscriptions","organizations_url":"https://api.github.com/users/prabhuramachandran/orgs","repos_url":"https://api.github.com/users/prabhuramachandran/repos","events_url":"https://api.github.com/users/prabhuramachandran/events{/privacy}","received_events_url":"https://api.github.com/users/prabhuramachandran/received_events","type":"User","site_admin":false},"body":"This is not good, what if yaksh is installed in a non-writeable location.","created_at":"2016-09-28T07:11:32Z","updated_at":"2016-09-28T07:11:32Z","html_url":"https://github.com/FOSSEE/online_test/pull/140#discussion_r80854298","pull_request_url":"https://api.github.com/repos/FOSSEE/online_test/pulls/140","_links":{"self":{"href":"https://api.github.com/repos/FOSSEE/online_test/pulls/comments/80854298"},"html":{"href":"https://github.com/FOSSEE/online_test/pull/140#discussion_r80854298"},"pull_request":{"href":"https://api.github.com/repos/FOSSEE/online_test/pulls/140"}}},"pull_request":{"url":"https://api.github.com/repos/FOSSEE/online_test/pulls/140","id":86470948,"html_url":"https://github.com/FOSSEE/online_test/pull/140","diff_url":"https://github.com/FOSSEE/online_test/pull/140.diff","patch_url":"https://github.com/FOSSEE/online_test/pull/140.patch","issue_url":"https://api.github.com/repos/FOSSEE/online_test/issues/140","number":140,"state":"open","locked":false,"title":"Regrade papers","user":{"login":"prathamesh920","id":3014000,"avatar_url":"https://avatars.githubusercontent.com/u/3014000?v=3","gravatar_id":"","url":"https://api.github.com/users/prathamesh920","html_url":"https://github.com/prathamesh920","followers_url":"https://api.github.com/users/prathamesh920/followers","following_url":"https://api.github.com/users/prathamesh920/following{/other_user}","gists_url":"https://api.github.com/users/prathamesh920/gists{/gist_id}","starred_url":"https://api.github.com/users/prathamesh920/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prathamesh920/subscriptions","organizations_url":"https://api.github.com/users/prathamesh920/orgs","repos_url":"https://api.github.com/users/prathamesh920/repos","events_url":"https://api.github.com/users/prathamesh920/events{/privacy}","received_events_url":"https://api.github.com/users/prathamesh920/received_events","type":"User","site_admin":false},"body":"A question or whole paper can be regraded.\r\nWe can regrade as per user answer paper.\r\n\r\n**In Next PR**\r\nI will be adding more testcases and will clean up the code further.\r\nAlso, will make the UI much better.","created_at":"2016-09-23T08:16:18Z","updated_at":"2016-09-28T07:11:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a9d60c8ef3eaa66b214103a9fd78cb90bc10c65","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/FOSSEE/online_test/pulls/140/commits","review_comments_url":"https://api.github.com/repos/FOSSEE/online_test/pulls/140/comments","review_comment_url":"https://api.github.com/repos/FOSSEE/online_test/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FOSSEE/online_test/issues/140/comments","statuses_url":"https://api.github.com/repos/FOSSEE/online_test/statuses/64bb8507cbfbaf8b4558926a0c3206eb85547ed1","head":{"label":"prathamesh920:regrade_papers","ref":"regrade_papers","sha":"64bb8507cbfbaf8b4558926a0c3206eb85547ed1","user":{"login":"prathamesh920","id":3014000,"avatar_url":"https://avatars.githubusercontent.com/u/3014000?v=3","gravatar_id":"","url":"https://api.github.com/users/prathamesh920","html_url":"https://github.com/prathamesh920","followers_url":"https://api.github.com/users/prathamesh920/followers","following_url":"https://api.github.com/users/prathamesh920/following{/other_user}","gists_url":"https://api.github.com/users/prathamesh920/gists{/gist_id}","starred_url":"https://api.github.com/users/prathamesh920/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prathamesh920/subscriptions","organizations_url":"https://api.github.com/users/prathamesh920/orgs","repos_url":"https://api.github.com/users/prathamesh920/repos","events_url":"https://api.github.com/users/prathamesh920/events{/privacy}","received_events_url":"https://api.github.com/users/prathamesh920/received_events","type":"User","site_admin":false},"repo":{"id":9881493,"name":"online_test","full_name":"prathamesh920/online_test","owner":{"login":"prathamesh920","id":3014000,"avatar_url":"https://avatars.githubusercontent.com/u/3014000?v=3","gravatar_id":"","url":"https://api.github.com/users/prathamesh920","html_url":"https://github.com/prathamesh920","followers_url":"https://api.github.com/users/prathamesh920/followers","following_url":"https://api.github.com/users/prathamesh920/following{/other_user}","gists_url":"https://api.github.com/users/prathamesh920/gists{/gist_id}","starred_url":"https://api.github.com/users/prathamesh920/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prathamesh920/subscriptions","organizations_url":"https://api.github.com/users/prathamesh920/orgs","repos_url":"https://api.github.com/users/prathamesh920/repos","events_url":"https://api.github.com/users/prathamesh920/events{/privacy}","received_events_url":"https://api.github.com/users/prathamesh920/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/prathamesh920/online_test","description":"Online quiz/exam taking application","fork":true,"url":"https://api.github.com/repos/prathamesh920/online_test","forks_url":"https://api.github.com/repos/prathamesh920/online_test/forks","keys_url":"https://api.github.com/repos/prathamesh920/online_test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prathamesh920/online_test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prathamesh920/online_test/teams","hooks_url":"https://api.github.com/repos/prathamesh920/online_test/hooks","issue_events_url":"https://api.github.com/repos/prathamesh920/online_test/issues/events{/number}","events_url":"https://api.github.com/repos/prathamesh920/online_test/events","assignees_url":"https://api.github.com/repos/prathamesh920/online_test/assignees{/user}","branches_url":"https://api.github.com/repos/prathamesh920/online_test/branches{/branch}","tags_url":"https://api.github.com/repos/prathamesh920/online_test/tags","blobs_url":"https://api.github.com/repos/prathamesh920/online_test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prathamesh920/online_test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prathamesh920/online_test/git/refs{/sha}","trees_url":"https://api.github.com/repos/prathamesh920/online_test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prathamesh920/online_test/statuses/{sha}","languages_url":"https://api.github.com/repos/prathamesh920/online_test/languages","stargazers_url":"https://api.github.com/repos/prathamesh920/online_test/stargazers","contributors_url":"https://api.github.com/repos/prathamesh920/online_test/contributors","subscribers_url":"https://api.github.com/repos/prathamesh920/online_test/subscribers","subscription_url":"https://api.github.com/repos/prathamesh920/online_test/subscription","commits_url":"https://api.github.com/repos/prathamesh920/online_test/commits{/sha}","git_commits_url":"https://api.github.com/repos/prathamesh920/online_test/git/commits{/sha}","comments_url":"https://api.github.com/repos/prathamesh920/online_test/comments{/number}","issue_comment_url":"https://api.github.com/repos/prathamesh920/online_test/issues/comments{/number}","contents_url":"https://api.github.com/repos/prathamesh920/online_test/contents/{+path}","compare_url":"https://api.github.com/repos/prathamesh920/online_test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prathamesh920/online_test/merges","archive_url":"https://api.github.com/repos/prathamesh920/online_test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prathamesh920/online_test/downloads","issues_url":"https://api.github.com/repos/prathamesh920/online_test/issues{/number}","pulls_url":"https://api.github.com/repos/prathamesh920/online_test/pulls{/number}","milestones_url":"https://api.github.com/repos/prathamesh920/online_test/milestones{/number}","notifications_url":"https://api.github.com/repos/prathamesh920/online_test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prathamesh920/online_test/labels{/name}","releases_url":"https://api.github.com/repos/prathamesh920/online_test/releases{/id}","deployments_url":"https://api.github.com/repos/prathamesh920/online_test/deployments","created_at":"2013-05-06T07:25:21Z","updated_at":"2015-03-31T12:53:05Z","pushed_at":"2016-09-26T07:27:39Z","git_url":"git://github.com/prathamesh920/online_test.git","ssh_url":"git@github.com:prathamesh920/online_test.git","clone_url":"https://github.com/prathamesh920/online_test.git","svn_url":"https://github.com/prathamesh920/online_test","homepage":"","size":5224,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"FOSSEE:master","ref":"master","sha":"8e4ead8ab4caa9366e5357840e1912cbfb8cdb85","user":{"login":"FOSSEE","id":703487,"avatar_url":"https://avatars.githubusercontent.com/u/703487?v=3","gravatar_id":"","url":"https://api.github.com/users/FOSSEE","html_url":"https://github.com/FOSSEE","followers_url":"https://api.github.com/users/FOSSEE/followers","following_url":"https://api.github.com/users/FOSSEE/following{/other_user}","gists_url":"https://api.github.com/users/FOSSEE/gists{/gist_id}","starred_url":"https://api.github.com/users/FOSSEE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FOSSEE/subscriptions","organizations_url":"https://api.github.com/users/FOSSEE/orgs","repos_url":"https://api.github.com/users/FOSSEE/repos","events_url":"https://api.github.com/users/FOSSEE/events{/privacy}","received_events_url":"https://api.github.com/users/FOSSEE/received_events","type":"Organization","site_admin":false},"repo":{"id":2734092,"name":"online_test","full_name":"FOSSEE/online_test","owner":{"login":"FOSSEE","id":703487,"avatar_url":"https://avatars.githubusercontent.com/u/703487?v=3","gravatar_id":"","url":"https://api.github.com/users/FOSSEE","html_url":"https://github.com/FOSSEE","followers_url":"https://api.github.com/users/FOSSEE/followers","following_url":"https://api.github.com/users/FOSSEE/following{/other_user}","gists_url":"https://api.github.com/users/FOSSEE/gists{/gist_id}","starred_url":"https://api.github.com/users/FOSSEE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FOSSEE/subscriptions","organizations_url":"https://api.github.com/users/FOSSEE/orgs","repos_url":"https://api.github.com/users/FOSSEE/repos","events_url":"https://api.github.com/users/FOSSEE/events{/privacy}","received_events_url":"https://api.github.com/users/FOSSEE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FOSSEE/online_test","description":"Online quiz/exam taking application. ","fork":false,"url":"https://api.github.com/repos/FOSSEE/online_test","forks_url":"https://api.github.com/repos/FOSSEE/online_test/forks","keys_url":"https://api.github.com/repos/FOSSEE/online_test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FOSSEE/online_test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FOSSEE/online_test/teams","hooks_url":"https://api.github.com/repos/FOSSEE/online_test/hooks","issue_events_url":"https://api.github.com/repos/FOSSEE/online_test/issues/events{/number}","events_url":"https://api.github.com/repos/FOSSEE/online_test/events","assignees_url":"https://api.github.com/repos/FOSSEE/online_test/assignees{/user}","branches_url":"https://api.github.com/repos/FOSSEE/online_test/branches{/branch}","tags_url":"https://api.github.com/repos/FOSSEE/online_test/tags","blobs_url":"https://api.github.com/repos/FOSSEE/online_test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FOSSEE/online_test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FOSSEE/online_test/git/refs{/sha}","trees_url":"https://api.github.com/repos/FOSSEE/online_test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FOSSEE/online_test/statuses/{sha}","languages_url":"https://api.github.com/repos/FOSSEE/online_test/languages","stargazers_url":"https://api.github.com/repos/FOSSEE/online_test/stargazers","contributors_url":"https://api.github.com/repos/FOSSEE/online_test/contributors","subscribers_url":"https://api.github.com/repos/FOSSEE/online_test/subscribers","subscription_url":"https://api.github.com/repos/FOSSEE/online_test/subscription","commits_url":"https://api.github.com/repos/FOSSEE/online_test/commits{/sha}","git_commits_url":"https://api.github.com/repos/FOSSEE/online_test/git/commits{/sha}","comments_url":"https://api.github.com/repos/FOSSEE/online_test/comments{/number}","issue_comment_url":"https://api.github.com/repos/FOSSEE/online_test/issues/comments{/number}","contents_url":"https://api.github.com/repos/FOSSEE/online_test/contents/{+path}","compare_url":"https://api.github.com/repos/FOSSEE/online_test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FOSSEE/online_test/merges","archive_url":"https://api.github.com/repos/FOSSEE/online_test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FOSSEE/online_test/downloads","issues_url":"https://api.github.com/repos/FOSSEE/online_test/issues{/number}","pulls_url":"https://api.github.com/repos/FOSSEE/online_test/pulls{/number}","milestones_url":"https://api.github.com/repos/FOSSEE/online_test/milestones{/number}","notifications_url":"https://api.github.com/repos/FOSSEE/online_test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FOSSEE/online_test/labels{/name}","releases_url":"https://api.github.com/repos/FOSSEE/online_test/releases{/id}","deployments_url":"https://api.github.com/repos/FOSSEE/online_test/deployments","created_at":"2011-11-08T14:02:17Z","updated_at":"2016-09-04T13:51:52Z","pushed_at":"2016-09-28T07:06:50Z","git_url":"git://github.com/FOSSEE/online_test.git","ssh_url":"git@github.com:FOSSEE/online_test.git","clone_url":"https://github.com/FOSSEE/online_test.git","svn_url":"https://github.com/FOSSEE/online_test","homepage":"http://fossee.in","size":5379,"stargazers_count":29,"watchers_count":29,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":15,"forks":30,"open_issues":15,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FOSSEE/online_test/pulls/140"},"html":{"href":"https://github.com/FOSSEE/online_test/pull/140"},"issue":{"href":"https://api.github.com/repos/FOSSEE/online_test/issues/140"},"comments":{"href":"https://api.github.com/repos/FOSSEE/online_test/issues/140/comments"},"review_comments":{"href":"https://api.github.com/repos/FOSSEE/online_test/pulls/140/comments"},"review_comment":{"href":"https://api.github.com/repos/FOSSEE/online_test/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FOSSEE/online_test/pulls/140/commits"},"statuses":{"href":"https://api.github.com/repos/FOSSEE/online_test/statuses/64bb8507cbfbaf8b4558926a0c3206eb85547ed1"}}}}
{"actor":{"display_login":"prabhuramachandran"}}