This is a demo project for PipeRider. It shows how you can use dbt+duckdb+PipeRider to transform and query data efficiently. With these tools, you can generate a report that gives you insights into your git projects.
Clone this repo
git clone git@github.com:InfuseAI/git-repo-analytics.gitPrepare git repositories repo for analysis by editing the
repos.csvThe format of the
repos.csvfile is as follows:name,repo dbt-core,dbt-labs/dbt-core duckdb,duckdb/duckdb PipeRider,InfuseAI/piperiderInstall python package
python -m venv ./venv source ./venv/bin/activate pip install -r requirements.txtGenerate the db file from the repo.
make fetch make loadThe file
git_repo.duckdbis generated under./dataRun dbt
make transformGenerate report
make reportRun piperider
make piperider
You can either run step-by-step from step4 to step7 or simply do one command
make
