[Feature] Only create the packages-install-path
/ dbt_packages
folder if there are packages to install
#9584
Closed
3 tasks done
Labels
enhancement
New feature or request
file_system
How dbt-core interoperates with file systems to read/write data
help_wanted
Trickier changes, with a clear starting point, good for previous/experienced contributors
Is this your first time submitting a feature request?
Describe the feature
Even if you don't have a
packages.yml
file, dbt will create adbt_packages
folder whenever you run a dbt command.Rather, it should only create this directory when running
dbt deps
(and only if there is at least one package to install).Describe alternatives you've considered
It doesn't do much harm to have an empty
dbt_packages
, but it does feel like unnecessary cruft in the current working directory.Who will this benefit?
No response
Are you interested in contributing this feature?
No response
Anything else?
See also: #6985
Here's an example of the extra folder in the dbt Cloud IDE:
The text was updated successfully, but these errors were encountered: