{"action":"created","issue":{"url":"https://api.github.com/repos/weecology/retriever/issues/485","repository_url":"https://api.github.com/repos/weecology/retriever","labels_url":"https://api.github.com/repos/weecology/retriever/issues/485/labels{/name}","comments_url":"https://api.github.com/repos/weecology/retriever/issues/485/comments","events_url":"https://api.github.com/repos/weecology/retriever/issues/485/events","html_url":"https://github.com/weecology/retriever/pull/485","id":153868312,"number":485,"title":"Improve testing","user":{"login":"henrykironde","id":5192965,"avatar_url":"https://avatars.githubusercontent.com/u/5192965?v=3","gravatar_id":"","url":"https://api.github.com/users/henrykironde","html_url":"https://github.com/henrykironde","followers_url":"https://api.github.com/users/henrykironde/followers","following_url":"https://api.github.com/users/henrykironde/following{/other_user}","gists_url":"https://api.github.com/users/henrykironde/gists{/gist_id}","starred_url":"https://api.github.com/users/henrykironde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrykironde/subscriptions","organizations_url":"https://api.github.com/users/henrykironde/orgs","repos_url":"https://api.github.com/users/henrykironde/repos","events_url":"https://api.github.com/users/henrykironde/events{/privacy}","received_events_url":"https://api.github.com/users/henrykironde/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/weecology/retriever/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-09T20:58:21Z","updated_at":"2016-06-07T17:19:20Z","closed_at":"2016-06-07T17:19:20Z","pull_request":{"url":"https://api.github.com/repos/weecology/retriever/pulls/485","html_url":"https://github.com/weecology/retriever/pull/485","diff_url":"https://github.com/weecology/retriever/pull/485.diff","patch_url":"https://github.com/weecology/retriever/pull/485.patch"},"body":"add csv export module to retriever\r\n\r\nfrom mysql, sqlite and postgres, we can export the data into csv file\r\nusing\r\n\r\n$ retriever export -h\r\nusage: retriever-script.py export [-h] [--sorted] {mysql,postgres,sqlite} ...\r\n\r\npositional arguments:\r\n  {mysql,postgres,sqlite}\r\n                        engine-specific help\r\n    mysql               MySQL\r\n    postgres            PostgreSQL\r\n    sqlite              SQLite\r\n\r\noptional arguments:\r\n  -h, --help            show this help message and exit\r\n  --sorted              export csv sorted\r\n\r\nwith the --sorted flag set we can export csv files sorted\r\nthis will help in setting up tests regardless of the server versions\r\n\r\nwe have also updated the md5s."},"comment":{"url":"https://api.github.com/repos/weecology/retriever/issues/comments/224350896","html_url":"https://github.com/weecology/retriever/pull/485#issuecomment-224350896","issue_url":"https://api.github.com/repos/weecology/retriever/issues/485","id":224350896,"user":{"login":"henrykironde","id":5192965,"avatar_url":"https://avatars.githubusercontent.com/u/5192965?v=3","gravatar_id":"","url":"https://api.github.com/users/henrykironde","html_url":"https://github.com/henrykironde","followers_url":"https://api.github.com/users/henrykironde/followers","following_url":"https://api.github.com/users/henrykironde/following{/other_user}","gists_url":"https://api.github.com/users/henrykironde/gists{/gist_id}","starred_url":"https://api.github.com/users/henrykironde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrykironde/subscriptions","organizations_url":"https://api.github.com/users/henrykironde/orgs","repos_url":"https://api.github.com/users/henrykironde/repos","events_url":"https://api.github.com/users/henrykironde/events{/privacy}","received_events_url":"https://api.github.com/users/henrykironde/received_events","type":"User","site_admin":false},"created_at":"2016-06-07T17:19:20Z","updated_at":"2016-06-07T17:19:20Z","body":"closed because moved to #511 "}}
{"actor":{"display_login":"henrykironde"}}