-
Notifications
You must be signed in to change notification settings - Fork 969
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
Simplify recommendations for using packages.yml
and dependencies.yml
#6129
Comments
hey @dbeatty10 , this is a great issue! however, i believe we added additional caveat details like jinja, etc. because users raised this as a point of confusion and wanting to understand why jinja rendering isn't allowed in dependencies.yml (slack thread). so based a couple of user thread/tickets i recall, it think it's best to keep the jinja,private packages caveats since they did come up multiple times before we added those caveats. so erring on the side of overcommunicating so users can self-answer any questions they have via the docs, rather than raise a ticket or question. I'll close this issue for now, but let me know if you have any thoughts and i appreciate you opening this up! |
Very good points! My main thought is that there's no special information needed if users just split their packages and mesh dependencies across two files: But right now, a user would have to read the entire page to come to that conclusion. So I'm wondering if there's some way we could lead with the "short story" (just use two different files!)? And then provide the full details either in a separate page or further down on the same page. Maybe something like this?
|
oh i see, yea that's a good idea! I've re-opened this, thanks for explaining @dbeatty10 ! |
Contributions
Link to the page on docs.getdbt.com requiring updates
https://docs.getdbt.com/docs/collaborate/govern/project-dependencies#use-cases
What part(s) of the page would you like to see updated?
db users have (4) choices as it relates to
packages.yml
anddependencies.yml
files:packages.yml
nordependencies.yml
packages.yml
dependencies.yml
packages.yml
anddependencies.yml
** If both files exist, then only one of them can define the
packages:
key (i.e.,packages.yml
!).To me, the most simple instructions would be:
packages.yml
dependencies.yml
That would keep things very understandable without needing to get into the details of caveats like Jinja, private packages, etc.
Additional information
See also: #6029
Relevant GitHub issues:
The text was updated successfully, but these errors were encountered: