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

Commit 11b1b6f

Browse files
Merge pull request #18 from fivetran/MagicBot_9f6ec62333
[MagicBot] Bumping package version
2 parents 4a67ee6 + 811d897 commit 11b1b6f

20 files changed

Lines changed: 44 additions & 29 deletions

.circleci/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- run:
1616
name: "Setup dbt"
1717
command: |
18+
sudo apt install libsasl2-dev
1819
python3 -m venv venv
1920
. venv/bin/activate
2021
pip install --upgrade pip setuptools
@@ -60,4 +61,4 @@ jobs:
6061
- save_cache:
6162
key: deps2-{{ .Branch }}
6263
paths:
63-
- "venv"
64+
- "venv"

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
target/
33
dbt_modules/
44
logs/
5-
.DS_Store
5+
.DS_Store
6+
dbt_packages/

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
# dbt_github_source (next release)
1+
# dbt_github_source v0.4.0
2+
🎉 dbt v1.0.0 Compatibility 🎉
3+
## 🚨 Breaking Changes 🚨
4+
- Adjusts the `require-dbt-version` to now be within the range [">=1.0.0", "<2.0.0"]. Additionally, the package has been updated for dbt v1.0.0 compatibility. If you are using a dbt version <1.0.0, you will need to upgrade in order to leverage the latest version of the package.
5+
- For help upgrading your package, I recommend reviewing this GitHub repo's Release Notes on what changes have been implemented since your last upgrade.
6+
- For help upgrading your dbt project to dbt v1.0.0, I recommend reviewing dbt-labs [upgrading to 1.0.0 docs](https://docs.getdbt.com/docs/guides/migration-guide/upgrading-to-1-0-0) for more details on what changes must be made.
7+
- Upgrades the package dependency to refer to the latest `dbt_fivetran_utils`. The latest `dbt_fivetran_utils` package also has a dependency on `dbt_utils` [">=0.8.0", "<0.9.0"].
8+
- Please note, if you are installing a version of `dbt_utils` in your `packages.yml` that is not in the range above then you will encounter a package dependency error.
29

310
# dbt_github_source v0.1.0 -> v0.3.0
4-
Refer to the relevant release notes on the Github repository for specific details for the previous releases. Thank you!
11+
Refer to the relevant release notes on the Github repository for specific details for the previous releases. Thank you!

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +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)
1+
[![Apache License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
22
# GitHub (Source)
33

44
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).
@@ -27,7 +27,7 @@ Include in your `packages.yml`
2727
```yaml
2828
packages:
2929
- package: fivetran/github_source
30-
version: [">=0.3.0", "<0.4.0"]
30+
version: [">=0.4.0", "<0.5.0"]
3131
```
3232
3333
## Configuration

dbt_project.yml

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

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

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

88
models:
9-
github_source:
10-
materialized: table
11-
tmp:
12-
materialized: view
9+
github_source:
10+
materialized: table
11+
tmp:
12+
materialized: view
1313

1414
vars:
15-
github_source:
16-
issue_assignee: "{{ source('github', 'issue_assignee') }}"
17-
issue_closed_history: "{{ source('github', 'issue_closed_history') }}"
18-
issue_comment: "{{ source('github', 'issue_comment') }}"
19-
issue_label: "{{ source('github', 'issue_label') }}"
20-
issue_merged: "{{ source('github', 'issue_merged') }}"
21-
issue: "{{ source('github', 'issue') }}"
22-
pull_request_review: "{{ source('github', 'pull_request_review') }}"
23-
pull_request: "{{ source('github', 'pull_request') }}"
24-
repo_team: "{{ source('github', 'repo_team') }}"
25-
repository: "{{ source('github', 'repository') }}"
26-
requested_reviewer_history: "{{ source('github', 'requested_reviewer_history') }}"
27-
team: "{{ source('github', 'team') }}"
28-
user: "{{ source('github', 'user') }}"
15+
github_source:
16+
issue_assignee: "{{ source('github', 'issue_assignee') }}"
17+
issue_closed_history: "{{ source('github', 'issue_closed_history') }}"
18+
issue_comment: "{{ source('github', 'issue_comment') }}"
19+
issue_label: "{{ source('github', 'issue_label') }}"
20+
issue_merged: "{{ source('github', 'issue_merged') }}"
21+
issue: "{{ source('github', 'issue') }}"
22+
pull_request_review: "{{ source('github', 'pull_request_review') }}"
23+
pull_request: "{{ source('github', 'pull_request') }}"
24+
repo_team: "{{ source('github', 'repo_team') }}"
25+
repository: "{{ source('github', 'repository') }}"
26+
requested_reviewer_history: "{{ source('github', 'requested_reviewer_history') }}"
27+
team: "{{ source('github', 'team') }}"
28+
user: "{{ source('github', 'user') }}"

integration_tests/requirements.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
dbt~=0.20.0
1+
dbt-snowflake==1.0.0
2+
dbt-bigquery==1.0.0
3+
dbt-redshift==1.0.0
4+
dbt-postgres==1.0.0
5+
dbt-spark==1.0.0
6+
dbt-spark[PyHive]==1.0.0

integration_tests/data/github_issue_assignee_data.csv renamed to integration_tests/seeds/github_issue_assignee_data.csv

File renamed without changes.

integration_tests/data/github_issue_closed_history_data.csv renamed to integration_tests/seeds/github_issue_closed_history_data.csv

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)