From 4be572c36baccaab3fe7a4912cd1da9e93dcc8cf Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Fri, 10 Mar 2023 02:13:16 -0500 Subject: [PATCH] refactor / organize top level directories --- .gitignore | 4 ++-- {_docs => _develop/docs}/aichatbot_sidecar.md | 0 {_docs => _develop/docs}/database_schema.md | 0 {_docs => _develop/docs}/engineering_notes.md | 0 {_docs => _develop/docs}/local_development_k8s.md | 0 {_docs => _develop/docs}/local_development_setup.md | 2 +- {_docs => _develop/docs}/old_readme.md | 0 {_docs => _develop/docs}/production_builds_and_deployment.md | 0 {_docs => _develop/docs}/redis_schema.md | 0 {localdev => _develop/localdev}/Dockerfile | 0 {localdev => _develop/localdev}/kubernetes.yml | 0 {localdev => _develop/localdev}/nginx-http-config/storyteller | 0 .../localdev}/nginx-http-config/storyteller-ssl | 0 {localdev => _develop/localdev}/startup.sh | 0 {localdev => _develop/localdev}/ubuntu_setup.sh | 0 {debug => _develop/testing}/curl/api_token_tests.py | 0 {debug => _develop/testing}/curl/category_tests.py | 0 {debug => _develop/testing}/curl/create_account_1.sh | 0 {debug => _develop/testing}/curl/create_account_2.sh | 0 {debug => _develop/testing}/curl/create_account_reserved.sh | 0 {debug => _develop/testing}/curl/infer_tts.py | 0 {debug => _develop/testing}/curl/infer_w2l.py | 0 {debug => _develop/testing}/curl/login_bad_password.sh | 0 {debug => _develop/testing}/curl/login_bad_username.sh | 0 {debug => _develop/testing}/curl/login_email.sh | 0 {debug => _develop/testing}/curl/login_username.sh | 0 {debug => _develop/testing}/curl/logout_roundtrip.py | 0 {debug => _develop/testing}/curl/seed.py | 0 {debug => _develop/testing}/curl/session_info.py | 0 {debug => _develop/testing}/curl/twitch_event_rule_tests.py | 0 {debug => _develop/testing}/curl/upload_tts.py | 0 {debug => _develop/testing}/curl/upload_tts_gdrive.py | 0 {debug => _develop/testing}/curl/upload_w2l.py | 0 {debug => _develop/testing}/curl/upload_w2l_image_gdrive.py | 0 {debug => _develop/testing}/curl/upload_w2l_lots_of_data.py | 0 {debug => _develop/testing}/curl/upload_w2l_video_gdrive.py | 0 {debug => _develop/testing}/mysql/badges.sh | 0 {debug => _develop/testing}/mysql/ip_bans.sh | 0 {debug => _develop/testing}/mysql/last_firehose_events.sh | 0 {debug => _develop/testing}/mysql/last_session.sh | 0 {debug => _develop/testing}/mysql/last_tts_inference_job.sh | 0 .../testing}/mysql/last_tts_inference_results.sh | 0 {debug => _develop/testing}/mysql/last_tts_model.sh | 0 {debug => _develop/testing}/mysql/last_tts_upload.sh | 0 {debug => _develop/testing}/mysql/last_user.sh | 0 {debug => _develop/testing}/mysql/last_w2l_inference_job.sh | 0 .../testing}/mysql/last_w2l_inference_results.sh | 0 {debug => _develop/testing}/mysql/last_w2l_template.sh | 0 {debug => _develop/testing}/mysql/last_w2l_upload.sh | 0 {debug => _develop/testing}/mysql/roles.sh | 0 {debug => _develop/testing}/mysql/set_admin.sh | 0 {debug => _develop/testing}/mysql/set_regular_user.sh | 0 .../testing}/mysql/tts_results_synthetic_ids.sh | 0 {tools => _develop/tools}/delete_tts_inference_jobs.py | 0 {seed => _sql/seed}/bootstrap_inserts_roles_etc.sh | 0 {seed => _sql/seed}/sql/system_roles.sql | 0 {seed => _sql/seed}/sql/user_badges.sql | 0 57 files changed, 3 insertions(+), 3 deletions(-) rename {_docs => _develop/docs}/aichatbot_sidecar.md (100%) rename {_docs => _develop/docs}/database_schema.md (100%) rename {_docs => _develop/docs}/engineering_notes.md (100%) rename {_docs => _develop/docs}/local_development_k8s.md (100%) rename {_docs => _develop/docs}/local_development_setup.md (99%) rename {_docs => _develop/docs}/old_readme.md (100%) rename {_docs => _develop/docs}/production_builds_and_deployment.md (100%) rename {_docs => _develop/docs}/redis_schema.md (100%) rename {localdev => _develop/localdev}/Dockerfile (100%) rename {localdev => _develop/localdev}/kubernetes.yml (100%) rename {localdev => _develop/localdev}/nginx-http-config/storyteller (100%) rename {localdev => _develop/localdev}/nginx-http-config/storyteller-ssl (100%) rename {localdev => _develop/localdev}/startup.sh (100%) rename {localdev => _develop/localdev}/ubuntu_setup.sh (100%) rename {debug => _develop/testing}/curl/api_token_tests.py (100%) rename {debug => _develop/testing}/curl/category_tests.py (100%) rename {debug => _develop/testing}/curl/create_account_1.sh (100%) rename {debug => _develop/testing}/curl/create_account_2.sh (100%) rename {debug => _develop/testing}/curl/create_account_reserved.sh (100%) rename {debug => _develop/testing}/curl/infer_tts.py (100%) rename {debug => _develop/testing}/curl/infer_w2l.py (100%) rename {debug => _develop/testing}/curl/login_bad_password.sh (100%) rename {debug => _develop/testing}/curl/login_bad_username.sh (100%) rename {debug => _develop/testing}/curl/login_email.sh (100%) rename {debug => _develop/testing}/curl/login_username.sh (100%) rename {debug => _develop/testing}/curl/logout_roundtrip.py (100%) rename {debug => _develop/testing}/curl/seed.py (100%) rename {debug => _develop/testing}/curl/session_info.py (100%) rename {debug => _develop/testing}/curl/twitch_event_rule_tests.py (100%) rename {debug => _develop/testing}/curl/upload_tts.py (100%) rename {debug => _develop/testing}/curl/upload_tts_gdrive.py (100%) rename {debug => _develop/testing}/curl/upload_w2l.py (100%) rename {debug => _develop/testing}/curl/upload_w2l_image_gdrive.py (100%) rename {debug => _develop/testing}/curl/upload_w2l_lots_of_data.py (100%) rename {debug => _develop/testing}/curl/upload_w2l_video_gdrive.py (100%) rename {debug => _develop/testing}/mysql/badges.sh (100%) rename {debug => _develop/testing}/mysql/ip_bans.sh (100%) rename {debug => _develop/testing}/mysql/last_firehose_events.sh (100%) rename {debug => _develop/testing}/mysql/last_session.sh (100%) rename {debug => _develop/testing}/mysql/last_tts_inference_job.sh (100%) rename {debug => _develop/testing}/mysql/last_tts_inference_results.sh (100%) rename {debug => _develop/testing}/mysql/last_tts_model.sh (100%) rename {debug => _develop/testing}/mysql/last_tts_upload.sh (100%) rename {debug => _develop/testing}/mysql/last_user.sh (100%) rename {debug => _develop/testing}/mysql/last_w2l_inference_job.sh (100%) rename {debug => _develop/testing}/mysql/last_w2l_inference_results.sh (100%) rename {debug => _develop/testing}/mysql/last_w2l_template.sh (100%) rename {debug => _develop/testing}/mysql/last_w2l_upload.sh (100%) rename {debug => _develop/testing}/mysql/roles.sh (100%) rename {debug => _develop/testing}/mysql/set_admin.sh (100%) rename {debug => _develop/testing}/mysql/set_regular_user.sh (100%) rename {debug => _develop/testing}/mysql/tts_results_synthetic_ids.sh (100%) rename {tools => _develop/tools}/delete_tts_inference_jobs.py (100%) rename {seed => _sql/seed}/bootstrap_inserts_roles_etc.sh (100%) rename {seed => _sql/seed}/sql/system_roles.sql (100%) rename {seed => _sql/seed}/sql/user_badges.sql (100%) diff --git a/.gitignore b/.gitignore index 41805749a6..538df30a10 100644 --- a/.gitignore +++ b/.gitignore @@ -10,8 +10,8 @@ production_database_secret_query.sh production_database_voice_clone_report_download.sh secrets.toml secrets.yaml -tools/.secrets -tools/db_secrets.toml +_develop/tools/.secrets +_develop/tools/db_secrets.toml twitch_secrets.toml # Rust build directory diff --git a/_docs/aichatbot_sidecar.md b/_develop/docs/aichatbot_sidecar.md similarity index 100% rename from _docs/aichatbot_sidecar.md rename to _develop/docs/aichatbot_sidecar.md diff --git a/_docs/database_schema.md b/_develop/docs/database_schema.md similarity index 100% rename from _docs/database_schema.md rename to _develop/docs/database_schema.md diff --git a/_docs/engineering_notes.md b/_develop/docs/engineering_notes.md similarity index 100% rename from _docs/engineering_notes.md rename to _develop/docs/engineering_notes.md diff --git a/_docs/local_development_k8s.md b/_develop/docs/local_development_k8s.md similarity index 100% rename from _docs/local_development_k8s.md rename to _develop/docs/local_development_k8s.md diff --git a/_docs/local_development_setup.md b/_develop/docs/local_development_setup.md similarity index 99% rename from _docs/local_development_setup.md rename to _develop/docs/local_development_setup.md index 00dc7e57c6..79ec615c6d 100644 --- a/_docs/local_development_setup.md +++ b/_develop/docs/local_development_setup.md @@ -1,7 +1,7 @@ dev setup ========= -[Back to main README](../README.md) +[Back to main README](../../README.md) ## Debugging and Fixing CUDA/PyTorch diff --git a/_docs/old_readme.md b/_develop/docs/old_readme.md similarity index 100% rename from _docs/old_readme.md rename to _develop/docs/old_readme.md diff --git a/_docs/production_builds_and_deployment.md b/_develop/docs/production_builds_and_deployment.md similarity index 100% rename from _docs/production_builds_and_deployment.md rename to _develop/docs/production_builds_and_deployment.md diff --git a/_docs/redis_schema.md b/_develop/docs/redis_schema.md similarity index 100% rename from _docs/redis_schema.md rename to _develop/docs/redis_schema.md diff --git a/localdev/Dockerfile b/_develop/localdev/Dockerfile similarity index 100% rename from localdev/Dockerfile rename to _develop/localdev/Dockerfile diff --git a/localdev/kubernetes.yml b/_develop/localdev/kubernetes.yml similarity index 100% rename from localdev/kubernetes.yml rename to _develop/localdev/kubernetes.yml diff --git a/localdev/nginx-http-config/storyteller b/_develop/localdev/nginx-http-config/storyteller similarity index 100% rename from localdev/nginx-http-config/storyteller rename to _develop/localdev/nginx-http-config/storyteller diff --git a/localdev/nginx-http-config/storyteller-ssl b/_develop/localdev/nginx-http-config/storyteller-ssl similarity index 100% rename from localdev/nginx-http-config/storyteller-ssl rename to _develop/localdev/nginx-http-config/storyteller-ssl diff --git a/localdev/startup.sh b/_develop/localdev/startup.sh similarity index 100% rename from localdev/startup.sh rename to _develop/localdev/startup.sh diff --git a/localdev/ubuntu_setup.sh b/_develop/localdev/ubuntu_setup.sh similarity index 100% rename from localdev/ubuntu_setup.sh rename to _develop/localdev/ubuntu_setup.sh diff --git a/debug/curl/api_token_tests.py b/_develop/testing/curl/api_token_tests.py similarity index 100% rename from debug/curl/api_token_tests.py rename to _develop/testing/curl/api_token_tests.py diff --git a/debug/curl/category_tests.py b/_develop/testing/curl/category_tests.py similarity index 100% rename from debug/curl/category_tests.py rename to _develop/testing/curl/category_tests.py diff --git a/debug/curl/create_account_1.sh b/_develop/testing/curl/create_account_1.sh similarity index 100% rename from debug/curl/create_account_1.sh rename to _develop/testing/curl/create_account_1.sh diff --git a/debug/curl/create_account_2.sh b/_develop/testing/curl/create_account_2.sh similarity index 100% rename from debug/curl/create_account_2.sh rename to _develop/testing/curl/create_account_2.sh diff --git a/debug/curl/create_account_reserved.sh b/_develop/testing/curl/create_account_reserved.sh similarity index 100% rename from debug/curl/create_account_reserved.sh rename to _develop/testing/curl/create_account_reserved.sh diff --git a/debug/curl/infer_tts.py b/_develop/testing/curl/infer_tts.py similarity index 100% rename from debug/curl/infer_tts.py rename to _develop/testing/curl/infer_tts.py diff --git a/debug/curl/infer_w2l.py b/_develop/testing/curl/infer_w2l.py similarity index 100% rename from debug/curl/infer_w2l.py rename to _develop/testing/curl/infer_w2l.py diff --git a/debug/curl/login_bad_password.sh b/_develop/testing/curl/login_bad_password.sh similarity index 100% rename from debug/curl/login_bad_password.sh rename to _develop/testing/curl/login_bad_password.sh diff --git a/debug/curl/login_bad_username.sh b/_develop/testing/curl/login_bad_username.sh similarity index 100% rename from debug/curl/login_bad_username.sh rename to _develop/testing/curl/login_bad_username.sh diff --git a/debug/curl/login_email.sh b/_develop/testing/curl/login_email.sh similarity index 100% rename from debug/curl/login_email.sh rename to _develop/testing/curl/login_email.sh diff --git a/debug/curl/login_username.sh b/_develop/testing/curl/login_username.sh similarity index 100% rename from debug/curl/login_username.sh rename to _develop/testing/curl/login_username.sh diff --git a/debug/curl/logout_roundtrip.py b/_develop/testing/curl/logout_roundtrip.py similarity index 100% rename from debug/curl/logout_roundtrip.py rename to _develop/testing/curl/logout_roundtrip.py diff --git a/debug/curl/seed.py b/_develop/testing/curl/seed.py similarity index 100% rename from debug/curl/seed.py rename to _develop/testing/curl/seed.py diff --git a/debug/curl/session_info.py b/_develop/testing/curl/session_info.py similarity index 100% rename from debug/curl/session_info.py rename to _develop/testing/curl/session_info.py diff --git a/debug/curl/twitch_event_rule_tests.py b/_develop/testing/curl/twitch_event_rule_tests.py similarity index 100% rename from debug/curl/twitch_event_rule_tests.py rename to _develop/testing/curl/twitch_event_rule_tests.py diff --git a/debug/curl/upload_tts.py b/_develop/testing/curl/upload_tts.py similarity index 100% rename from debug/curl/upload_tts.py rename to _develop/testing/curl/upload_tts.py diff --git a/debug/curl/upload_tts_gdrive.py b/_develop/testing/curl/upload_tts_gdrive.py similarity index 100% rename from debug/curl/upload_tts_gdrive.py rename to _develop/testing/curl/upload_tts_gdrive.py diff --git a/debug/curl/upload_w2l.py b/_develop/testing/curl/upload_w2l.py similarity index 100% rename from debug/curl/upload_w2l.py rename to _develop/testing/curl/upload_w2l.py diff --git a/debug/curl/upload_w2l_image_gdrive.py b/_develop/testing/curl/upload_w2l_image_gdrive.py similarity index 100% rename from debug/curl/upload_w2l_image_gdrive.py rename to _develop/testing/curl/upload_w2l_image_gdrive.py diff --git a/debug/curl/upload_w2l_lots_of_data.py b/_develop/testing/curl/upload_w2l_lots_of_data.py similarity index 100% rename from debug/curl/upload_w2l_lots_of_data.py rename to _develop/testing/curl/upload_w2l_lots_of_data.py diff --git a/debug/curl/upload_w2l_video_gdrive.py b/_develop/testing/curl/upload_w2l_video_gdrive.py similarity index 100% rename from debug/curl/upload_w2l_video_gdrive.py rename to _develop/testing/curl/upload_w2l_video_gdrive.py diff --git a/debug/mysql/badges.sh b/_develop/testing/mysql/badges.sh similarity index 100% rename from debug/mysql/badges.sh rename to _develop/testing/mysql/badges.sh diff --git a/debug/mysql/ip_bans.sh b/_develop/testing/mysql/ip_bans.sh similarity index 100% rename from debug/mysql/ip_bans.sh rename to _develop/testing/mysql/ip_bans.sh diff --git a/debug/mysql/last_firehose_events.sh b/_develop/testing/mysql/last_firehose_events.sh similarity index 100% rename from debug/mysql/last_firehose_events.sh rename to _develop/testing/mysql/last_firehose_events.sh diff --git a/debug/mysql/last_session.sh b/_develop/testing/mysql/last_session.sh similarity index 100% rename from debug/mysql/last_session.sh rename to _develop/testing/mysql/last_session.sh diff --git a/debug/mysql/last_tts_inference_job.sh b/_develop/testing/mysql/last_tts_inference_job.sh similarity index 100% rename from debug/mysql/last_tts_inference_job.sh rename to _develop/testing/mysql/last_tts_inference_job.sh diff --git a/debug/mysql/last_tts_inference_results.sh b/_develop/testing/mysql/last_tts_inference_results.sh similarity index 100% rename from debug/mysql/last_tts_inference_results.sh rename to _develop/testing/mysql/last_tts_inference_results.sh diff --git a/debug/mysql/last_tts_model.sh b/_develop/testing/mysql/last_tts_model.sh similarity index 100% rename from debug/mysql/last_tts_model.sh rename to _develop/testing/mysql/last_tts_model.sh diff --git a/debug/mysql/last_tts_upload.sh b/_develop/testing/mysql/last_tts_upload.sh similarity index 100% rename from debug/mysql/last_tts_upload.sh rename to _develop/testing/mysql/last_tts_upload.sh diff --git a/debug/mysql/last_user.sh b/_develop/testing/mysql/last_user.sh similarity index 100% rename from debug/mysql/last_user.sh rename to _develop/testing/mysql/last_user.sh diff --git a/debug/mysql/last_w2l_inference_job.sh b/_develop/testing/mysql/last_w2l_inference_job.sh similarity index 100% rename from debug/mysql/last_w2l_inference_job.sh rename to _develop/testing/mysql/last_w2l_inference_job.sh diff --git a/debug/mysql/last_w2l_inference_results.sh b/_develop/testing/mysql/last_w2l_inference_results.sh similarity index 100% rename from debug/mysql/last_w2l_inference_results.sh rename to _develop/testing/mysql/last_w2l_inference_results.sh diff --git a/debug/mysql/last_w2l_template.sh b/_develop/testing/mysql/last_w2l_template.sh similarity index 100% rename from debug/mysql/last_w2l_template.sh rename to _develop/testing/mysql/last_w2l_template.sh diff --git a/debug/mysql/last_w2l_upload.sh b/_develop/testing/mysql/last_w2l_upload.sh similarity index 100% rename from debug/mysql/last_w2l_upload.sh rename to _develop/testing/mysql/last_w2l_upload.sh diff --git a/debug/mysql/roles.sh b/_develop/testing/mysql/roles.sh similarity index 100% rename from debug/mysql/roles.sh rename to _develop/testing/mysql/roles.sh diff --git a/debug/mysql/set_admin.sh b/_develop/testing/mysql/set_admin.sh similarity index 100% rename from debug/mysql/set_admin.sh rename to _develop/testing/mysql/set_admin.sh diff --git a/debug/mysql/set_regular_user.sh b/_develop/testing/mysql/set_regular_user.sh similarity index 100% rename from debug/mysql/set_regular_user.sh rename to _develop/testing/mysql/set_regular_user.sh diff --git a/debug/mysql/tts_results_synthetic_ids.sh b/_develop/testing/mysql/tts_results_synthetic_ids.sh similarity index 100% rename from debug/mysql/tts_results_synthetic_ids.sh rename to _develop/testing/mysql/tts_results_synthetic_ids.sh diff --git a/tools/delete_tts_inference_jobs.py b/_develop/tools/delete_tts_inference_jobs.py similarity index 100% rename from tools/delete_tts_inference_jobs.py rename to _develop/tools/delete_tts_inference_jobs.py diff --git a/seed/bootstrap_inserts_roles_etc.sh b/_sql/seed/bootstrap_inserts_roles_etc.sh similarity index 100% rename from seed/bootstrap_inserts_roles_etc.sh rename to _sql/seed/bootstrap_inserts_roles_etc.sh diff --git a/seed/sql/system_roles.sql b/_sql/seed/sql/system_roles.sql similarity index 100% rename from seed/sql/system_roles.sql rename to _sql/seed/sql/system_roles.sql diff --git a/seed/sql/user_badges.sql b/_sql/seed/sql/user_badges.sql similarity index 100% rename from seed/sql/user_badges.sql rename to _sql/seed/sql/user_badges.sql