Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
c3c2c1b
[ci skip] Updating package dependendcies
fivetran-joemarkiewicz Dec 13, 2021
508b54c
[ci skip] Updating dbt version in requirements.txt
fivetran-joemarkiewicz Dec 13, 2021
2449365
[ci skip] Adding dbt_packages to .gitignore
fivetran-joemarkiewicz Dec 13, 2021
39c70f0
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
69d0843
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
a63fd86
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
ce4e9b4
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
8f78e66
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
3f7281f
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
fdbfd54
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
5bfb202
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
ee1550e
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
e6aac2b
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
8dd3285
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
6eaec9f
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
4cbed8f
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
9be095d
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
c359697
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
3d78601
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
a98028e
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
310521b
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
f8aeb48
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
df29ab7
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
4f94bd2
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
1a1a649
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
215b9f6
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
895a05c
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
7c6e643
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
36e19e9
[ci skip] Moving folder
fivetran-joemarkiewicz Dec 13, 2021
4733ca3
Updating dbt_project.yml
fivetran-joemarkiewicz Dec 13, 2021
f47ab8f
spark config addition
fivetran-joemarkiewicz Dec 13, 2021
acdadcb
Update packages.yml
fivetran-joemarkiewicz Dec 13, 2021
1662419
Update README.md
fivetran-joemarkiewicz Dec 15, 2021
ec96010
Update packages.yml
fivetran-joemarkiewicz Dec 15, 2021
90a07e8
Update packages.yml
fivetran-joemarkiewicz Dec 15, 2021
c52789a
Update CHANGELOG.md
fivetran-joemarkiewicz Dec 16, 2021
811d897
Update README.md
fivetran-sheringuyen Dec 20, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
- run:
name: "Setup dbt"
command: |
sudo apt install libsasl2-dev
python3 -m venv venv
. venv/bin/activate
pip install --upgrade pip setuptools
Expand Down Expand Up @@ -60,4 +61,4 @@ jobs:
- save_cache:
key: deps2-{{ .Branch }}
paths:
- "venv"
- "venv"
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
target/
dbt_modules/
logs/
.DS_Store
.DS_Store
dbt_packages/
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# dbt_github_source (next release)
# dbt_github_source v0.4.0
🎉 dbt v1.0.0 Compatibility 🎉
## 🚨 Breaking Changes 🚨
- 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.
- For help upgrading your package, I recommend reviewing this GitHub repo's Release Notes on what changes have been implemented since your last upgrade.
- 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.
- 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"].
- 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.

# dbt_github_source v0.1.0 -> v0.3.0
Refer to the relevant release notes on the Github repository for specific details for the previous releases. Thank you!
Refer to the relevant release notes on the Github repository for specific details for the previous releases. Thank you!
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![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)
[![Apache License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
# GitHub (Source)

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).
Expand Down Expand Up @@ -27,7 +27,7 @@ Include in your `packages.yml`
```yaml
packages:
- package: fivetran/github_source
version: [">=0.3.0", "<0.4.0"]
version: [">=0.4.0", "<0.5.0"]
```

## Configuration
Expand Down
40 changes: 20 additions & 20 deletions dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
config-version: 2

name: 'github_source'
version: '0.3.0'
version: '0.4.0'

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

models:
github_source:
materialized: table
tmp:
materialized: view
github_source:
materialized: table
tmp:
materialized: view

vars:
github_source:
issue_assignee: "{{ source('github', 'issue_assignee') }}"
issue_closed_history: "{{ source('github', 'issue_closed_history') }}"
issue_comment: "{{ source('github', 'issue_comment') }}"
issue_label: "{{ source('github', 'issue_label') }}"
issue_merged: "{{ source('github', 'issue_merged') }}"
issue: "{{ source('github', 'issue') }}"
pull_request_review: "{{ source('github', 'pull_request_review') }}"
pull_request: "{{ source('github', 'pull_request') }}"
repo_team: "{{ source('github', 'repo_team') }}"
repository: "{{ source('github', 'repository') }}"
requested_reviewer_history: "{{ source('github', 'requested_reviewer_history') }}"
team: "{{ source('github', 'team') }}"
user: "{{ source('github', 'user') }}"
github_source:
issue_assignee: "{{ source('github', 'issue_assignee') }}"
issue_closed_history: "{{ source('github', 'issue_closed_history') }}"
issue_comment: "{{ source('github', 'issue_comment') }}"
issue_label: "{{ source('github', 'issue_label') }}"
issue_merged: "{{ source('github', 'issue_merged') }}"
issue: "{{ source('github', 'issue') }}"
pull_request_review: "{{ source('github', 'pull_request_review') }}"
pull_request: "{{ source('github', 'pull_request') }}"
repo_team: "{{ source('github', 'repo_team') }}"
repository: "{{ source('github', 'repository') }}"
requested_reviewer_history: "{{ source('github', 'requested_reviewer_history') }}"
team: "{{ source('github', 'team') }}"
user: "{{ source('github', 'user') }}"
7 changes: 6 additions & 1 deletion integration_tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
dbt~=0.20.0
dbt-snowflake==1.0.0
dbt-bigquery==1.0.0
dbt-redshift==1.0.0
dbt-postgres==1.0.0
dbt-spark==1.0.0
dbt-spark[PyHive]==1.0.0
5 changes: 3 additions & 2 deletions packages.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
packages:
- package: fivetran/fivetran_utils
version: [">=0.2.0", "<0.3.0"]
- package: fivetran/fivetran_utils
version: [">=0.3.0", "<0.4.0"]