Skip to content

davbeek/gitinspectorgui

Repository files navigation

GitInspectorGUI

Features

The Python gitinspectorgui tool facilitates detailed quantitative analysis of the contribution of each author to selected repositories.

  • Html and Excel backends provide detailed Git statistics:

    • per author
    • per author subdivided by file
    • per file subdivided by author
    • per file

    Output also provides detailed blame information per file. Output lines are colored by author, allowing for easy visual inspection and tracking of author contributions.

  • The GUI and CLI interface have the same options and functionality.

    Executable apps with a GUI interface are available for macOS and Windows. Additionally, a Python package can be installed from PyPI. This solution works on all platforms that support Python, including Linux.

Download and installation: Windows

Install Git for Windows

The GitinspectorGUI app is only about 18MB in size, but it requires Git for Windows to be available on your system. Git for Windows is around 375MB in size and can be downloaded from git-scm.com.

Git for Windows presents numerous questions during installation. For users unfamiliar with Git, these questions can seem overwhelming. However, leaving all options at their default settings will ensure proper functionality. A drawback of using the default settings is that it may add extra context menu items in File Explorer.

Download and install the GitinspectorGUI executable

Download the stand-alone executable windows-gitinspectorgui-setup.exe from the releases page. Execute it, and follow the on-screen installation instructions. The GitinspectorGUI executable will be available under the program group GitinspectorGUI.

Download and installation: macOS

Download and install Git

There are multiple ways to install Git for macOS, but they all require the command line. The easiest way to do this is if you use Miniconda or Anaconda, Homebrew or MacPorts as package manager:

Via conda: conda install git

Via Homebrew: brew install git

Via MacPorts: sudo port install git

If you do not use a package manager, Git can be installed as part of the XCode Command Line Tools via:

xcode-select --install

This does not install the complete XCode IDE and takes about 1GB.

Install the GitinspectorGUI app

Download the appropriate dmg file for your hardware. There are two versions for macOS:

  • macOS Intel: This version is for the old Intel MacBooks.

  • macOS Apple-Silicon: This version is for the newer MacBooks with Apple silicon. Currently the M1, M2, M3 and M4 versions.

Open the downloaded file by double clicking. This opens a window with the GitinspectorGUI app. Drag the icon onto the Applications folder or to a temporary location, from where it can be moved to the Applications folder. You can then open the GitinspectorGUI app from the Applications folder.

The first time you open the GitinspectorGUI app, you will get an error message saying either "GitinspectorGUI" can't be opened because Apple cannot check it for malicious software or "GitinspectorGUI" can't be opened because it was not downloaded from the App store. Dismiss the popup by clicking OK. Go to Apple menu > System Preferences, click Security & Privacy, then click tab General. Under Allow apps downloaded from: you should see in light grey two tick boxes: one for App Store and one for App Store and identified developers. Below that, you should see an additional line: "GitinspectorGUI.app" was blocked from use because it is not from an identified developer, and after that, a button Open Anyway. Clicking that button will allow the GitinspectorGUI app to be executed.

CLI

For the CLI version, you need to have a working Python installation so that you can install GitinspectorGUI from PyPI via:

pip install gitinspectorgui

You can then display the gitinspectorgui help info by executing:

python -m gigui -h

This displays the help info in the CLI. Like the GUI app, the CLI version also requires Git to be installed.

Note that the program name is gitinspectorgui in PyPI, but the name of the actually installed Python package is the abbreviated form gigui.

Installation: Linux

First install Git via your Linux distribution's package manager.

There is no executable app binary available for Linux. To only way to run gitinspectorgui on Linux is by installing it from PyPI. This can be done via:

pip install gitinspectorgui

You can then display the gitinspectorgui help info by executing:

python -m gigui -h

Note that the program name is gitinspectorgui in PyPI, but the name of the actually installed Python package is the abbreviated form gigui.

Documentation

Extensive online documentation can be found at the GitinspectorGUI Read the Docs website.

Contributors

  • Bert van Beek
  • Jingjing Wang
  • Albert Hofkamp