Skip to content

Commit

Permalink
Merge pull request #2600 from fishtown-analytics/fix/package-tracking
Browse files Browse the repository at this point in the history
Hash local package name
  • Loading branch information
Claire Carroll authored Jun 29, 2020
2 parents 42e582a + 9c0ff93 commit e7298d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
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://github.com/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

0 comments on commit e7298d6

Please sign in to comment.