GitHub PullRequestReviewCommentEvent at 2014-09-27 14:17:25
Repository: phylesystem-api
Actor: jar398
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/pulls/comments/18123829","id":18123829,"diff_hunk":"@@ -54,11 +54,19 @@ def get_phylesystem(request):\n             },\n         }\n     mirror_info = {'push':pmi}\n+    conf = get_conf_object(request)\n+    a = {}\n+    try:\n+        new_study_prefix = conf.get('apis', 'new_study_prefix')\n+        a['new_study_prefix'] = new_study_prefix\n+    except:\n+        pass\n     _PHYLESYSTEM = Phylesystem(repos_par=repo_parent,\n                                git_ssh=git_ssh,\n                                pkey=pkey,\n                                git_action_class=GitData,\n-                               mirror_info=mirror_info)\n+                               mirror_info=mirror_info,\n+                               **a)","path":"modules/api_utils.py","position":17,"original_position":17,"commit_id":"a47985b3739c9aad948dc02854f326f749a4bf39","original_commit_id":"a47985b3739c9aad948dc02854f326f749a4bf39","user":{"login":"jar398","id":2035858,"avatar_url":"https://avatars.githubusercontent.com/u/2035858?v=2","gravatar_id":"","url":"https://api.github.com/users/jar398","html_url":"https://github.com/jar398","followers_url":"https://api.github.com/users/jar398/followers","following_url":"https://api.github.com/users/jar398/following{/other_user}","gists_url":"https://api.github.com/users/jar398/gists{/gist_id}","starred_url":"https://api.github.com/users/jar398/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jar398/subscriptions","organizations_url":"https://api.github.com/users/jar398/orgs","repos_url":"https://api.github.com/users/jar398/repos","events_url":"https://api.github.com/users/jar398/events{/privacy}","received_events_url":"https://api.github.com/users/jar398/received_events","type":"User","site_admin":false},"body":"cool, what does '**' mean in python?","created_at":"2014-09-27T14:17:25Z","updated_at":"2014-09-27T14:17:25Z","html_url":"https://github.com/OpenTreeOfLife/phylesystem-api/pull/120#discussion_r18123829","pull_request_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/pulls/120","_links":{"self":{"href":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/pulls/comments/18123829"},"html":{"href":"https://github.com/OpenTreeOfLife/phylesystem-api/pull/120#discussion_r18123829"},"pull_request":{"href":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/pulls/120"}}},"pull_request":{"url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/pulls/120","id":21764345,"html_url":"https://github.com/OpenTreeOfLife/phylesystem-api/pull/120","diff_url":"https://github.com/OpenTreeOfLife/phylesystem-api/pull/120.diff","patch_url":"https://github.com/OpenTreeOfLife/phylesystem-api/pull/120.patch","issue_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/issues/120","number":120,"state":"open","locked":false,"title":"Configurable pref","user":{"login":"mtholder","id":136067,"avatar_url":"https://avatars.githubusercontent.com/u/136067?v=2","gravatar_id":"","url":"https://api.github.com/users/mtholder","html_url":"https://github.com/mtholder","followers_url":"https://api.github.com/users/mtholder/followers","following_url":"https://api.github.com/users/mtholder/following{/other_user}","gists_url":"https://api.github.com/users/mtholder/gists{/gist_id}","starred_url":"https://api.github.com/users/mtholder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtholder/subscriptions","organizations_url":"https://api.github.com/users/mtholder/orgs","repos_url":"https://api.github.com/users/mtholder/repos","events_url":"https://api.github.com/users/mtholder/events{/privacy}","received_events_url":"https://api.github.com/users/mtholder/received_events","type":"User","site_admin":false},"body":"requires https://github.com/OpenTreeOfLife/peyotl/pull/33\r\nallows config dependent specification of a new study prefix, but that config line is commented out, because the repo now has a new_study_prefix file in it.","created_at":"2014-09-25T06:59:09Z","updated_at":"2014-09-27T14:17:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9b6ec228f8615629cafca8df0f8cde8aed2d564b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/pulls/120/commits","review_comments_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/pulls/120/comments","review_comment_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/pulls/comments/{number}","comments_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/issues/120/comments","statuses_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/statuses/a47985b3739c9aad948dc02854f326f749a4bf39","head":{"label":"OpenTreeOfLife:configurable-pref","ref":"configurable-pref","sha":"a47985b3739c9aad948dc02854f326f749a4bf39","user":{"login":"OpenTreeOfLife","id":1752618,"avatar_url":"https://avatars.githubusercontent.com/u/1752618?v=2","gravatar_id":"","url":"https://api.github.com/users/OpenTreeOfLife","html_url":"https://github.com/OpenTreeOfLife","followers_url":"https://api.github.com/users/OpenTreeOfLife/followers","following_url":"https://api.github.com/users/OpenTreeOfLife/following{/other_user}","gists_url":"https://api.github.com/users/OpenTreeOfLife/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenTreeOfLife/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenTreeOfLife/subscriptions","organizations_url":"https://api.github.com/users/OpenTreeOfLife/orgs","repos_url":"https://api.github.com/users/OpenTreeOfLife/repos","events_url":"https://api.github.com/users/OpenTreeOfLife/events{/privacy}","received_events_url":"https://api.github.com/users/OpenTreeOfLife/received_events","type":"Organization","site_admin":false},"repo":{"id":12820165,"name":"phylesystem-api","full_name":"OpenTreeOfLife/phylesystem-api","owner":{"login":"OpenTreeOfLife","id":1752618,"avatar_url":"https://avatars.githubusercontent.com/u/1752618?v=2","gravatar_id":"","url":"https://api.github.com/users/OpenTreeOfLife","html_url":"https://github.com/OpenTreeOfLife","followers_url":"https://api.github.com/users/OpenTreeOfLife/followers","following_url":"https://api.github.com/users/OpenTreeOfLife/following{/other_user}","gists_url":"https://api.github.com/users/OpenTreeOfLife/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenTreeOfLife/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenTreeOfLife/subscriptions","organizations_url":"https://api.github.com/users/OpenTreeOfLife/orgs","repos_url":"https://api.github.com/users/OpenTreeOfLife/repos","events_url":"https://api.github.com/users/OpenTreeOfLife/events{/privacy}","received_events_url":"https://api.github.com/users/OpenTreeOfLife/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenTreeOfLife/phylesystem-api","description":"API access to Open Tree of Life treestore","fork":false,"url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api","forks_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/forks","keys_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/teams","hooks_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/hooks","issue_events_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/issues/events{/number}","events_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/events","assignees_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/assignees{/user}","branches_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/branches{/branch}","tags_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/tags","blobs_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/languages","stargazers_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/stargazers","contributors_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/contributors","subscribers_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/subscribers","subscription_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/subscription","commits_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/issues/comments/{number}","contents_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/contents/{+path}","compare_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/merges","archive_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/downloads","issues_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/issues{/number}","pulls_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/labels{/name}","releases_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/releases{/id}","created_at":"2013-09-13T21:55:27Z","updated_at":"2014-09-10T11:41:25Z","pushed_at":"2014-09-27T14:15:14Z","git_url":"git://github.com/OpenTreeOfLife/phylesystem-api.git","ssh_url":"git@github.com:OpenTreeOfLife/phylesystem-api.git","clone_url":"https://github.com/OpenTreeOfLife/phylesystem-api.git","svn_url":"https://github.com/OpenTreeOfLife/phylesystem-api","homepage":"","size":40414,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":18,"forks":1,"open_issues":18,"watchers":2,"default_branch":"master"}},"base":{"label":"OpenTreeOfLife:master","ref":"master","sha":"ae076b7d99b228bd89a189f88905b2010019e0cc","user":{"login":"OpenTreeOfLife","id":1752618,"avatar_url":"https://avatars.githubusercontent.com/u/1752618?v=2","gravatar_id":"","url":"https://api.github.com/users/OpenTreeOfLife","html_url":"https://github.com/OpenTreeOfLife","followers_url":"https://api.github.com/users/OpenTreeOfLife/followers","following_url":"https://api.github.com/users/OpenTreeOfLife/following{/other_user}","gists_url":"https://api.github.com/users/OpenTreeOfLife/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenTreeOfLife/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenTreeOfLife/subscriptions","organizations_url":"https://api.github.com/users/OpenTreeOfLife/orgs","repos_url":"https://api.github.com/users/OpenTreeOfLife/repos","events_url":"https://api.github.com/users/OpenTreeOfLife/events{/privacy}","received_events_url":"https://api.github.com/users/OpenTreeOfLife/received_events","type":"Organization","site_admin":false},"repo":{"id":12820165,"name":"phylesystem-api","full_name":"OpenTreeOfLife/phylesystem-api","owner":{"login":"OpenTreeOfLife","id":1752618,"avatar_url":"https://avatars.githubusercontent.com/u/1752618?v=2","gravatar_id":"","url":"https://api.github.com/users/OpenTreeOfLife","html_url":"https://github.com/OpenTreeOfLife","followers_url":"https://api.github.com/users/OpenTreeOfLife/followers","following_url":"https://api.github.com/users/OpenTreeOfLife/following{/other_user}","gists_url":"https://api.github.com/users/OpenTreeOfLife/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenTreeOfLife/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenTreeOfLife/subscriptions","organizations_url":"https://api.github.com/users/OpenTreeOfLife/orgs","repos_url":"https://api.github.com/users/OpenTreeOfLife/repos","events_url":"https://api.github.com/users/OpenTreeOfLife/events{/privacy}","received_events_url":"https://api.github.com/users/OpenTreeOfLife/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenTreeOfLife/phylesystem-api","description":"API access to Open Tree of Life treestore","fork":false,"url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api","forks_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/forks","keys_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/teams","hooks_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/hooks","issue_events_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/issues/events{/number}","events_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/events","assignees_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/assignees{/user}","branches_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/branches{/branch}","tags_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/tags","blobs_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/languages","stargazers_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/stargazers","contributors_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/contributors","subscribers_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/subscribers","subscription_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/subscription","commits_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/issues/comments/{number}","contents_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/contents/{+path}","compare_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/merges","archive_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/downloads","issues_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/issues{/number}","pulls_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/labels{/name}","releases_url":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/releases{/id}","created_at":"2013-09-13T21:55:27Z","updated_at":"2014-09-10T11:41:25Z","pushed_at":"2014-09-27T14:15:14Z","git_url":"git://github.com/OpenTreeOfLife/phylesystem-api.git","ssh_url":"git@github.com:OpenTreeOfLife/phylesystem-api.git","clone_url":"https://github.com/OpenTreeOfLife/phylesystem-api.git","svn_url":"https://github.com/OpenTreeOfLife/phylesystem-api","homepage":"","size":40414,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":18,"forks":1,"open_issues":18,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/pulls/120"},"html":{"href":"https://github.com/OpenTreeOfLife/phylesystem-api/pull/120"},"issue":{"href":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/issues/120"},"comments":{"href":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/issues/120/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/pulls/120/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/pulls/120/commits"},"statuses":{"href":"https://api.github.com/repos/OpenTreeOfLife/phylesystem-api/statuses/a47985b3739c9aad948dc02854f326f749a4bf39"}}}}