{"action":"created","comment":{"url":"https://api.github.com/repos/talis/tripod-php/pulls/comments/23457365","id":23457365,"diff_hunk":"@@ -38,7 +38,7 @@ function generateTables($id, $tableId,$dbName)\n \n if ($argc!=3 && $argc!=4 && $argc!=5)\n {\n-    echo \"usage: ./createTables.php tripodConfig.json dbName [tableId] [_id]\\n\";\n+    echo \"usage: ./createTables.php tripodConfig.json storeName [tableId] [_id]\\n\";","path":"scripts/mongo/createTables.php","position":26,"original_position":26,"commit_id":"d2611ee75029d42c883b2b0edcf271a94013bf79","original_commit_id":"d2611ee75029d42c883b2b0edcf271a94013bf79","user":{"login":"lordtatty","id":4324985,"avatar_url":"https://avatars.githubusercontent.com/u/4324985?v=3","gravatar_id":"","url":"https://api.github.com/users/lordtatty","html_url":"https://github.com/lordtatty","followers_url":"https://api.github.com/users/lordtatty/followers","following_url":"https://api.github.com/users/lordtatty/following{/other_user}","gists_url":"https://api.github.com/users/lordtatty/gists{/gist_id}","starred_url":"https://api.github.com/users/lordtatty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordtatty/subscriptions","organizations_url":"https://api.github.com/users/lordtatty/orgs","repos_url":"https://api.github.com/users/lordtatty/repos","events_url":"https://api.github.com/users/lordtatty/events{/privacy}","received_events_url":"https://api.github.com/users/lordtatty/received_events","type":"User","site_admin":false},"body":"How do you feel about dragging this (and createViews.php) script into the modern world with getopts?  I understand if you don't want to complicated this PR though.","created_at":"2015-01-23T15:45:08Z","updated_at":"2015-01-23T15:45:08Z","html_url":"https://github.com/talis/tripod-php/pull/33#discussion_r23457365","pull_request_url":"https://api.github.com/repos/talis/tripod-php/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/talis/tripod-php/pulls/comments/23457365"},"html":{"href":"https://github.com/talis/tripod-php/pull/33#discussion_r23457365"},"pull_request":{"href":"https://api.github.com/repos/talis/tripod-php/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/talis/tripod-php/pulls/33","id":24935487,"html_url":"https://github.com/talis/tripod-php/pull/33","diff_url":"https://github.com/talis/tripod-php/pull/33.diff","patch_url":"https://github.com/talis/tripod-php/pull/33.patch","issue_url":"https://api.github.com/repos/talis/tripod-php/issues/33","number":33,"state":"open","locked":false,"title":"50%: Multiple datasources","user":{"login":"rsinger","id":72548,"avatar_url":"https://avatars.githubusercontent.com/u/72548?v=3","gravatar_id":"","url":"https://api.github.com/users/rsinger","html_url":"https://github.com/rsinger","followers_url":"https://api.github.com/users/rsinger/followers","following_url":"https://api.github.com/users/rsinger/following{/other_user}","gists_url":"https://api.github.com/users/rsinger/gists{/gist_id}","starred_url":"https://api.github.com/users/rsinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsinger/subscriptions","organizations_url":"https://api.github.com/users/rsinger/orgs","repos_url":"https://api.github.com/users/rsinger/repos","events_url":"https://api.github.com/users/rsinger/events{/privacy}","received_events_url":"https://api.github.com/users/rsinger/received_events","type":"User","site_admin":false},"body":"This PR replaces #27: it's more of a drop-in replacement for the current MongoTripod (although the configuration and signature for most delegates has changed).  \r\n\r\nThere are some semantic changes to Tripod concepts: instead of \"databases\" it internally refers to them as \"groups\" and it replaces \"collections\" with \"pods\".  This is an effort to detach the Tripod concepts from any particular database concept.\r\n\r\nSome unit tests are still needed, but I think this is ready for some vetting.","created_at":"2014-11-24T14:31:15Z","updated_at":"2015-01-23T15:45:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b0bb8d6d6d8277f5e7a4562f13d3fd643495c654","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/talis/tripod-php/pulls/33/commits","review_comments_url":"https://api.github.com/repos/talis/tripod-php/pulls/33/comments","review_comment_url":"https://api.github.com/repos/talis/tripod-php/pulls/comments/{number}","comments_url":"https://api.github.com/repos/talis/tripod-php/issues/33/comments","statuses_url":"https://api.github.com/repos/talis/tripod-php/statuses/d2611ee75029d42c883b2b0edcf271a94013bf79","head":{"label":"talis:multiple-datasources","ref":"multiple-datasources","sha":"d2611ee75029d42c883b2b0edcf271a94013bf79","user":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"repo":{"id":17243040,"name":"tripod-php","full_name":"talis/tripod-php","owner":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/talis/tripod-php","description":"Object Graph Mapper for managing RDF data in Mongo","fork":false,"url":"https://api.github.com/repos/talis/tripod-php","forks_url":"https://api.github.com/repos/talis/tripod-php/forks","keys_url":"https://api.github.com/repos/talis/tripod-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/talis/tripod-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/talis/tripod-php/teams","hooks_url":"https://api.github.com/repos/talis/tripod-php/hooks","issue_events_url":"https://api.github.com/repos/talis/tripod-php/issues/events{/number}","events_url":"https://api.github.com/repos/talis/tripod-php/events","assignees_url":"https://api.github.com/repos/talis/tripod-php/assignees{/user}","branches_url":"https://api.github.com/repos/talis/tripod-php/branches{/branch}","tags_url":"https://api.github.com/repos/talis/tripod-php/tags","blobs_url":"https://api.github.com/repos/talis/tripod-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/talis/tripod-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/talis/tripod-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/talis/tripod-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/talis/tripod-php/statuses/{sha}","languages_url":"https://api.github.com/repos/talis/tripod-php/languages","stargazers_url":"https://api.github.com/repos/talis/tripod-php/stargazers","contributors_url":"https://api.github.com/repos/talis/tripod-php/contributors","subscribers_url":"https://api.github.com/repos/talis/tripod-php/subscribers","subscription_url":"https://api.github.com/repos/talis/tripod-php/subscription","commits_url":"https://api.github.com/repos/talis/tripod-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/talis/tripod-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/talis/tripod-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/talis/tripod-php/issues/comments/{number}","contents_url":"https://api.github.com/repos/talis/tripod-php/contents/{+path}","compare_url":"https://api.github.com/repos/talis/tripod-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/talis/tripod-php/merges","archive_url":"https://api.github.com/repos/talis/tripod-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/talis/tripod-php/downloads","issues_url":"https://api.github.com/repos/talis/tripod-php/issues{/number}","pulls_url":"https://api.github.com/repos/talis/tripod-php/pulls{/number}","milestones_url":"https://api.github.com/repos/talis/tripod-php/milestones{/number}","notifications_url":"https://api.github.com/repos/talis/tripod-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/talis/tripod-php/labels{/name}","releases_url":"https://api.github.com/repos/talis/tripod-php/releases{/id}","created_at":"2014-02-27T09:09:51Z","updated_at":"2015-01-21T05:09:27Z","pushed_at":"2015-01-23T10:27:05Z","git_url":"git://github.com/talis/tripod-php.git","ssh_url":"git@github.com:talis/tripod-php.git","clone_url":"https://github.com/talis/tripod-php.git","svn_url":"https://github.com/talis/tripod-php","homepage":"","size":1596,"stargazers_count":17,"watchers_count":17,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":12,"forks":1,"open_issues":12,"watchers":17,"default_branch":"master"}},"base":{"label":"talis:master","ref":"master","sha":"402e18595671adfc75c4d7395d2fd38218beecee","user":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"repo":{"id":17243040,"name":"tripod-php","full_name":"talis/tripod-php","owner":{"login":"talis","id":181416,"avatar_url":"https://avatars.githubusercontent.com/u/181416?v=3","gravatar_id":"","url":"https://api.github.com/users/talis","html_url":"https://github.com/talis","followers_url":"https://api.github.com/users/talis/followers","following_url":"https://api.github.com/users/talis/following{/other_user}","gists_url":"https://api.github.com/users/talis/gists{/gist_id}","starred_url":"https://api.github.com/users/talis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talis/subscriptions","organizations_url":"https://api.github.com/users/talis/orgs","repos_url":"https://api.github.com/users/talis/repos","events_url":"https://api.github.com/users/talis/events{/privacy}","received_events_url":"https://api.github.com/users/talis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/talis/tripod-php","description":"Object Graph Mapper for managing RDF data in Mongo","fork":false,"url":"https://api.github.com/repos/talis/tripod-php","forks_url":"https://api.github.com/repos/talis/tripod-php/forks","keys_url":"https://api.github.com/repos/talis/tripod-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/talis/tripod-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/talis/tripod-php/teams","hooks_url":"https://api.github.com/repos/talis/tripod-php/hooks","issue_events_url":"https://api.github.com/repos/talis/tripod-php/issues/events{/number}","events_url":"https://api.github.com/repos/talis/tripod-php/events","assignees_url":"https://api.github.com/repos/talis/tripod-php/assignees{/user}","branches_url":"https://api.github.com/repos/talis/tripod-php/branches{/branch}","tags_url":"https://api.github.com/repos/talis/tripod-php/tags","blobs_url":"https://api.github.com/repos/talis/tripod-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/talis/tripod-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/talis/tripod-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/talis/tripod-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/talis/tripod-php/statuses/{sha}","languages_url":"https://api.github.com/repos/talis/tripod-php/languages","stargazers_url":"https://api.github.com/repos/talis/tripod-php/stargazers","contributors_url":"https://api.github.com/repos/talis/tripod-php/contributors","subscribers_url":"https://api.github.com/repos/talis/tripod-php/subscribers","subscription_url":"https://api.github.com/repos/talis/tripod-php/subscription","commits_url":"https://api.github.com/repos/talis/tripod-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/talis/tripod-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/talis/tripod-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/talis/tripod-php/issues/comments/{number}","contents_url":"https://api.github.com/repos/talis/tripod-php/contents/{+path}","compare_url":"https://api.github.com/repos/talis/tripod-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/talis/tripod-php/merges","archive_url":"https://api.github.com/repos/talis/tripod-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/talis/tripod-php/downloads","issues_url":"https://api.github.com/repos/talis/tripod-php/issues{/number}","pulls_url":"https://api.github.com/repos/talis/tripod-php/pulls{/number}","milestones_url":"https://api.github.com/repos/talis/tripod-php/milestones{/number}","notifications_url":"https://api.github.com/repos/talis/tripod-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/talis/tripod-php/labels{/name}","releases_url":"https://api.github.com/repos/talis/tripod-php/releases{/id}","created_at":"2014-02-27T09:09:51Z","updated_at":"2015-01-21T05:09:27Z","pushed_at":"2015-01-23T10:27:05Z","git_url":"git://github.com/talis/tripod-php.git","ssh_url":"git@github.com:talis/tripod-php.git","clone_url":"https://github.com/talis/tripod-php.git","svn_url":"https://github.com/talis/tripod-php","homepage":"","size":1596,"stargazers_count":17,"watchers_count":17,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":12,"forks":1,"open_issues":12,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/talis/tripod-php/pulls/33"},"html":{"href":"https://github.com/talis/tripod-php/pull/33"},"issue":{"href":"https://api.github.com/repos/talis/tripod-php/issues/33"},"comments":{"href":"https://api.github.com/repos/talis/tripod-php/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/talis/tripod-php/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/talis/tripod-php/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/talis/tripod-php/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/talis/tripod-php/statuses/d2611ee75029d42c883b2b0edcf271a94013bf79"}}}}