{"action":"created","issue":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/13060","repository_url":"https://api.github.com/repos/dimagi/commcare-hq","labels_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/13060/labels{/name}","comments_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/13060/comments","events_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/13060/events","html_url":"https://github.com/dimagi/commcare-hq/pull/13060","id":174298842,"number":13060,"title":"couch sql migrate","user":{"login":"snopoke","id":249606,"avatar_url":"https://avatars.githubusercontent.com/u/249606?v=3","gravatar_id":"","url":"https://api.github.com/users/snopoke","html_url":"https://github.com/snopoke","followers_url":"https://api.github.com/users/snopoke/followers","following_url":"https://api.github.com/users/snopoke/following{/other_user}","gists_url":"https://api.github.com/users/snopoke/gists{/gist_id}","starred_url":"https://api.github.com/users/snopoke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snopoke/subscriptions","organizations_url":"https://api.github.com/users/snopoke/orgs","repos_url":"https://api.github.com/users/snopoke/repos","events_url":"https://api.github.com/users/snopoke/events{/privacy}","received_events_url":"https://api.github.com/users/snopoke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-31T15:08:17Z","updated_at":"2016-09-01T07:14:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/13060","html_url":"https://github.com/dimagi/commcare-hq/pull/13060","diff_url":"https://github.com/dimagi/commcare-hq/pull/13060.diff","patch_url":"https://github.com/dimagi/commcare-hq/pull/13060.patch"},"body":"@czue\r\n\r\nbuddy @biyeun\r\n\r\nSorry this got a bit big:\r\n\r\n- [ ] print migration stats\r\n- [ ] save document diffs and allow printing them\r\n- [ ] do timezone migration\r\n- [ ] prevent form submissions during migration\r\n- [ ] commit migration once complete\r\n- [ ] migrate attachments & form operations\r\n- [ ] copy unprocessed forms"},"comment":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/comments/243995803","html_url":"https://github.com/dimagi/commcare-hq/pull/13060#issuecomment-243995803","issue_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/13060","id":243995803,"user":{"login":"czue","id":66555,"avatar_url":"https://avatars.githubusercontent.com/u/66555?v=3","gravatar_id":"","url":"https://api.github.com/users/czue","html_url":"https://github.com/czue","followers_url":"https://api.github.com/users/czue/followers","following_url":"https://api.github.com/users/czue/following{/other_user}","gists_url":"https://api.github.com/users/czue/gists{/gist_id}","starred_url":"https://api.github.com/users/czue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czue/subscriptions","organizations_url":"https://api.github.com/users/czue/orgs","repos_url":"https://api.github.com/users/czue/repos","events_url":"https://api.github.com/users/czue/events{/privacy}","received_events_url":"https://api.github.com/users/czue/received_events","type":"User","site_admin":false},"created_at":"2016-09-01T07:14:57Z","updated_at":"2016-09-01T07:14:57Z","body":"wowzers this looks monstrous. haven't looked closely yet, but build is failing. should i review :whale2: ?\r\n\r\n```\r\n======================================================================\r\nERROR: test_migration (corehq.apps.tzmigration.tests.test_timezonemigration.TimeZoneMigrationTest)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/mnt/commcare-hq-ro/corehq/apps/tzmigration/tests/test_timezonemigration.py\", line 102, in test_migration\r\n    run_timezone_migration_for_domain(self.domain)\r\n  File \"/mnt/commcare-hq-ro/corehq/apps/tzmigration/timezonemigration.py\", line 26, in run_timezone_migration_for_domain\r\n    _run_timezone_migration_for_domain(domain)\r\n  File \"/mnt/commcare-hq-ro/corehq/apps/tzmigration/timezonemigration.py\", line 81, in _run_timezone_migration_for_domain\r\n    planning_db = prepare_planning_db(domain)\r\n  File \"/mnt/commcare-hq-ro/corehq/apps/tzmigration/timezonemigration.py\", line 152, in prepare_planning_db\r\n    planning_db.add_diffs('form', xform_id,\r\nAttributeError: 'PlanningDB' object has no attribute 'add_diffs'\r\n----------------------------------------------------------------------\r\n```\r\n```\r\n======================================================================\r\nFAIL: test_basic_case_migration (corehq.form_processor.tests.test_migration.MigrationTestCase)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/mnt/commcare-hq-ro/corehq/form_processor/tests/test_migration.py\", line 28, in test_basic_case_migration\r\n    self._do_migration_and_assert_flags(self.domain)\r\n  File \"/mnt/commcare-hq-ro/corehq/form_processor/tests/test_migration.py\", line 35, in _do_migration_and_assert_flags\r\n    self.assertTrue(should_use_sql_backend(domain))\r\nAssertionError: None is not true\r\n-------------------- >> begin captured logging << --------------------\r\n```\r\n"}}
{"actor":{"display_login":"czue"}}