Skip to content

OSPG/epigraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Epigraph

Download all issues from a GitHub repo and plot opened/closed activity over time, and measures the accumulated backlog.

Project layout

get_issues.sh
fetches all issues via gh api and writes issues.json
plot_issues.py
reads the JSON and plots weekly/rolling activity + cumulative backlog
README.org
this file

Prereqs

# (optional) venv
python3 -m venv .venv && . .venv/bin/activate
pip install --upgrade pip pandas matplotlib

Usage

  1. Log in to GitHub (once):
gh auth login
  1. Update your local database of issues:
chmod +x get_issues.sh
./get_issues.sh     # creates issues.json
  1. Plot:
chmod +x ./plot_issues.py
./plot_issues.py

You can also edit some variables at the top of ./plot_issues.py to modify the output, including RESAMPLE and ROLLWIN.

Example output

./plot.svg

About

Script to visualize PR trends for Gentoo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •