Giter Club home page Giter Club logo

gitlab-code-stat's Introduction

简介

该项目用于统计gitlab平台上用户的代码提交行数。可以指定统计的时间范围、分支、作者名称、作者邮箱等。

统计的逻辑是通过gitlab提供的接口遍历目标仓库指定分支指定时间范围内的所有commit,单次commit的代码行数等于增加的行数+修改的行数+删除的行数。

如何使用

# 修改为自己的相关配置即可。
# token一定要拥有要统计仓库的访问权限;
gitlab:
  host: http://git.xxx.com
  token: xxx

调用 gitlab/codeStatistics 接口即可,接口定义查看 GitStatisticalController 类。

gitlab-code-stat's People

Contributors

zhaodongxx avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

gitlab-code-stat's Issues

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.