Git Product home page Git Product logo

reporter's Introduction

Generates periodical reports for repositories or organization or aggregating statistics for current situation in these repos.

Install

Download binary for your platform from GitHub releases: https://github.com/g4s8/reporter/releases/latest

Use shell script to get latest release binary (only Linux and MacOSx):

curl -L https://raw.githubusercontent.com/g4s8/reporter/master/scripts/download.sh | sh

On MacOS you can install it using brew tool:

brew tap g4s8/.tap https://github.com/g4s8/.tap
brew install reporter

Build from sources:

git clone https://github.com/g4s8/reporter.git
cd reporter
go build
# target binary will be placed at $PWD/reporter

Usage

Create API token without permissions (to increase GitHub API quota limits). To use this token with reporter:

  1. Put it to ~/.config/reporter/github_token.txt
  2. Set it to GITHUB_TOKEN environment variable
  3. Use --token CLI option

The syntax is: reporter <action> <source> where actions is either report or stats, and source is either organization name (for full report over all repositories) or full repository coordinates (user/repo).

Daily and weekly reports

Daily and weekly report shows all merged pull requests for specified period.

To generate daily report run:

./reporter report --period=daily artipie

For weekly report:

./reporter report --period=weekly artipie

Performance metrics

For collecting performance metrics for period use:

./reporter contrib --period=weekly artipie

Options

To filter pull requests by user use --author=<username>, where <username> is either full GitHub username (ignore case) or me keyowrd for current user.

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.