dbt-labs / hubcap

This app adds modules to the hubsite at hub.getdbt.com
13 stars 100 forks source link

Hubcap needs to know about dependencies.yml #275

Closed joellabes closed 1 year ago

joellabes commented 1 year ago

https://github.com/dbt-labs/dbt-core/issues/7631 / https://github.com/dbt-labs/dbt-core/issues/7372 added the ability for package dependencies to be defined in dependencies.yml.

Hubcap needs to know to check that file's packages block as well.

It also needs to enforce the rules/outcomes listed here, especially the rule about only one of packages.yml and dependencies.yml being allowed to contain a packages key. I suspect that will need to be through duplication of logic as opposed to being able to just use dbt-core's logic, which is unfortunate.