Skip to content

thomasvn/gwir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Week in Review

Spotify Wrapped meets Github Activity. A CLI tool that generates an overview of a Github organization's activity over the last X days. Along with links to its most active Issues and PRs.

$ gwir -org opencost

## Processing ...

opencost/opencost-helm-chart TotalEvents=1
opencost/opencost-website TotalEvents=1
opencost/opencost-infra TotalEvents=94
opencost/opencost-ui TotalEvents=5
opencost/opencost TotalEvents=232

## Ordered Results

### opencost/opencost TotalEvents=232

Event Types:
- IssueCommentEvent: 47
- PushEvent: 44
- PullRequestEvent: 34
- CreateEvent: 28
- PullRequestReviewEvent: 20
- WatchEvent: 19
- DeleteEvent: 18
- PullRequestReviewCommentEvent: 13
- ForkEvent: 7
- IssuesEvent: 2

Top PRs/Issues:
- [cleanup usage for less repeated code, and ena...](https://github.com/opencost/opencost/pull/3112): 24
- [continued integration test runner debugging     ](https://github.com/opencost/opencost/pull/3126): 10
- [update permissions to properly run steps        ](https://github.com/opencost/opencost/pull/3132): 8

...

Usage

$ gwir -h
Usage of gwir:
  -days int
        How many days back to analyze (default 7)
  -org string
        GitHub organization to analyze
  -token string
        GitHub Personal Access Token (can also be set via GITHUB_PERSONAL_ACCESS_TOKEN env var)
  -top int
        How many top PRs/Issues to show (default 5)
  -usr string
        GitHub user to analyze

Install

ARCH=macos-arm64  # macos-amd64, linux-amd64, windows-amd64

curl -L -O https://github.com/thomasvn/gwir/releases/latest/download/gwir.$ARCH.tar.gz
tar -xvf gwir.$ARCH.tar.gz
sudo mv gwir /usr/local/bin

Optionally, set up your Github Personal Access Token (PAT) following this doc. The PAT will need the following permission: repo (Full control of private repositories).

About

Github Week in Review

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •