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

Hash local package name #2600

Merged
merged 2 commits into from
Jun 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## dbt 0.17.1 (Release TBD)

### Fixes
- Hash name of local packages ([#2600](https:/fishtown-analytics/dbt/pull/2600))

## dbt 0.17.1rc2 (June 25, 2020)


Expand Down
1 change: 1 addition & 0 deletions core/dbt/task/deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def track_package_install(
# Hub packages do not need to be hashed, as they are public
# Use the string 'local' for local package versions
if source_type == 'local':
package_name = dbt.utils.md5(package_name)
version = 'local'
elif source_type != 'hub':
package_name = dbt.utils.md5(package_name)
Expand Down