Coder Social home page Coder Social logo

stroboscope / gitstats Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dmitryn/gitstats

0.0 2.0 0.0 331 KB

Statistics generator for git repositories. Fork of http://gitstats.sourceforge.net/

Makefile 1.93% Python 75.41% CSS 3.27% JavaScript 19.38%

gitstats's Introduction

About

gitstats is a statistics generator for git repositories. It is mostly intended for developers, as a way to check some development statistics for a project.

Currently it produces only HTML output with tables and graphs.

Features

Here is a list of some statistics generated currently:

  • General statistics: total files, lines, commits, authors.
  • Activity: commits by hour of day, day of week, hour of week, month of year, year and month, and year.
  • Authors: list of authors (name, commits (%), first commit date, last commit date, age), author of month, author of year.
  • Files: file count by date, extensions
  • Lines: Lines of Code by date

Demo

http://gitstats.sourceforge.net/examples/gitstats/

Requirements

  • Python (>= 2.4.4) (python3 is not supported)
  • Git (>= 1.5.2.4)
  • Gnuplot (>= 4.0.0)
  • a git repository (bare clone will work as well)

The above versions are not absolute requirements; older versions may work also.

Install

gitstats does not currently need to be installed; it's used right from the directory (it also assumes some files like the stylesheet are in .)

Suppose you have a git project at /mnt/src/git/project and you want to save the statistics to ~/public_html/project

You would run:

$ ./git-stats /mnt/src/git/project ~/public_html/project

or with git-stats executable in your PATH:

$ git stats /mnt/src/git/project ~/public_html/project

(go grab a cup of coffee if it's a large project :)

$ open ~/public_html/project/index.html

Install for windows 7

  1. Add variables to PATH

    • Add python to PATH following link(working with answer from Delicia Brummitt)
    • Add git to PATH following link
  2. Unzip GitStats in your favorite git working repo

  3. Open a terminal windows+r then write cmd

  4. Go in the repo where you unzip GitStats with cd

  5. Use command

    $ python git-stats input-file output-file

Recommended

  • Lots of memory and fast disk for large projects

Contributions

Patches should be sent under "GPLv2 or older" license - this will allow upgrading to newer GPL versions if they are sensible.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.