{"action":"created","comment":{"url":"https://api.github.com/repos/ripple/rippled-network-crawler/pulls/comments/33984459","id":33984459,"diff_hunk":"@@ -0,0 +1,35 @@\n+'use strict';\n+var Sequelize = require('sequelize');\n+var modelsFactory = require('./lib/models.js');\n+\n+function saveDB(crawlJson, dbUrl, logsql, onDone) {","path":"src/store.js","position":5,"original_position":5,"commit_id":"d1349e721f03d43d28dfef3d73226828ae733dbb","original_commit_id":"d1349e721f03d43d28dfef3d73226828ae733dbb","user":{"login":"wilsonianb","id":5885521,"avatar_url":"https://avatars.githubusercontent.com/u/5885521?v=3","gravatar_id":"","url":"https://api.github.com/users/wilsonianb","html_url":"https://github.com/wilsonianb","followers_url":"https://api.github.com/users/wilsonianb/followers","following_url":"https://api.github.com/users/wilsonianb/following{/other_user}","gists_url":"https://api.github.com/users/wilsonianb/gists{/gist_id}","starred_url":"https://api.github.com/users/wilsonianb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilsonianb/subscriptions","organizations_url":"https://api.github.com/users/wilsonianb/orgs","repos_url":"https://api.github.com/users/wilsonianb/repos","events_url":"https://api.github.com/users/wilsonianb/events{/privacy}","received_events_url":"https://api.github.com/users/wilsonianb/received_events","type":"User","site_admin":false},"body":"Consider returning a `Promise` instead of taking a callback.","created_at":"2015-07-06T21:26:32Z","updated_at":"2015-07-06T21:26:32Z","html_url":"https://github.com/ripple/rippled-network-crawler/pull/17#discussion_r33984459","pull_request_url":"https://api.github.com/repos/ripple/rippled-network-crawler/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/ripple/rippled-network-crawler/pulls/comments/33984459"},"html":{"href":"https://github.com/ripple/rippled-network-crawler/pull/17#discussion_r33984459"},"pull_request":{"href":"https://api.github.com/repos/ripple/rippled-network-crawler/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/ripple/rippled-network-crawler/pulls/17","id":39128919,"html_url":"https://github.com/ripple/rippled-network-crawler/pull/17","diff_url":"https://github.com/ripple/rippled-network-crawler/pull/17.diff","patch_url":"https://github.com/ripple/rippled-network-crawler/pull/17.patch","issue_url":"https://api.github.com/repos/ripple/rippled-network-crawler/issues/17","number":17,"state":"open","locked":false,"title":"Cleanup and CLI","user":{"login":"SourenP","id":3184499,"avatar_url":"https://avatars.githubusercontent.com/u/3184499?v=3","gravatar_id":"","url":"https://api.github.com/users/SourenP","html_url":"https://github.com/SourenP","followers_url":"https://api.github.com/users/SourenP/followers","following_url":"https://api.github.com/users/SourenP/following{/other_user}","gists_url":"https://api.github.com/users/SourenP/gists{/gist_id}","starred_url":"https://api.github.com/users/SourenP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SourenP/subscriptions","organizations_url":"https://api.github.com/users/SourenP/orgs","repos_url":"https://api.github.com/users/SourenP/repos","events_url":"https://api.github.com/users/SourenP/events{/privacy}","received_events_url":"https://api.github.com/users/SourenP/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-02T21:43:42Z","updated_at":"2015-07-06T21:26:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"826062e594c8d971e66e044827bbcf59a99053fb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ripple/rippled-network-crawler/pulls/17/commits","review_comments_url":"https://api.github.com/repos/ripple/rippled-network-crawler/pulls/17/comments","review_comment_url":"https://api.github.com/repos/ripple/rippled-network-crawler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ripple/rippled-network-crawler/issues/17/comments","statuses_url":"https://api.github.com/repos/ripple/rippled-network-crawler/statuses/d1349e721f03d43d28dfef3d73226828ae733dbb","head":{"label":"ripple:automatisieren","ref":"automatisieren","sha":"d1349e721f03d43d28dfef3d73226828ae733dbb","user":{"login":"ripple","id":3165523,"avatar_url":"https://avatars.githubusercontent.com/u/3165523?v=3","gravatar_id":"","url":"https://api.github.com/users/ripple","html_url":"https://github.com/ripple","followers_url":"https://api.github.com/users/ripple/followers","following_url":"https://api.github.com/users/ripple/following{/other_user}","gists_url":"https://api.github.com/users/ripple/gists{/gist_id}","starred_url":"https://api.github.com/users/ripple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ripple/subscriptions","organizations_url":"https://api.github.com/users/ripple/orgs","repos_url":"https://api.github.com/users/ripple/repos","events_url":"https://api.github.com/users/ripple/events{/privacy}","received_events_url":"https://api.github.com/users/ripple/received_events","type":"Organization","site_admin":false},"repo":{"id":36835260,"name":"rippled-network-crawler","full_name":"ripple/rippled-network-crawler","owner":{"login":"ripple","id":3165523,"avatar_url":"https://avatars.githubusercontent.com/u/3165523?v=3","gravatar_id":"","url":"https://api.github.com/users/ripple","html_url":"https://github.com/ripple","followers_url":"https://api.github.com/users/ripple/followers","following_url":"https://api.github.com/users/ripple/following{/other_user}","gists_url":"https://api.github.com/users/ripple/gists{/gist_id}","starred_url":"https://api.github.com/users/ripple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ripple/subscriptions","organizations_url":"https://api.github.com/users/ripple/orgs","repos_url":"https://api.github.com/users/ripple/repos","events_url":"https://api.github.com/users/ripple/events{/privacy}","received_events_url":"https://api.github.com/users/ripple/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ripple/rippled-network-crawler","description":"Crawls all nodes in rippled network","fork":true,"url":"https://api.github.com/repos/ripple/rippled-network-crawler","forks_url":"https://api.github.com/repos/ripple/rippled-network-crawler/forks","keys_url":"https://api.github.com/repos/ripple/rippled-network-crawler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ripple/rippled-network-crawler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ripple/rippled-network-crawler/teams","hooks_url":"https://api.github.com/repos/ripple/rippled-network-crawler/hooks","issue_events_url":"https://api.github.com/repos/ripple/rippled-network-crawler/issues/events{/number}","events_url":"https://api.github.com/repos/ripple/rippled-network-crawler/events","assignees_url":"https://api.github.com/repos/ripple/rippled-network-crawler/assignees{/user}","branches_url":"https://api.github.com/repos/ripple/rippled-network-crawler/branches{/branch}","tags_url":"https://api.github.com/repos/ripple/rippled-network-crawler/tags","blobs_url":"https://api.github.com/repos/ripple/rippled-network-crawler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ripple/rippled-network-crawler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ripple/rippled-network-crawler/git/refs{/sha}","trees_url":"https://api.github.com/repos/ripple/rippled-network-crawler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ripple/rippled-network-crawler/statuses/{sha}","languages_url":"https://api.github.com/repos/ripple/rippled-network-crawler/languages","stargazers_url":"https://api.github.com/repos/ripple/rippled-network-crawler/stargazers","contributors_url":"https://api.github.com/repos/ripple/rippled-network-crawler/contributors","subscribers_url":"https://api.github.com/repos/ripple/rippled-network-crawler/subscribers","subscription_url":"https://api.github.com/repos/ripple/rippled-network-crawler/subscription","commits_url":"https://api.github.com/repos/ripple/rippled-network-crawler/commits{/sha}","git_commits_url":"https://api.github.com/repos/ripple/rippled-network-crawler/git/commits{/sha}","comments_url":"https://api.github.com/repos/ripple/rippled-network-crawler/comments{/number}","issue_comment_url":"https://api.github.com/repos/ripple/rippled-network-crawler/issues/comments{/number}","contents_url":"https://api.github.com/repos/ripple/rippled-network-crawler/contents/{+path}","compare_url":"https://api.github.com/repos/ripple/rippled-network-crawler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ripple/rippled-network-crawler/merges","archive_url":"https://api.github.com/repos/ripple/rippled-network-crawler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ripple/rippled-network-crawler/downloads","issues_url":"https://api.github.com/repos/ripple/rippled-network-crawler/issues{/number}","pulls_url":"https://api.github.com/repos/ripple/rippled-network-crawler/pulls{/number}","milestones_url":"https://api.github.com/repos/ripple/rippled-network-crawler/milestones{/number}","notifications_url":"https://api.github.com/repos/ripple/rippled-network-crawler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ripple/rippled-network-crawler/labels{/name}","releases_url":"https://api.github.com/repos/ripple/rippled-network-crawler/releases{/id}","created_at":"2015-06-03T22:58:07Z","updated_at":"2015-06-11T18:59:07Z","pushed_at":"2015-07-02T22:54:09Z","git_url":"git://github.com/ripple/rippled-network-crawler.git","ssh_url":"git@github.com:ripple/rippled-network-crawler.git","clone_url":"https://github.com/ripple/rippled-network-crawler.git","svn_url":"https://github.com/ripple/rippled-network-crawler","homepage":null,"size":848,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":1,"default_branch":"master"}},"base":{"label":"ripple:master","ref":"master","sha":"9b573c30b34155fd6372298ffeb0c615f6d8f8f1","user":{"login":"ripple","id":3165523,"avatar_url":"https://avatars.githubusercontent.com/u/3165523?v=3","gravatar_id":"","url":"https://api.github.com/users/ripple","html_url":"https://github.com/ripple","followers_url":"https://api.github.com/users/ripple/followers","following_url":"https://api.github.com/users/ripple/following{/other_user}","gists_url":"https://api.github.com/users/ripple/gists{/gist_id}","starred_url":"https://api.github.com/users/ripple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ripple/subscriptions","organizations_url":"https://api.github.com/users/ripple/orgs","repos_url":"https://api.github.com/users/ripple/repos","events_url":"https://api.github.com/users/ripple/events{/privacy}","received_events_url":"https://api.github.com/users/ripple/received_events","type":"Organization","site_admin":false},"repo":{"id":36835260,"name":"rippled-network-crawler","full_name":"ripple/rippled-network-crawler","owner":{"login":"ripple","id":3165523,"avatar_url":"https://avatars.githubusercontent.com/u/3165523?v=3","gravatar_id":"","url":"https://api.github.com/users/ripple","html_url":"https://github.com/ripple","followers_url":"https://api.github.com/users/ripple/followers","following_url":"https://api.github.com/users/ripple/following{/other_user}","gists_url":"https://api.github.com/users/ripple/gists{/gist_id}","starred_url":"https://api.github.com/users/ripple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ripple/subscriptions","organizations_url":"https://api.github.com/users/ripple/orgs","repos_url":"https://api.github.com/users/ripple/repos","events_url":"https://api.github.com/users/ripple/events{/privacy}","received_events_url":"https://api.github.com/users/ripple/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ripple/rippled-network-crawler","description":"Crawls all nodes in rippled network","fork":true,"url":"https://api.github.com/repos/ripple/rippled-network-crawler","forks_url":"https://api.github.com/repos/ripple/rippled-network-crawler/forks","keys_url":"https://api.github.com/repos/ripple/rippled-network-crawler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ripple/rippled-network-crawler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ripple/rippled-network-crawler/teams","hooks_url":"https://api.github.com/repos/ripple/rippled-network-crawler/hooks","issue_events_url":"https://api.github.com/repos/ripple/rippled-network-crawler/issues/events{/number}","events_url":"https://api.github.com/repos/ripple/rippled-network-crawler/events","assignees_url":"https://api.github.com/repos/ripple/rippled-network-crawler/assignees{/user}","branches_url":"https://api.github.com/repos/ripple/rippled-network-crawler/branches{/branch}","tags_url":"https://api.github.com/repos/ripple/rippled-network-crawler/tags","blobs_url":"https://api.github.com/repos/ripple/rippled-network-crawler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ripple/rippled-network-crawler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ripple/rippled-network-crawler/git/refs{/sha}","trees_url":"https://api.github.com/repos/ripple/rippled-network-crawler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ripple/rippled-network-crawler/statuses/{sha}","languages_url":"https://api.github.com/repos/ripple/rippled-network-crawler/languages","stargazers_url":"https://api.github.com/repos/ripple/rippled-network-crawler/stargazers","contributors_url":"https://api.github.com/repos/ripple/rippled-network-crawler/contributors","subscribers_url":"https://api.github.com/repos/ripple/rippled-network-crawler/subscribers","subscription_url":"https://api.github.com/repos/ripple/rippled-network-crawler/subscription","commits_url":"https://api.github.com/repos/ripple/rippled-network-crawler/commits{/sha}","git_commits_url":"https://api.github.com/repos/ripple/rippled-network-crawler/git/commits{/sha}","comments_url":"https://api.github.com/repos/ripple/rippled-network-crawler/comments{/number}","issue_comment_url":"https://api.github.com/repos/ripple/rippled-network-crawler/issues/comments{/number}","contents_url":"https://api.github.com/repos/ripple/rippled-network-crawler/contents/{+path}","compare_url":"https://api.github.com/repos/ripple/rippled-network-crawler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ripple/rippled-network-crawler/merges","archive_url":"https://api.github.com/repos/ripple/rippled-network-crawler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ripple/rippled-network-crawler/downloads","issues_url":"https://api.github.com/repos/ripple/rippled-network-crawler/issues{/number}","pulls_url":"https://api.github.com/repos/ripple/rippled-network-crawler/pulls{/number}","milestones_url":"https://api.github.com/repos/ripple/rippled-network-crawler/milestones{/number}","notifications_url":"https://api.github.com/repos/ripple/rippled-network-crawler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ripple/rippled-network-crawler/labels{/name}","releases_url":"https://api.github.com/repos/ripple/rippled-network-crawler/releases{/id}","created_at":"2015-06-03T22:58:07Z","updated_at":"2015-06-11T18:59:07Z","pushed_at":"2015-07-02T22:54:09Z","git_url":"git://github.com/ripple/rippled-network-crawler.git","ssh_url":"git@github.com:ripple/rippled-network-crawler.git","clone_url":"https://github.com/ripple/rippled-network-crawler.git","svn_url":"https://github.com/ripple/rippled-network-crawler","homepage":null,"size":848,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ripple/rippled-network-crawler/pulls/17"},"html":{"href":"https://github.com/ripple/rippled-network-crawler/pull/17"},"issue":{"href":"https://api.github.com/repos/ripple/rippled-network-crawler/issues/17"},"comments":{"href":"https://api.github.com/repos/ripple/rippled-network-crawler/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/ripple/rippled-network-crawler/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/ripple/rippled-network-crawler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ripple/rippled-network-crawler/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/ripple/rippled-network-crawler/statuses/d1349e721f03d43d28dfef3d73226828ae733dbb"}}}}