This repository contains the script python that can help you in the analysis of your repository git.
To use it, just set the variable
folder_name = "/path/to/your/git_repo"
at line 61.
The figure plot is saved as a .svg
(so, open it with Inkscape for example).
An example of the output figure can be the following figure:
As you can see, it was used on a git repo where the master brach has 84 commits.
Fell free to re-use the script and please cite the current work.
The idea of writing down this script come from this StackOverflow question.
It was made just for fun. If you want to contribute, enhancing the little project (for instance some idea can be [1] managing and analyzing multiple branch and not only master
, or [2] adding a minimal GUI), it will be a pleasure to test your improvements.
Ragards,
Leonardo Suriano
All raw data and my own plots are available under a Creative Commons Attribution 4.0 International Public License, see file LICENSE.txt for details.
Snippet:
This data and plotting script is provided under the permissive 'Creative Commons Attribution 4.0 International Public License'
In short, you are free to:
Share - copy and redistribute the material in any medium or format
Adapt - remix, transform, and build upon the material
for any purpose, even commercially.
The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
Attribution - You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
No additional restrictions - You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
See also:
https://creativecommons.org/licenses/by/4.0/
https://creativecommons.org/licenses/by/4.0/legalcode