{"action":"created","comment":{"url":"https://api.github.com/repos/fullstorydev/hauser/pulls/comments/245094859","pull_request_review_id":189134439,"id":245094859,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NTA5NDg1OQ==","diff_hunk":"@@ -143,6 +157,9 @@ func ProcessFilesByDay(wh warehouse.Warehouse, tableColumns []string, fs *fullst\n \tif len(exports) == 0 {\n \t\treturn 0, nil\n \t}\n+\tif conf.Local.SaveAsJson {\n+\t\tpanic(\"The option to process files by day is only supported for CSV format.\")","path":"main.go","position":69,"original_position":69,"commit_id":"d441d1eb51acaae7b87eaae7b7e0abd827685cd2","original_commit_id":"d441d1eb51acaae7b87eaae7b7e0abd827685cd2","user":{"login":"glarchev","id":958267,"node_id":"MDQ6VXNlcjk1ODI2Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/958267?v=4","gravatar_id":"","url":"https://api.github.com/users/glarchev","html_url":"https://github.com/glarchev","followers_url":"https://api.github.com/users/glarchev/followers","following_url":"https://api.github.com/users/glarchev/following{/other_user}","gists_url":"https://api.github.com/users/glarchev/gists{/gist_id}","starred_url":"https://api.github.com/users/glarchev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glarchev/subscriptions","organizations_url":"https://api.github.com/users/glarchev/orgs","repos_url":"https://api.github.com/users/glarchev/repos","events_url":"https://api.github.com/users/glarchev/events{/privacy}","received_events_url":"https://api.github.com/users/glarchev/received_events","type":"User","site_admin":false},"body":"Will fix","created_at":"2019-01-03T18:46:01Z","updated_at":"2019-01-03T18:46:01Z","html_url":"https://github.com/fullstorydev/hauser/pull/45#discussion_r245094859","pull_request_url":"https://api.github.com/repos/fullstorydev/hauser/pulls/45","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/fullstorydev/hauser/pulls/comments/245094859"},"html":{"href":"https://github.com/fullstorydev/hauser/pull/45#discussion_r245094859"},"pull_request":{"href":"https://api.github.com/repos/fullstorydev/hauser/pulls/45"}},"in_reply_to_id":244874738},"pull_request":{"url":"https://api.github.com/repos/fullstorydev/hauser/pulls/45","id":241773396,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxNzczMzk2","html_url":"https://github.com/fullstorydev/hauser/pull/45","diff_url":"https://github.com/fullstorydev/hauser/pull/45.diff","patch_url":"https://github.com/fullstorydev/hauser/pull/45.patch","issue_url":"https://api.github.com/repos/fullstorydev/hauser/issues/45","number":45,"state":"open","locked":false,"title":"Greg/localstore2","user":{"login":"glarchev","id":958267,"node_id":"MDQ6VXNlcjk1ODI2Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/958267?v=4","gravatar_id":"","url":"https://api.github.com/users/glarchev","html_url":"https://github.com/glarchev","followers_url":"https://api.github.com/users/glarchev/followers","following_url":"https://api.github.com/users/glarchev/following{/other_user}","gists_url":"https://api.github.com/users/glarchev/gists{/gist_id}","starred_url":"https://api.github.com/users/glarchev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glarchev/subscriptions","organizations_url":"https://api.github.com/users/glarchev/orgs","repos_url":"https://api.github.com/users/glarchev/repos","events_url":"https://api.github.com/users/glarchev/events{/privacy}","received_events_url":"https://api.github.com/users/glarchev/received_events","type":"User","site_admin":false},"body":"Reworked code to save export files to local storage -- such that localdisk now implements the warehouse interface. Also pulled out some of the common ValueToString functionality into the warehouse.go file, and added the code to save to json to main.go.","created_at":"2019-01-02T15:24:55Z","updated_at":"2019-01-03T18:46:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cf5d1a1e45e76d68fda1bb730a5ccf53a3f45901","assignee":{"login":"butanian","id":1137320,"node_id":"MDQ6VXNlcjExMzczMjA=","avatar_url":"https://avatars3.githubusercontent.com/u/1137320?v=4","gravatar_id":"","url":"https://api.github.com/users/butanian","html_url":"https://github.com/butanian","followers_url":"https://api.github.com/users/butanian/followers","following_url":"https://api.github.com/users/butanian/following{/other_user}","gists_url":"https://api.github.com/users/butanian/gists{/gist_id}","starred_url":"https://api.github.com/users/butanian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/butanian/subscriptions","organizations_url":"https://api.github.com/users/butanian/orgs","repos_url":"https://api.github.com/users/butanian/repos","events_url":"https://api.github.com/users/butanian/events{/privacy}","received_events_url":"https://api.github.com/users/butanian/received_events","type":"User","site_admin":false},"assignees":[{"login":"butanian","id":1137320,"node_id":"MDQ6VXNlcjExMzczMjA=","avatar_url":"https://avatars3.githubusercontent.com/u/1137320?v=4","gravatar_id":"","url":"https://api.github.com/users/butanian","html_url":"https://github.com/butanian","followers_url":"https://api.github.com/users/butanian/followers","following_url":"https://api.github.com/users/butanian/following{/other_user}","gists_url":"https://api.github.com/users/butanian/gists{/gist_id}","starred_url":"https://api.github.com/users/butanian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/butanian/subscriptions","organizations_url":"https://api.github.com/users/butanian/orgs","repos_url":"https://api.github.com/users/butanian/repos","events_url":"https://api.github.com/users/butanian/events{/privacy}","received_events_url":"https://api.github.com/users/butanian/received_events","type":"User","site_admin":false},{"login":"sanjaybv","id":4465917,"node_id":"MDQ6VXNlcjQ0NjU5MTc=","avatar_url":"https://avatars3.githubusercontent.com/u/4465917?v=4","gravatar_id":"","url":"https://api.github.com/users/sanjaybv","html_url":"https://github.com/sanjaybv","followers_url":"https://api.github.com/users/sanjaybv/followers","following_url":"https://api.github.com/users/sanjaybv/following{/other_user}","gists_url":"https://api.github.com/users/sanjaybv/gists{/gist_id}","starred_url":"https://api.github.com/users/sanjaybv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanjaybv/subscriptions","organizations_url":"https://api.github.com/users/sanjaybv/orgs","repos_url":"https://api.github.com/users/sanjaybv/repos","events_url":"https://api.github.com/users/sanjaybv/events{/privacy}","received_events_url":"https://api.github.com/users/sanjaybv/received_events","type":"User","site_admin":false},{"login":"jameremo","id":30803084,"node_id":"MDQ6VXNlcjMwODAzMDg0","avatar_url":"https://avatars2.githubusercontent.com/u/30803084?v=4","gravatar_id":"","url":"https://api.github.com/users/jameremo","html_url":"https://github.com/jameremo","followers_url":"https://api.github.com/users/jameremo/followers","following_url":"https://api.github.com/users/jameremo/following{/other_user}","gists_url":"https://api.github.com/users/jameremo/gists{/gist_id}","starred_url":"https://api.github.com/users/jameremo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameremo/subscriptions","organizations_url":"https://api.github.com/users/jameremo/orgs","repos_url":"https://api.github.com/users/jameremo/repos","events_url":"https://api.github.com/users/jameremo/events{/privacy}","received_events_url":"https://api.github.com/users/jameremo/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/fullstorydev/hauser/pulls/45/commits","review_comments_url":"https://api.github.com/repos/fullstorydev/hauser/pulls/45/comments","review_comment_url":"https://api.github.com/repos/fullstorydev/hauser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fullstorydev/hauser/issues/45/comments","statuses_url":"https://api.github.com/repos/fullstorydev/hauser/statuses/d441d1eb51acaae7b87eaae7b7e0abd827685cd2","head":{"label":"fullstorydev:greg/localstore2","ref":"greg/localstore2","sha":"d441d1eb51acaae7b87eaae7b7e0abd827685cd2","user":{"login":"fullstorydev","id":33756472,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNzU2NDcy","avatar_url":"https://avatars3.githubusercontent.com/u/33756472?v=4","gravatar_id":"","url":"https://api.github.com/users/fullstorydev","html_url":"https://github.com/fullstorydev","followers_url":"https://api.github.com/users/fullstorydev/followers","following_url":"https://api.github.com/users/fullstorydev/following{/other_user}","gists_url":"https://api.github.com/users/fullstorydev/gists{/gist_id}","starred_url":"https://api.github.com/users/fullstorydev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fullstorydev/subscriptions","organizations_url":"https://api.github.com/users/fullstorydev/orgs","repos_url":"https://api.github.com/users/fullstorydev/repos","events_url":"https://api.github.com/users/fullstorydev/events{/privacy}","received_events_url":"https://api.github.com/users/fullstorydev/received_events","type":"Organization","site_admin":false},"repo":{"id":101294833,"node_id":"MDEwOlJlcG9zaXRvcnkxMDEyOTQ4MzM=","name":"hauser","full_name":"fullstorydev/hauser","private":false,"owner":{"login":"fullstorydev","id":33756472,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNzU2NDcy","avatar_url":"https://avatars3.githubusercontent.com/u/33756472?v=4","gravatar_id":"","url":"https://api.github.com/users/fullstorydev","html_url":"https://github.com/fullstorydev","followers_url":"https://api.github.com/users/fullstorydev/followers","following_url":"https://api.github.com/users/fullstorydev/following{/other_user}","gists_url":"https://api.github.com/users/fullstorydev/gists{/gist_id}","starred_url":"https://api.github.com/users/fullstorydev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fullstorydev/subscriptions","organizations_url":"https://api.github.com/users/fullstorydev/orgs","repos_url":"https://api.github.com/users/fullstorydev/repos","events_url":"https://api.github.com/users/fullstorydev/events{/privacy}","received_events_url":"https://api.github.com/users/fullstorydev/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/fullstorydev/hauser","description":"Service for moving your FullStory export files to a data warehouse","fork":false,"url":"https://api.github.com/repos/fullstorydev/hauser","forks_url":"https://api.github.com/repos/fullstorydev/hauser/forks","keys_url":"https://api.github.com/repos/fullstorydev/hauser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fullstorydev/hauser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fullstorydev/hauser/teams","hooks_url":"https://api.github.com/repos/fullstorydev/hauser/hooks","issue_events_url":"https://api.github.com/repos/fullstorydev/hauser/issues/events{/number}","events_url":"https://api.github.com/repos/fullstorydev/hauser/events","assignees_url":"https://api.github.com/repos/fullstorydev/hauser/assignees{/user}","branches_url":"https://api.github.com/repos/fullstorydev/hauser/branches{/branch}","tags_url":"https://api.github.com/repos/fullstorydev/hauser/tags","blobs_url":"https://api.github.com/repos/fullstorydev/hauser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fullstorydev/hauser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fullstorydev/hauser/git/refs{/sha}","trees_url":"https://api.github.com/repos/fullstorydev/hauser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fullstorydev/hauser/statuses/{sha}","languages_url":"https://api.github.com/repos/fullstorydev/hauser/languages","stargazers_url":"https://api.github.com/repos/fullstorydev/hauser/stargazers","contributors_url":"https://api.github.com/repos/fullstorydev/hauser/contributors","subscribers_url":"https://api.github.com/repos/fullstorydev/hauser/subscribers","subscription_url":"https://api.github.com/repos/fullstorydev/hauser/subscription","commits_url":"https://api.github.com/repos/fullstorydev/hauser/commits{/sha}","git_commits_url":"https://api.github.com/repos/fullstorydev/hauser/git/commits{/sha}","comments_url":"https://api.github.com/repos/fullstorydev/hauser/comments{/number}","issue_comment_url":"https://api.github.com/repos/fullstorydev/hauser/issues/comments{/number}","contents_url":"https://api.github.com/repos/fullstorydev/hauser/contents/{+path}","compare_url":"https://api.github.com/repos/fullstorydev/hauser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fullstorydev/hauser/merges","archive_url":"https://api.github.com/repos/fullstorydev/hauser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fullstorydev/hauser/downloads","issues_url":"https://api.github.com/repos/fullstorydev/hauser/issues{/number}","pulls_url":"https://api.github.com/repos/fullstorydev/hauser/pulls{/number}","milestones_url":"https://api.github.com/repos/fullstorydev/hauser/milestones{/number}","notifications_url":"https://api.github.com/repos/fullstorydev/hauser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fullstorydev/hauser/labels{/name}","releases_url":"https://api.github.com/repos/fullstorydev/hauser/releases{/id}","deployments_url":"https://api.github.com/repos/fullstorydev/hauser/deployments","created_at":"2017-08-24T12:55:29Z","updated_at":"2018-12-30T19:38:25Z","pushed_at":"2019-01-02T17:15:06Z","git_url":"git://github.com/fullstorydev/hauser.git","ssh_url":"git@github.com:fullstorydev/hauser.git","clone_url":"https://github.com/fullstorydev/hauser.git","svn_url":"https://github.com/fullstorydev/hauser","homepage":null,"size":39250,"stargazers_count":13,"watchers_count":13,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":7,"open_issues":6,"watchers":13,"default_branch":"master"}},"base":{"label":"fullstorydev:master","ref":"master","sha":"87d1bc348c6cbf5e5d39db84cd1bb80bcdc86c2d","user":{"login":"fullstorydev","id":33756472,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNzU2NDcy","avatar_url":"https://avatars3.githubusercontent.com/u/33756472?v=4","gravatar_id":"","url":"https://api.github.com/users/fullstorydev","html_url":"https://github.com/fullstorydev","followers_url":"https://api.github.com/users/fullstorydev/followers","following_url":"https://api.github.com/users/fullstorydev/following{/other_user}","gists_url":"https://api.github.com/users/fullstorydev/gists{/gist_id}","starred_url":"https://api.github.com/users/fullstorydev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fullstorydev/subscriptions","organizations_url":"https://api.github.com/users/fullstorydev/orgs","repos_url":"https://api.github.com/users/fullstorydev/repos","events_url":"https://api.github.com/users/fullstorydev/events{/privacy}","received_events_url":"https://api.github.com/users/fullstorydev/received_events","type":"Organization","site_admin":false},"repo":{"id":101294833,"node_id":"MDEwOlJlcG9zaXRvcnkxMDEyOTQ4MzM=","name":"hauser","full_name":"fullstorydev/hauser","private":false,"owner":{"login":"fullstorydev","id":33756472,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNzU2NDcy","avatar_url":"https://avatars3.githubusercontent.com/u/33756472?v=4","gravatar_id":"","url":"https://api.github.com/users/fullstorydev","html_url":"https://github.com/fullstorydev","followers_url":"https://api.github.com/users/fullstorydev/followers","following_url":"https://api.github.com/users/fullstorydev/following{/other_user}","gists_url":"https://api.github.com/users/fullstorydev/gists{/gist_id}","starred_url":"https://api.github.com/users/fullstorydev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fullstorydev/subscriptions","organizations_url":"https://api.github.com/users/fullstorydev/orgs","repos_url":"https://api.github.com/users/fullstorydev/repos","events_url":"https://api.github.com/users/fullstorydev/events{/privacy}","received_events_url":"https://api.github.com/users/fullstorydev/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/fullstorydev/hauser","description":"Service for moving your FullStory export files to a data warehouse","fork":false,"url":"https://api.github.com/repos/fullstorydev/hauser","forks_url":"https://api.github.com/repos/fullstorydev/hauser/forks","keys_url":"https://api.github.com/repos/fullstorydev/hauser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fullstorydev/hauser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fullstorydev/hauser/teams","hooks_url":"https://api.github.com/repos/fullstorydev/hauser/hooks","issue_events_url":"https://api.github.com/repos/fullstorydev/hauser/issues/events{/number}","events_url":"https://api.github.com/repos/fullstorydev/hauser/events","assignees_url":"https://api.github.com/repos/fullstorydev/hauser/assignees{/user}","branches_url":"https://api.github.com/repos/fullstorydev/hauser/branches{/branch}","tags_url":"https://api.github.com/repos/fullstorydev/hauser/tags","blobs_url":"https://api.github.com/repos/fullstorydev/hauser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fullstorydev/hauser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fullstorydev/hauser/git/refs{/sha}","trees_url":"https://api.github.com/repos/fullstorydev/hauser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fullstorydev/hauser/statuses/{sha}","languages_url":"https://api.github.com/repos/fullstorydev/hauser/languages","stargazers_url":"https://api.github.com/repos/fullstorydev/hauser/stargazers","contributors_url":"https://api.github.com/repos/fullstorydev/hauser/contributors","subscribers_url":"https://api.github.com/repos/fullstorydev/hauser/subscribers","subscription_url":"https://api.github.com/repos/fullstorydev/hauser/subscription","commits_url":"https://api.github.com/repos/fullstorydev/hauser/commits{/sha}","git_commits_url":"https://api.github.com/repos/fullstorydev/hauser/git/commits{/sha}","comments_url":"https://api.github.com/repos/fullstorydev/hauser/comments{/number}","issue_comment_url":"https://api.github.com/repos/fullstorydev/hauser/issues/comments{/number}","contents_url":"https://api.github.com/repos/fullstorydev/hauser/contents/{+path}","compare_url":"https://api.github.com/repos/fullstorydev/hauser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fullstorydev/hauser/merges","archive_url":"https://api.github.com/repos/fullstorydev/hauser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fullstorydev/hauser/downloads","issues_url":"https://api.github.com/repos/fullstorydev/hauser/issues{/number}","pulls_url":"https://api.github.com/repos/fullstorydev/hauser/pulls{/number}","milestones_url":"https://api.github.com/repos/fullstorydev/hauser/milestones{/number}","notifications_url":"https://api.github.com/repos/fullstorydev/hauser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fullstorydev/hauser/labels{/name}","releases_url":"https://api.github.com/repos/fullstorydev/hauser/releases{/id}","deployments_url":"https://api.github.com/repos/fullstorydev/hauser/deployments","created_at":"2017-08-24T12:55:29Z","updated_at":"2018-12-30T19:38:25Z","pushed_at":"2019-01-02T17:15:06Z","git_url":"git://github.com/fullstorydev/hauser.git","ssh_url":"git@github.com:fullstorydev/hauser.git","clone_url":"https://github.com/fullstorydev/hauser.git","svn_url":"https://github.com/fullstorydev/hauser","homepage":null,"size":39250,"stargazers_count":13,"watchers_count":13,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":7,"open_issues":6,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fullstorydev/hauser/pulls/45"},"html":{"href":"https://github.com/fullstorydev/hauser/pull/45"},"issue":{"href":"https://api.github.com/repos/fullstorydev/hauser/issues/45"},"comments":{"href":"https://api.github.com/repos/fullstorydev/hauser/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/fullstorydev/hauser/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/fullstorydev/hauser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fullstorydev/hauser/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/fullstorydev/hauser/statuses/d441d1eb51acaae7b87eaae7b7e0abd827685cd2"}},"author_association":"NONE"}}
{"actor":{"display_login":"glarchev"}}