Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

Commit 00e780b

Browse files
Merge pull request #16 from fivetran/feature/dbt-compatibility
dbt 20 compatibility updates
2 parents 89a49dd + 938fc15 commit 00e780b

5 files changed

Lines changed: 15 additions & 6 deletions

File tree

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
[![Apache License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) ![dbt logo and version](https://img.shields.io/static/v1?logo=dbt&label=dbt-version&message=0.20.x&color=orange)
12
# GitHub (Source)
23

34
This package models GitHub data from [Fivetran's connector](https://fivetran.com/docs/applications/GitHub). It uses data in the format described by [this ERD](https://docs.google.com/presentation/d/1lx6ez7-x-s-n2JCnCi3SjG4XMmx9ysNUvaNCaWc3I_I/edit).
@@ -21,6 +22,14 @@ This package contains staging models, designed to work simultaneously with our [
2122
## Installation Instructions
2223
Check [dbt Hub](https://hub.getdbt.com/) for the latest installation instructions, or [read the dbt docs](https://docs.getdbt.com/docs/package-management) for more information on installing packages.
2324

25+
Include in your `packages.yml`
26+
27+
```yaml
28+
packages:
29+
- package: fivetran/github_source
30+
version: [">=0.3.0", "<0.4.0"]
31+
```
32+
2433
## Configuration
2534
By default, this package will run using your target database and the `github` schema. If this is not where your GitHub data is (perhaps your gitHub schema is `Github_fivetran`), add the following configuration to your `dbt_project.yml` file:
2635

dbt_project.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
config-version: 2
22

33
name: 'github_source'
4-
version: '0.2.3'
4+
version: '0.3.0'
55

6-
require-dbt-version: [">=0.18.0", "<0.20.0"]
6+
require-dbt-version: ">=0.20.0"
77

88
models:
99
github_source:

integration_tests/dbt_project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: 'github_source_integration_tests'
2-
version: '0.2.3'
2+
version: '0.3.0'
33
config-version: 2
44

55
profile: 'integration_tests'

integration_tests/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
dbt==0.19.0
1+
dbt~=0.20.0

packages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
packages:
2-
- package: fivetran/fivetran_utils
3-
version: [">=0.1.0", "<0.2.0"]
2+
- package: fivetran/fivetran_utils
3+
version: [">=0.2.0", "<0.3.0"]

0 commit comments

Comments
 (0)