├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ ├── ci-tests-pytest.yml │ ├── publish-docs-main.yml │ ├── publish-docs-release.yml │ └── publish.yml ├── .gitignore ├── .pre-commit-config.yaml ├── LICENSE ├── README.md ├── conf.py ├── dbt_meshify ├── .gitignore ├── __init__.py ├── change.py ├── change_set_processor.py ├── cli.py ├── dbt.py ├── dbt_projects.py ├── exceptions.py ├── main.py ├── storage │ ├── __init__.py │ ├── dbt_project_editors.py │ ├── file_content_editors.py │ ├── file_manager.py │ └── jinja_blocks.py └── utilities │ ├── __init__.py │ ├── contractor.py │ ├── dependencies.py │ ├── grouper.py │ ├── linker.py │ ├── references.py │ └── versioner.py ├── dev-requirements.txt ├── docs ├── assets │ └── dbt-logo.svg ├── commands.md ├── examples.md └── index.md ├── mkdocs.yml ├── poetry.lock ├── pyproject.toml ├── pytest.ini ├── test-projects ├── source-hack │ ├── dest_proj_a │ │ ├── .gitignore │ │ ├── .user.yml │ │ ├── README.md │ │ ├── analyses │ │ │ └── .gitkeep │ │ ├── dbt_project.yml │ │ ├── macros │ │ │ └── .gitkeep │ │ ├── models │ │ │ ├── downstream_model.sql │ │ │ └── downstream_model_2.sql │ │ ├── package-lock.yml │ │ ├── packages.yml │ │ ├── profiles.yml │ │ ├── seeds │ │ │ └── .gitkeep │ │ ├── snapshots │ │ │ └── .gitkeep │ │ └── tests │ │ │ └── .gitkeep │ ├── dest_proj_b │ │ ├── .gitignore │ │ ├── .user.yml │ │ ├── README.md │ │ ├── analyses │ │ │ └── .gitkeep │ │ ├── dbt_project.yml │ │ ├── macros │ │ │ └── .gitkeep │ │ ├── models │ │ │ └── downstream_model.sql │ │ ├── profiles.yml │ │ ├── seeds │ │ │ └── .gitkeep │ │ ├── snapshots │ │ │ └── .gitkeep │ │ └── tests │ │ │ └── .gitkeep │ ├── src_proj_a │ │ ├── .gitignore │ │ ├── .user.yml │ │ ├── README.md │ │ ├── analyses │ │ │ └── .gitkeep │ │ ├── dbt_project.yml │ │ ├── macros │ │ │ └── .gitkeep │ │ ├── models │ │ │ ├── new_model.sql │ │ │ └── shared_model.sql │ │ ├── package-lock.yml │ │ ├── packages.yml │ │ ├── profiles.yml │ │ ├── seeds │ │ │ └── .gitkeep │ │ ├── snapshots │ │ │ └── .gitkeep │ │ └── tests │ │ │ └── .gitkeep │ └── src_proj_b │ │ ├── .gitignore │ │ ├── .user.yml │ │ ├── README.md │ │ ├── analyses │ │ └── .gitkeep │ │ ├── dbt_project.yml │ │ ├── macros │ │ └── .gitkeep │ │ ├── models │ │ ├── _sources.yml │ │ └── downstream_model.sql │ │ ├── profiles.yml │ │ ├── seeds │ │ └── .gitkeep │ │ ├── snapshots │ │ └── .gitkeep │ │ └── tests │ │ └── .gitkeep └── split │ └── split_proj │ ├── .gitignore │ ├── .user.yml │ ├── README.md │ ├── analyses │ └── .gitkeep │ ├── dbt_project.yml │ ├── jaffle_data │ ├── .gitkeep │ ├── raw_customers.csv │ ├── raw_items.csv │ ├── raw_orders.csv │ ├── raw_products.csv │ ├── raw_stores.csv │ └── raw_supplies.csv │ ├── macros │ ├── .gitkeep │ ├── _macros.yml │ ├── cents_to_dollars.sql │ ├── redirect.sql │ └── type_numeric.sql │ ├── models │ ├── docs.md │ ├── marts │ │ ├── __exposures.yml │ │ ├── __models.yml │ │ ├── __semantic_models.yml │ │ ├── customer_status_histories.py │ │ ├── customers.sql │ │ ├── leaf_node.sql │ │ ├── metricflow_time_spine.sql │ │ └── orders.sql │ └── staging │ │ ├── __models.yml │ │ ├── __sources.yml │ │ ├── stg_customers.sql │ │ ├── stg_locations.sql │ │ ├── stg_order_items.sql │ │ ├── stg_orders.sql │ │ ├── stg_products.sql │ │ └── stg_supplies.sql │ ├── package-lock.yml │ ├── packages.yml │ ├── profiles.yml │ ├── snapshots │ └── .gitkeep │ └── tests │ ├── .gitkeep │ └── generic │ └── custom_generic_test.sql └── tests ├── __init__.py ├── conftest.py ├── dbt_project_fixtures.py ├── dbt_project_utils.py ├── integration ├── __init__.py ├── test_cli_group.py ├── test_connect_command.py ├── test_contract_command.py ├── test_create_group_command.py ├── test_dependency_detection.py ├── test_group_command.py ├── test_split_command.py ├── test_subproject_creator.py └── test_version_command.py ├── sql_and_yml_fixtures.py └── unit ├── __init__.py ├── test_add_contract_to_yml.py ├── test_add_group_and_access_to_model_yml.py ├── test_add_group_to_yml.py ├── test_add_version_to_yml.py ├── test_dbt_projects.py ├── test_file_managers.py ├── test_jinja_blocks.py ├── test_move_yml_entries.py ├── test_named_lists.py ├── test_resource_file_editor.py ├── test_resource_grouper_classification.py └── test_update_ref_functions.py /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @dbt-labs/dx 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/ci-tests-pytest.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/.github/workflows/ci-tests-pytest.yml -------------------------------------------------------------------------------- /.github/workflows/publish-docs-main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/.github/workflows/publish-docs-main.yml -------------------------------------------------------------------------------- /.github/workflows/publish-docs-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/.github/workflows/publish-docs-release.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/README.md -------------------------------------------------------------------------------- /conf.py: -------------------------------------------------------------------------------- 1 | extensions = ['sphinx_click'] 2 | -------------------------------------------------------------------------------- /dbt_meshify/.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__ -------------------------------------------------------------------------------- /dbt_meshify/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dbt_meshify/change.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/dbt_meshify/change.py -------------------------------------------------------------------------------- /dbt_meshify/change_set_processor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/dbt_meshify/change_set_processor.py -------------------------------------------------------------------------------- /dbt_meshify/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/dbt_meshify/cli.py -------------------------------------------------------------------------------- /dbt_meshify/dbt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/dbt_meshify/dbt.py -------------------------------------------------------------------------------- /dbt_meshify/dbt_projects.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/dbt_meshify/dbt_projects.py -------------------------------------------------------------------------------- /dbt_meshify/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/dbt_meshify/exceptions.py -------------------------------------------------------------------------------- /dbt_meshify/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/dbt_meshify/main.py -------------------------------------------------------------------------------- /dbt_meshify/storage/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dbt_meshify/storage/dbt_project_editors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/dbt_meshify/storage/dbt_project_editors.py -------------------------------------------------------------------------------- /dbt_meshify/storage/file_content_editors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/dbt_meshify/storage/file_content_editors.py -------------------------------------------------------------------------------- /dbt_meshify/storage/file_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/dbt_meshify/storage/file_manager.py -------------------------------------------------------------------------------- /dbt_meshify/storage/jinja_blocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/dbt_meshify/storage/jinja_blocks.py -------------------------------------------------------------------------------- /dbt_meshify/utilities/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dbt_meshify/utilities/contractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/dbt_meshify/utilities/contractor.py -------------------------------------------------------------------------------- /dbt_meshify/utilities/dependencies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/dbt_meshify/utilities/dependencies.py -------------------------------------------------------------------------------- /dbt_meshify/utilities/grouper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/dbt_meshify/utilities/grouper.py -------------------------------------------------------------------------------- /dbt_meshify/utilities/linker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/dbt_meshify/utilities/linker.py -------------------------------------------------------------------------------- /dbt_meshify/utilities/references.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/dbt_meshify/utilities/references.py -------------------------------------------------------------------------------- /dbt_meshify/utilities/versioner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/dbt_meshify/utilities/versioner.py -------------------------------------------------------------------------------- /dev-requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/dev-requirements.txt -------------------------------------------------------------------------------- /docs/assets/dbt-logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/docs/assets/dbt-logo.svg -------------------------------------------------------------------------------- /docs/commands.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/docs/commands.md -------------------------------------------------------------------------------- /docs/examples.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/docs/examples.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/docs/index.md -------------------------------------------------------------------------------- /mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/mkdocs.yml -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/pyproject.toml -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/pytest.ini -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_a/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/source-hack/dest_proj_a/.gitignore -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_a/.user.yml: -------------------------------------------------------------------------------- 1 | id: 9a1e4f89-fab9-46bd-ae40-90a28a41ae8a 2 | -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_a/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/source-hack/dest_proj_a/README.md -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_a/analyses/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_a/dbt_project.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/source-hack/dest_proj_a/dbt_project.yml -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_a/macros/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_a/models/downstream_model.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/source-hack/dest_proj_a/models/downstream_model.sql -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_a/models/downstream_model_2.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/source-hack/dest_proj_a/models/downstream_model_2.sql -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_a/package-lock.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/source-hack/dest_proj_a/package-lock.yml -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_a/packages.yml: -------------------------------------------------------------------------------- 1 | packages: 2 | - local: ../src_proj_a 3 | -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_a/profiles.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/source-hack/dest_proj_a/profiles.yml -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_a/seeds/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_a/snapshots/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_a/tests/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_b/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | target/ 3 | dbt_packages/ 4 | logs/ 5 | -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_b/.user.yml: -------------------------------------------------------------------------------- 1 | id: 9d149f56-cf27-4d94-815c-01a7bee0e8ca 2 | -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_b/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/source-hack/dest_proj_b/README.md -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_b/analyses/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_b/dbt_project.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/source-hack/dest_proj_b/dbt_project.yml -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_b/macros/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_b/models/downstream_model.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/source-hack/dest_proj_b/models/downstream_model.sql -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_b/profiles.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/source-hack/dest_proj_b/profiles.yml -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_b/seeds/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_b/snapshots/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/source-hack/dest_proj_b/tests/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_a/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/source-hack/src_proj_a/.gitignore -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_a/.user.yml: -------------------------------------------------------------------------------- 1 | id: 9a1e4f89-fab9-46bd-ae40-90a28a41ae8a 2 | -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_a/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/source-hack/src_proj_a/README.md -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_a/analyses/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_a/dbt_project.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/source-hack/src_proj_a/dbt_project.yml -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_a/macros/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_a/models/new_model.sql: -------------------------------------------------------------------------------- 1 | select 1 as id -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_a/models/shared_model.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/source-hack/src_proj_a/models/shared_model.sql -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_a/package-lock.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/source-hack/src_proj_a/package-lock.yml -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_a/packages.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/source-hack/src_proj_a/packages.yml -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_a/profiles.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/source-hack/src_proj_a/profiles.yml -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_a/seeds/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_a/snapshots/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_a/tests/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_b/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | target/ 3 | dbt_packages/ 4 | logs/ 5 | database.db -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_b/.user.yml: -------------------------------------------------------------------------------- 1 | id: 9d149f56-cf27-4d94-815c-01a7bee0e8ca 2 | -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_b/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/source-hack/src_proj_b/README.md -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_b/analyses/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_b/dbt_project.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/source-hack/src_proj_b/dbt_project.yml -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_b/macros/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_b/models/_sources.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/source-hack/src_proj_b/models/_sources.yml -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_b/models/downstream_model.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/source-hack/src_proj_b/models/downstream_model.sql -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_b/profiles.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/source-hack/src_proj_b/profiles.yml -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_b/seeds/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_b/snapshots/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/source-hack/src_proj_b/tests/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/split/split_proj/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/.gitignore -------------------------------------------------------------------------------- /test-projects/split/split_proj/.user.yml: -------------------------------------------------------------------------------- 1 | id: 2143744a-d841-4e4c-8b6d-70dd81a1e144 2 | -------------------------------------------------------------------------------- /test-projects/split/split_proj/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/README.md -------------------------------------------------------------------------------- /test-projects/split/split_proj/analyses/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/split/split_proj/dbt_project.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/dbt_project.yml -------------------------------------------------------------------------------- /test-projects/split/split_proj/jaffle_data/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/split/split_proj/jaffle_data/raw_customers.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/jaffle_data/raw_customers.csv -------------------------------------------------------------------------------- /test-projects/split/split_proj/jaffle_data/raw_items.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/jaffle_data/raw_items.csv -------------------------------------------------------------------------------- /test-projects/split/split_proj/jaffle_data/raw_orders.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/jaffle_data/raw_orders.csv -------------------------------------------------------------------------------- /test-projects/split/split_proj/jaffle_data/raw_products.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/jaffle_data/raw_products.csv -------------------------------------------------------------------------------- /test-projects/split/split_proj/jaffle_data/raw_stores.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/jaffle_data/raw_stores.csv -------------------------------------------------------------------------------- /test-projects/split/split_proj/jaffle_data/raw_supplies.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/jaffle_data/raw_supplies.csv -------------------------------------------------------------------------------- /test-projects/split/split_proj/macros/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/split/split_proj/macros/_macros.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/macros/_macros.yml -------------------------------------------------------------------------------- /test-projects/split/split_proj/macros/cents_to_dollars.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/macros/cents_to_dollars.sql -------------------------------------------------------------------------------- /test-projects/split/split_proj/macros/redirect.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/macros/redirect.sql -------------------------------------------------------------------------------- /test-projects/split/split_proj/macros/type_numeric.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/macros/type_numeric.sql -------------------------------------------------------------------------------- /test-projects/split/split_proj/models/docs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/models/docs.md -------------------------------------------------------------------------------- /test-projects/split/split_proj/models/marts/__exposures.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/models/marts/__exposures.yml -------------------------------------------------------------------------------- /test-projects/split/split_proj/models/marts/__models.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/models/marts/__models.yml -------------------------------------------------------------------------------- /test-projects/split/split_proj/models/marts/__semantic_models.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/models/marts/__semantic_models.yml -------------------------------------------------------------------------------- /test-projects/split/split_proj/models/marts/customer_status_histories.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/models/marts/customer_status_histories.py -------------------------------------------------------------------------------- /test-projects/split/split_proj/models/marts/customers.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/models/marts/customers.sql -------------------------------------------------------------------------------- /test-projects/split/split_proj/models/marts/leaf_node.sql: -------------------------------------------------------------------------------- 1 | select 1 as order_id -------------------------------------------------------------------------------- /test-projects/split/split_proj/models/marts/metricflow_time_spine.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/models/marts/metricflow_time_spine.sql -------------------------------------------------------------------------------- /test-projects/split/split_proj/models/marts/orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/models/marts/orders.sql -------------------------------------------------------------------------------- /test-projects/split/split_proj/models/staging/__models.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/models/staging/__models.yml -------------------------------------------------------------------------------- /test-projects/split/split_proj/models/staging/__sources.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/models/staging/__sources.yml -------------------------------------------------------------------------------- /test-projects/split/split_proj/models/staging/stg_customers.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/models/staging/stg_customers.sql -------------------------------------------------------------------------------- /test-projects/split/split_proj/models/staging/stg_locations.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/models/staging/stg_locations.sql -------------------------------------------------------------------------------- /test-projects/split/split_proj/models/staging/stg_order_items.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/models/staging/stg_order_items.sql -------------------------------------------------------------------------------- /test-projects/split/split_proj/models/staging/stg_orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/models/staging/stg_orders.sql -------------------------------------------------------------------------------- /test-projects/split/split_proj/models/staging/stg_products.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/models/staging/stg_products.sql -------------------------------------------------------------------------------- /test-projects/split/split_proj/models/staging/stg_supplies.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/models/staging/stg_supplies.sql -------------------------------------------------------------------------------- /test-projects/split/split_proj/package-lock.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/package-lock.yml -------------------------------------------------------------------------------- /test-projects/split/split_proj/packages.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/packages.yml -------------------------------------------------------------------------------- /test-projects/split/split_proj/profiles.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/profiles.yml -------------------------------------------------------------------------------- /test-projects/split/split_proj/snapshots/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/split/split_proj/tests/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-projects/split/split_proj/tests/generic/custom_generic_test.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/test-projects/split/split_proj/tests/generic/custom_generic_test.sql -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/dbt_project_fixtures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/dbt_project_fixtures.py -------------------------------------------------------------------------------- /tests/dbt_project_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/dbt_project_utils.py -------------------------------------------------------------------------------- /tests/integration/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integration/test_cli_group.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/integration/test_cli_group.py -------------------------------------------------------------------------------- /tests/integration/test_connect_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/integration/test_connect_command.py -------------------------------------------------------------------------------- /tests/integration/test_contract_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/integration/test_contract_command.py -------------------------------------------------------------------------------- /tests/integration/test_create_group_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/integration/test_create_group_command.py -------------------------------------------------------------------------------- /tests/integration/test_dependency_detection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/integration/test_dependency_detection.py -------------------------------------------------------------------------------- /tests/integration/test_group_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/integration/test_group_command.py -------------------------------------------------------------------------------- /tests/integration/test_split_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/integration/test_split_command.py -------------------------------------------------------------------------------- /tests/integration/test_subproject_creator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/integration/test_subproject_creator.py -------------------------------------------------------------------------------- /tests/integration/test_version_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/integration/test_version_command.py -------------------------------------------------------------------------------- /tests/sql_and_yml_fixtures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/sql_and_yml_fixtures.py -------------------------------------------------------------------------------- /tests/unit/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/unit/__init__.py -------------------------------------------------------------------------------- /tests/unit/test_add_contract_to_yml.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/unit/test_add_contract_to_yml.py -------------------------------------------------------------------------------- /tests/unit/test_add_group_and_access_to_model_yml.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/unit/test_add_group_and_access_to_model_yml.py -------------------------------------------------------------------------------- /tests/unit/test_add_group_to_yml.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/unit/test_add_group_to_yml.py -------------------------------------------------------------------------------- /tests/unit/test_add_version_to_yml.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/unit/test_add_version_to_yml.py -------------------------------------------------------------------------------- /tests/unit/test_dbt_projects.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/unit/test_dbt_projects.py -------------------------------------------------------------------------------- /tests/unit/test_file_managers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/unit/test_file_managers.py -------------------------------------------------------------------------------- /tests/unit/test_jinja_blocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/unit/test_jinja_blocks.py -------------------------------------------------------------------------------- /tests/unit/test_move_yml_entries.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/unit/test_move_yml_entries.py -------------------------------------------------------------------------------- /tests/unit/test_named_lists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/unit/test_named_lists.py -------------------------------------------------------------------------------- /tests/unit/test_resource_file_editor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/unit/test_resource_file_editor.py -------------------------------------------------------------------------------- /tests/unit/test_resource_grouper_classification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/unit/test_resource_grouper_classification.py -------------------------------------------------------------------------------- /tests/unit/test_update_ref_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dbt-labs/dbt-meshify/HEAD/tests/unit/test_update_ref_functions.py --------------------------------------------------------------------------------