-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Validate project names in interactive dbt init #4536
Validate project names in interactive dbt init #4536
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amirkdv Thanks for contributing this!! Love the thoughtful functions and tests!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @ChenyuLInx for the comments! I applied the suggested change and responded to your question. Let me know if I misunderstood the scenario you were describing!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me!
@amirkdv seems like there's a conflict blocking us from merging it, can you resolve it whenever you have a chance? |
- workflow: ask the user to provide a valid project name until they do. - new integration tests - supported scenarios: - dbt init - dbt init -s - dbt init [name] - dbt init [name] -s
Co-authored-by: Chenyu Li <[email protected]>
I rebased and force-pushed to my branch. I think there was a file name change in main ( |
Awesome!! Thanks!! I started the checks! |
* Validate project names in interactive dbt init - workflow: ask the user to provide a valid project name until they do. - new integration tests - supported scenarios: - dbt init - dbt init -s - dbt init [name] - dbt init [name] -s * Update Changelog.md * Add full URLs to CHANGELOG.md Co-authored-by: Chenyu Li <[email protected]> Co-authored-by: Chenyu Li <[email protected]>
* Validate project names in interactive dbt init - workflow: ask the user to provide a valid project name until they do. - new integration tests - supported scenarios: - dbt init - dbt init -s - dbt init [name] - dbt init [name] -s * Update Changelog.md * Add full URLs to CHANGELOG.md Co-authored-by: Chenyu Li <[email protected]> Co-authored-by: Chenyu Li <[email protected]> Co-authored-by: Amir Kadivar <[email protected]>
resolves #4490
Description
This PR adds project name validation to
dbt init
.dbt init
dbt init -s
dbt init [name]
dbt init [name] -s
Checklist
CHANGELOG.md
and added information about my change