question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Have a variant of dbt --version for packages to help identify outdated packages

See original GitHub issue

Describe the feature

dbt --version notifies you when there’s an updated version of dbt available to you. I’d love if there was an equivalent for packages (dbt --version packages?) which listed out each package (similar to #1236) but also checked the hub for updated versions.

Up to date:
  - fishtown-analytics/audit_helper 
      installed version: 0.3.0

  - fivetran/fivetran_log
      installed version: 0.3.1

Updates available:
  - fishtown-analytics/dbt_utils: 
      installed version: 0.6.6 
      latest version:    0.7.0

Update your versions in packages.yml, then run dbt deps

Additional context

  • Not sure if/how this would work for packages loaded via git directly
  • Not sure what should happen for packages installed via dependencies. E.g.
    • Should having calogica/dbt_expectations mean that calogica/dbt_date is shown? My guess: maybe
    • Should it show there’s an update available for dbt_date if it’s only installed via dependency? My guess: probably not - that’s for the dependency-creating package owner to deal with, and it’s probably not helpful to make people wonder how to update something they can’t control.

Who will this benefit?

People who would like the latest and greatest from their packages, but don’t want to manually go through the hub for their half-dozen different packages

Are you interested in contributing this feature?

Sure, given ample pointers!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
sungchun12commented, Aug 20, 2021

@joellabes Feel free to take a look at the pull request, and let me know if the terminal output examples solve the issue you’re seeing!

1reaction
joellabescommented, Aug 16, 2021

@sungchun12 I’m not likely to get to it in the next month or so, so if you want to jump in earlier then go for gold!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Have a variant of dbt --version for packages to help identify ...
dbt --version notifies you when there's an updated version of dbt available to you. I'd love if there was an equivalent for packages...
Read more >
Packages - dbt Developer Hub
Hub packages require a version to be specified – you can find the latest release number on dbt Hub. Since Hub packages use...
Read more >
Choosing a dbt version | dbt Developer Hub
In dbt Cloud, both jobs and environments are configured to use a specific version of dbt Core. The version can be upgraded at...
Read more >
facebook_ads_creative_history - dbt - Package hub
The main focus of the package is to transform the core ad object tables into models with schemas that match the old Fivetran...
Read more >
How to Upgrade dbt Versions (Mostly) Without Fear
ℹ️ As hinted at above, most packages have an upper bound of dbt version compatibility as well as a lower bound. Treating future...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found