Skip to main content

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

  1. get_git_commits.sh
  2. 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

  1. 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
  1. Run the Commits Script: This creates the "Header" or "Fact" table.
./get_git_commits.sh
  1. 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

gitpowerdash-0.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gitpowerdash-0.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

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

Hashes for gitpowerdash-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cda565b050fb011dfe856b82a5c3bec370582bfbfe21027bcdb04003853ba845
MD5 0fbaede5b0a12a901bac500155774681
BLAKE2b-256 c13b28f5d523996d287a90325900f45514d20f50d48f98ae494278dc781bda12

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitpowerdash-0.1.0.tar.gz:

Publisher: publish.yml on City-of-Memphis-Wastewater/gitpowerdash

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for gitpowerdash-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b090b078dc386a724dc4c88ad82f7b8ae8945582866b460a396f9208b0e0f3bd
MD5 111731730692f135e2e22d0143b98be7
BLAKE2b-256 03bb096c3f60c13f1cc98bb2208fd5aa8e0929cc61432ec10a2aee0d5fc3f3cd

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page