dbt-labs / hubcap

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

Rename dbtvault to AutomateDV #258

Closed DVAlexHiggs closed 1 year ago

DVAlexHiggs commented 1 year ago

Update dbtvault to AutomateDV for rebrand No other changes otherwise

Corresponding hub.getdbt.com PR: https://github.com/dbt-labs/hub.getdbt.com/pull/2470

dbeatty10 commented 1 year ago

@DVAlexHiggs I realized after the fact that this needed to be reverted in #260 -- sorry I didn't notice this earlier!

Which name(s) are you hoping to replace? There's two options:

  1. dbt package name
  2. GitHub repo name

These are not mutually exclusive -- you could choose to do both.

The instructions below are assuming you only want to update the dbt package name. Let me know if you want to do something different than that, and I can explain renaming the GitHub repo.

Renaming a dbt package

In the Hub website, it will display the name from this line. It is also the name that will be used when calling a macro like this:

{{ dbtvault.hub(src_pk, src_nk, src_ldts, src_source, source_model) }}

This name MAY have underscores, but it MUST NOT have dashes.

So either of these would be valid dbt package names:

But this would not:

Renaming a dbt package on hub.getdbt.com

Here's an example of a package rename:

  1. https://github.com/elementary-data/dbt-data-reliability/commit/e4d837d16a86a3da5c209bcb45751249ba331d45
  2. https://github.com/dbt-labs/hub.getdbt.com/pull/1461/files
DVAlexHiggs commented 1 year ago

@DVAlexHiggs I realized after the fact that this needed to be reverted in #260 -- sorry I didn't notice this earlier!

Which name(s) are you hoping to replace? There's two options:

  1. dbt package name
  2. GitHub repo name

These are not mutually exclusive -- you could choose to do both.

The instructions below are assuming you only want to update the dbt package name. Let me know if you want to do something different than that, and I can explain renaming the GitHub repo.

Renaming a dbt package

In the Hub website, it will display the name from this line. It is also the name that will be used when calling a macro like this:

{{ dbtvault.hub(src_pk, src_nk, src_ldts, src_source, source_model) }}

This name MAY have underscores, but it MUST NOT have dashes.

So either of these would be valid dbt package names:

  • automatedv
  • automate_dv

But this would not:

  • automate-dv

Renaming a dbt package on hub.getdbt.com

Here's an example of a package rename:

  1. elementary-data/dbt-data-reliability@e4d837d
  2. https://github.com/dbt-labs/hub.getdbt.com/pull/1461/files

@dbeatty10 Thanks for this.

We do want to do both:

  1. Rename the GitHub repository to: automate-dv
  2. Rename the package to automate_dv

So, the way I understand it for 1, I need to of course rename the repository, and then add a redirectname to the index.json over on hub.getdbt.com.

For 2, update the dbt_project.yml in the main repo?

Thanks

DVAlexHiggs commented 1 year ago

Hi @dbeatty10 We're now seeing two packages on dbt hub, both automate-dv and dbtvault.

Ideally we'd only have the 1, automate-dv which anyone still using dbtvault would redirect to. Please see my above comment.

I believe the PR on hub.getdbt.com may fix this? https://github.com/dbt-labs/hub.getdbt.com/pull/2470

Thanks!

dbeatty10 commented 1 year ago

@DVAlexHiggs https://github.com/dbt-labs/hub.getdbt.com/pull/2470 is merged and deployed now so it's back down to a single package -- please reach out if you notice anything else unaddressed.

image

Anyone that has a legacy URL will see this message:

image
DVAlexHiggs commented 1 year ago

@dbeatty10 Thanks very much! Appreciate the assistance