• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

dmitryn/GitStats: Statistics generator for git repositories. Fork of http://gits ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

dmitryn/GitStats

开源软件地址:

https://github.com/dmitryn/GitStats

开源编程语言:

Python 75.4%

开源软件介绍:

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.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
tmallfe/tmallfe.github.io: 天猫前端发布时间:2022-06-11
下一篇:
drphilmarshall/GettingStarted: ...with git and GitHub发布时间:2022-06-11
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap