Skip to content
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

Behavior of dbt init --profile #4080

Closed
FishtownBuildBot opened this issue Sep 15, 2023 · 0 comments · Fixed by #4143
Closed

Behavior of dbt init --profile #4080

FishtownBuildBot opened this issue Sep 15, 2023 · 0 comments · Fixed by #4143
Assignees
Labels
content Improvements or additions to content dbt Core The changes proposed in this issue relate to dbt Core dbt-core v1.7 Docs impact for the v1.7 release (Oct 2023) improvement Use this when an area of the docs needs improvement as it's currently unclear

Comments

@FishtownBuildBot
Copy link

FishtownBuildBot commented Sep 15, 2023

Pages to update

https://docs.getdbt.com/reference/commands/init#new-project

Description

If --profile is specified with dbt init, and the profile exists (in profiles.yml), initialize the project with that as the profile: key, instead of creating a new profile.

If the profile does not exist (in profiles.yml), or the command is run inside an existing project, the command raises an error.

dbt-core PR

dbt-labs/dbt-core#7450

@runleonarun runleonarun added content Improvements or additions to content improvement Use this when an area of the docs needs improvement as it's currently unclear dbt Core The changes proposed in this issue relate to dbt Core labels Sep 15, 2023
@jtcohen6 jtcohen6 added idea Proposes an idea for new content dbt-core v1.7 Docs impact for the v1.7 release (Oct 2023) labels Sep 15, 2023
@jtcohen6 jtcohen6 added this to the dbt Core v1.7 Documentation milestone Sep 15, 2023
@jtcohen6 jtcohen6 changed the title Docs Changes Needed from dbt-core PR #7450 Behavior of dbt init --profile Sep 19, 2023
@matthewshaver matthewshaver self-assigned this Sep 27, 2023
@matthewshaver matthewshaver linked a pull request Sep 27, 2023 that will close this issue
3 tasks
matthewshaver added a commit that referenced this issue Oct 10, 2023
## What are you changing in this pull request and why?

Adding info from[ this
issue](#4080) around
`dbt init --profile`

## Checklist
- [x] Add versioning components, as described in [Versioning
Docs](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#versioning-entire-pages)

- [x] Review the [Content style
guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md)
and [About
versioning](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version)
so my content adheres to these guidelines.
- [x] Add a checklist item for anything that needs to happen before this
PR is merged, such as "needs technical review" or "change base branch."
@runleonarun runleonarun removed the idea Proposes an idea for new content label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Improvements or additions to content dbt Core The changes proposed in this issue relate to dbt Core dbt-core v1.7 Docs impact for the v1.7 release (Oct 2023) improvement Use this when an area of the docs needs improvement as it's currently unclear
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants