Skip to content

donofden/git-stats

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

HitCount

git-stats

Get Git Stats using GIT API - CLI Tool

Following need to be updated in config-sample.ini:

  • GIT_OAUTH_TOKEN
  • ORGANIZATION_NAME

After updating config-sample.ini rename the file to config.ini.

Now you can run the git.py to see the following:

  • Total PR created for a REPO
  • No of PR created by the Team members
  • No of PR comments received by the Team members

Required Library https://github.com/PyGithub/PyGithub

Install

$ pip install PyGithub

Example Output:

---------------------------------------------------------
Organization :  ORGANIZATION_NAME
---------------------------------------------------------
 
#########################################################
 
Repository   :  ORGANIZATION_NAME/REPO
 
TOTAL Pull Request By User:
 
 User:  DonOfDen : 26
 User:  TomJPHP : 12
 
Commented PR:
 User:  DonOfDen : 2
 User:  TomJPHP : 2
 
#########################################################

About

Get Git Stats using GIT API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages