{"action":"created","issue":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/10601","repository_url":"https://api.github.com/repos/dimagi/commcare-hq","labels_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/10601/labels{/name}","comments_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/10601/comments","events_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/10601/events","html_url":"https://github.com/dimagi/commcare-hq/pull/10601","id":138312535,"number":10601,"title":"Exports off of couch - redux","user":{"login":"NoahCarnahan","id":2117127,"avatar_url":"https://avatars.githubusercontent.com/u/2117127?v=3","gravatar_id":"","url":"https://api.github.com/users/NoahCarnahan","html_url":"https://github.com/NoahCarnahan","followers_url":"https://api.github.com/users/NoahCarnahan/followers","following_url":"https://api.github.com/users/NoahCarnahan/following{/other_user}","gists_url":"https://api.github.com/users/NoahCarnahan/gists{/gist_id}","starred_url":"https://api.github.com/users/NoahCarnahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoahCarnahan/subscriptions","organizations_url":"https://api.github.com/users/NoahCarnahan/orgs","repos_url":"https://api.github.com/users/NoahCarnahan/repos","events_url":"https://api.github.com/users/NoahCarnahan/events{/privacy}","received_events_url":"https://api.github.com/users/NoahCarnahan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dimagi/commcare-hq/labels/Open%20for%20review:%20hold%20off%20on%20merge","name":"Open for review: hold off on merge","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-03T22:12:20Z","updated_at":"2016-03-08T20:33:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/10601","html_url":"https://github.com/dimagi/commcare-hq/pull/10601","diff_url":"https://github.com/dimagi/commcare-hq/pull/10601.diff","patch_url":"https://github.com/dimagi/commcare-hq/pull/10601.patch"},"body":"This PR un-reverts https://github.com/dimagi/commcare-hq/pull/10477, and continues on that work.\r\n- Fixes a variety of bugs\r\n- Implements missing views\r\n- Adds missing export row number functionality\r\n- Adds a `user_type` field to the xform es index\r\n\r\nThis PR is not ready to merge, just putting it up now for review. I think I want to run QA on staging, and we also need to time the xform reindex appropriately. I also need to do a few more things, like actually use the `user_type` field in the export filters.\r\n\r\nShould be reviewed commit-by-commit. The first commit was PR https://github.com/dimagi/commcare-hq/pull/10477, so all those changes were reviewed there."},"comment":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/comments/193956234","html_url":"https://github.com/dimagi/commcare-hq/pull/10601#issuecomment-193956234","issue_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/10601","id":193956234,"user":{"login":"NoahCarnahan","id":2117127,"avatar_url":"https://avatars.githubusercontent.com/u/2117127?v=3","gravatar_id":"","url":"https://api.github.com/users/NoahCarnahan","html_url":"https://github.com/NoahCarnahan","followers_url":"https://api.github.com/users/NoahCarnahan/followers","following_url":"https://api.github.com/users/NoahCarnahan/following{/other_user}","gists_url":"https://api.github.com/users/NoahCarnahan/gists{/gist_id}","starred_url":"https://api.github.com/users/NoahCarnahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoahCarnahan/subscriptions","organizations_url":"https://api.github.com/users/NoahCarnahan/orgs","repos_url":"https://api.github.com/users/NoahCarnahan/repos","events_url":"https://api.github.com/users/NoahCarnahan/events{/privacy}","received_events_url":"https://api.github.com/users/NoahCarnahan/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T20:33:08Z","updated_at":"2016-03-08T20:33:08Z","body":"@dimagi/scale-team this is ready for review again.\r\nThe primary changes since opening the PR are:\r\n- Add user type to form and case es indexes\r\n- eliminate the \"Admin\" export filter\r\n- track download progress\r\n\r\n\r\nI think we're very close to being able to deploy. The two things left on my radar are:\r\n- Implement the special system properties\r\n- Finish off the functions that migrate existing exports\r\n\r\nMy plan is to deploy this branch to staging if the travis build passes"}}