ross-bryan / repo-stats

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

repo-stats

  • This project looks at a repository, and given a timeframe of analysis, will review the total amount of activity on pull requests within that timeframe.

Setup

  • Create a folder called secrets
mkdir secrets
  • Put your GitHub PAT token in the secrets/env file
cat > secrets/env <<'EOF'
GH_PAT=<your token here>
EOF
  • GH_PAT is your personal access token from GitHub. You can use this anonymously, but stricter rate limits apply.

    • Recommended permissions for this PAT would be repo_read.
  • Source your ./env file

. ./env

Build

make build

Run

make run

Parameters

  1. owner is the organization or user for the repository.

  2. repository is the repository we will be examininig.

  3. days the number of days to look back at.

Example

  • Make run
make run
  • Go Run
go run . azure aro-rp 7

About

License:Apache License 2.0


Languages

Language:Go 96.3%Language:Makefile 3.7%