diff options
| author | root <root@lalalizard.com> | 2012-12-21 13:52:25 -0500 |
|---|---|---|
| committer | root <root@lalalizard.com> | 2012-12-21 13:52:25 -0500 |
| commit | db1e4fb6a16bec535337916cf5578f2cb0097423 (patch) | |
| tree | 1cb1efbf6fe70bb176d1a2d58fa8d4d5343d03ad /tools/safe_migrate.sh | |
| parent | abb7bcf38ed21856c2fdadc3f4bccfc37ad8c4c3 (diff) | |
migration tools fix
Diffstat (limited to 'tools/safe_migrate.sh')
| -rwxr-xr-x | tools/safe_migrate.sh | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tools/safe_migrate.sh b/tools/safe_migrate.sh new file mode 100755 index 0000000..d653f72 --- /dev/null +++ b/tools/safe_migrate.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +. /var/www/scannerjammer.fm/pyenv/bin/activate + +echo "- utf" +python fix_utf8.py +echo "- users" +python migrate_user.py 2>&1 | grep -vP "^ RuntimeWarning\)$" | grep -vP "DateTime" +python migrate_validate_user.py + +echo "- rooms" +python migrate_room.py 2>&1 | grep -vP "^ RuntimeWarning\)$" | grep -vP "DateTime" +#manual validate | grep -v "exist" + +echo "- search" +python migrate_search.py 2>&1 | grep -vP "^ RuntimeWarning\)$" | grep -vP "DateTime" +#manual validate | grep -v "exist" + + +echo "- video" +python migrate_video.py 2>&1 | grep -vP "^ RuntimeWarning\)$" | grep -vP "DateTime" +echo "- bg" +python migrate_bg.py 2>&1 | grep -vP "^ RuntimeWarning\)$" | grep -vP "DateTime" +echo "- chat" +python migrate_chat.py 2>&1 | grep -vP "^ RuntimeWarning\)$" | grep -vP "DateTime" +echo "- url" +python migrate_url.py 2>&1 | grep -vP "^ RuntimeWarning\)$" | grep -vP "DateTime" + +echo "- likes" +python migrate_likes.py 2>&1 | grep -vP "^ RuntimeWarning\)$" | grep -vP "DateTime" |
