Git analytics specifically for Power BI projects
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
- get_git_commits.sh
- get_git_files.sh
Run these in that order. However, there is a small detail to keep in mind regarding where you run them.
Since your scripts are currently sitting in ~/dev/gitpowerdash, running them there will only give you the history of your dashboard project itself. If you want to analyze a different, larger project (the one the C-Suite actually cares about), you should copy these scripts into that project's root folder first.
The Execution Steps
- Make them executable: Before running, you need to give your system permission to treat them as programs:
chmod +x get_git_commits.sh get_git_files.sh
- Run the Commits Script: This creates the "Header" or "Fact" table.
./get_git_commits.sh
- Run the File Changes Script: This creates the "Line Item" or "Granular" table. This one might take a few seconds longer because it’s doing a deep dive into every file change.
./get_git_files.sh
Understanding the Data Connection
Once those run, you will see commits_fact.csv and file_changes_fact.csv in your folder.
In Power BI, you are going to link them using the SHA column. In Git terms, the SHA is the "Unique Transaction ID."
Pro-Tip for your README
Since you are documenting this, you might want to update your README.md to explain the Relationship Model so anyone else using your template knows how to hook up the data.
Would you like me to show you the specific Power Query (M) "Join" logic to merge these, or are you comfortable handling the relationship in the Power BI Model View?
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gitpowerdash-0.1.0.tar.gz.
File metadata
- Download URL: gitpowerdash-0.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cda565b050fb011dfe856b82a5c3bec370582bfbfe21027bcdb04003853ba845
|
|
| MD5 |
0fbaede5b0a12a901bac500155774681
|
|
| BLAKE2b-256 |
c13b28f5d523996d287a90325900f45514d20f50d48f98ae494278dc781bda12
|
Provenance
The following attestation bundles were made for gitpowerdash-0.1.0.tar.gz:
Publisher:
publish.yml on City-of-Memphis-Wastewater/gitpowerdash
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gitpowerdash-0.1.0.tar.gz -
Subject digest:
cda565b050fb011dfe856b82a5c3bec370582bfbfe21027bcdb04003853ba845 - Sigstore transparency entry: 785911314
- Sigstore integration time:
-
Permalink:
City-of-Memphis-Wastewater/gitpowerdash@0a22ff2c5c5fd5c65aa7cc11e270802c0726bc18 -
Branch / Tag:
refs/heads/dev - Owner: https://github.com/City-of-Memphis-Wastewater
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0a22ff2c5c5fd5c65aa7cc11e270802c0726bc18 -
Trigger Event:
push
-
Statement type:
File details
Details for the file gitpowerdash-0.1.0-py3-none-any.whl.
File metadata
- Download URL: gitpowerdash-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b090b078dc386a724dc4c88ad82f7b8ae8945582866b460a396f9208b0e0f3bd
|
|
| MD5 |
111731730692f135e2e22d0143b98be7
|
|
| BLAKE2b-256 |
03bb096c3f60c13f1cc98bb2208fd5aa8e0929cc61432ec10a2aee0d5fc3f3cd
|
Provenance
The following attestation bundles were made for gitpowerdash-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on City-of-Memphis-Wastewater/gitpowerdash
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gitpowerdash-0.1.0-py3-none-any.whl -
Subject digest:
b090b078dc386a724dc4c88ad82f7b8ae8945582866b460a396f9208b0e0f3bd - Sigstore transparency entry: 785911323
- Sigstore integration time:
-
Permalink:
City-of-Memphis-Wastewater/gitpowerdash@0a22ff2c5c5fd5c65aa7cc11e270802c0726bc18 -
Branch / Tag:
refs/heads/dev - Owner: https://github.com/City-of-Memphis-Wastewater
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0a22ff2c5c5fd5c65aa7cc11e270802c0726bc18 -
Trigger Event:
push
-
Statement type: