dbt-labs / hubcap

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

Document instructions how to rename a package #284

Open dbeatty10 opened 1 year ago

dbeatty10 commented 1 year ago

There are some pre-existing instructions here, but they should be more explicit, imo.

Based on https://github.com/dbt-labs/hub.getdbt.com/pull/1539/files, it looks like the process is similar to:

Example

  1. Original dbt_package.yml file created within a GitHub repo named CerebriumAI/airbyte_dbt_github
    • github org name: CerebriumAI
    • github repo name: airbyte_dbt_github
    • dbt package name: github
  2. Repo for package added to hub.json
    • github org name: CerebriumAI
    • github repo name: airbyte_dbt_github
  3. Changed dbt package name from github to airbyte_github
    • github org name: CerebriumAI
    • github repo name: airbyte_dbt_github
    • dbt package name: airbyte_github
  4. Updated data/blocklist.json and data/packages/ORG_NAME/OLD_PACKAGE_NAME/index.json to redirect to new dbt package name