-
Notifications
You must be signed in to change notification settings - Fork 976
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Core] Fix content in table for available flags (global configs) #5111
Comments
dbeatty10
added
content
Improvements or additions to content
dbt Core
The changes proposed in this issue relate to dbt Core
labels
Mar 19, 2024
This was referenced Mar 19, 2024
|
😆 You need to use this all the time now. |
dbeatty10
added a commit
that referenced
this issue
Mar 20, 2024
[Preview](https://docs-getdbt-com-git-dbeatty10-patch-1-dbt-labs.vercel.app/reference/global-configs/about-global-configs#available-flags) ## What are you changing in this pull request and why? See #5111 These are not accurate: 1. Default for `target_path` 1. Default for `target` 1. Type for `target` The problem for the first two is that the content is flip-flopped. So this PR just does that swap. The problem for the last one is that `target` also should be `string`, not `path` (as mentioned by #5111 (comment)). ## 🎩 Here's what it looks like after the fixes in this PR: <img width="802" alt="image" src="https://github.com/dbt-labs/docs.getdbt.com/assets/44704949/38ade179-e733-46f4-950a-d1d4db1e325b"> ## Checklist - [x] Review the [Content style guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md) so my content adheres to these guidelines.
dbeatty10
added a commit
that referenced
this issue
Mar 20, 2024
[Preview](https://docs-getdbt-com-git-dbeatty10-patch-2-dbt-labs.vercel.app/reference/global-configs/about-global-configs#available-flags) ## What are you changing in this pull request and why? See #5111 These two things are not accurate: 1. `DBT_TARGET` won't be available until [dbt-core #9081](dbt-labs/dbt-core#9081) is merged+released 1. `DBT_PROFILE` won't be available until [dbt-core #9081](dbt-labs/dbt-core#9081) is merged+released So this PR just removes those environment variable names until then. ## 🎩 After the fix: <img width="600" alt="image" src="https://github.com/dbt-labs/docs.getdbt.com/assets/44704949/8ffdf967-604d-4686-ab4b-0e295dfea7a0"> ... <img width="600" alt="image" src="https://github.com/dbt-labs/docs.getdbt.com/assets/44704949/0e522215-d8be-48ce-bb54-d2568e2e9479"> ... <img width="600" alt="image" src="https://github.com/dbt-labs/docs.getdbt.com/assets/44704949/d58129d0-44c2-481e-a8bb-274fd1276c90"> ## To do - [x] Wait for #5112 to be merged ## Checklist - [x] Review the [Content style guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md) so my content adheres to these guidelines.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Link to the page(s) on docs.getdbt.com requiring updates
https://docs.getdbt.com/reference/global-configs/about-global-configs#available-flags
Tell us more about this update
Here's what it is currently:
target_path
DBT_TARGET_PATH
--target-path
profiles_dir
HOME
dir)DBT_PROFILES_DIR
--profiles-dir
target
target/
)DBT_TARGET
--target
profile
DBT_PROFILE
--profile
Five things are not accurate:
target_path
target
target
DBT_TARGET
won't be available until Add --target and --profile to global config dbt-core#9081 is merged+releasedDBT_PROFILE
won't be available until Add --target and --profile to global config dbt-core#9081 is merged+releasedHere's what it should be instead (until dbt-labs/dbt-core#9081 is merged+released):
target_path
target/
)DBT_TARGET_PATH
--target-path
profiles_dir
HOME
dir)DBT_PROFILES_DIR
--profiles-dir
target
--target
profile
--profile
Reviewers/Stakeholders/SMEs
Doug E. Fresh 😎
Related GitHub issues
dbt-labs/dbt-core#9081 (comment)
Additional information
No response
The text was updated successfully, but these errors were encountered: