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

detect deps with the same name as the root #2030

Merged
merged 2 commits into from
Jan 5, 2020

Conversation

beckjake
Copy link
Contributor

@beckjake beckjake commented Jan 4, 2020

fixes #2029

dbt already detected when you ran dbt deps if multiple dependencies shared a name, but it did not detect if a dependency shared a name with the root project. This adds that detection, and adds a second check in case the user has already run dbt deps, or manually populated the dbt_modules path, or changes the root project name, etc. I tweaked the dependency message a bit to match the existing message when two deps have the same name - obviously fine to change it if that's what's desired!

@cla-bot cla-bot bot added the cla:yes label Jan 4, 2020
Copy link
Contributor

@drewbanin drewbanin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, ship it when the tests pass!

@beckjake beckjake merged commit 39f92e5 into dev/barbara-gittings Jan 5, 2020
@beckjake beckjake deleted the fix/detect-deps-same-name-as-root branch January 8, 2020 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants