Gitstats Eclipse

While working in Eclipse with .git is noticed Eclipse makes a nice folder for gitstats in the project folder.
I attemted to use these files to generate gitstats output, but i cant seem to get it done.
Can someone explain to me how to use these files to get gitstats output.

The project folder

  • Utilizing Git for multiple development places
  • How to checkout a file into previous revision in egit
  • The Git Repositories tab from eclipse it's empty
  • “java could not find the main class” and “could not read maven project”
  • Version controlling Android/Eclipse project with all it's 3rd party libraries
  • Android project jar file missing after pushing to github
  • The gitstats folder

    I do have Python, Gnuplot and git installed. All the latest version.

    I do understand that i somehow have to run python on the gitstats file. But after hours of trying is still cant manage to find out how. Probably I am doing something simpel wrong cause i cant find much information on how to use GitStats, any help much appreciated.

  • Git - unchange line endings in already committed file
  • Can you use libgit2 to clone a git repository?
  • How to delete a stash created with git stash create?
  • Git new branch then roll back to previous version
  • How to do 'git status' on untracked directory?
  • git show-branch and trying to fix / figure out what is going on
  • 2 Solutions collect form web for “Gitstats Eclipse”

    You should not put the gitstats repository under your project directory (I’m assuming the upper screenshot is of your project directory). You can clone it to a separate directory, and then pass your personal project directory as a parameter, as the doc/INSTALL instructs:

    ./gitstats /mnt/src/git/project ~/public_html/project
    

    That is a command that needs to be run in a terminal/shell. Of course, you could add an External Tools Configuration in eclipse for it, but not sure if it’s worth the trouble, unless you want to run it very often.

    After some hours i finnaly got it working, since i noticed some people had the same issue here the solution.

    Eclipse wil just clone your git repository as you would with git it self.

    When using gitstats make sure you install python27 and not python33.
    Set up your PATH variables to python27 files.
    Install GNUplot and also add the PATH variable.

    If you use windows insted of linux, in order to easely use gitstats run it in git bash. Since gitbash is Shell script and does suppor WC. CMD does not support WC unless you got Unix installed.

    If you still have issues running gitbash, recheck PATH varaibles since that is 9 out of 10 times the issue.

    Enjoy!

    Git Baby is a git and github fan, let's start git clone.